mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
Bug fix in document (#2370)
A bug is in the document, where the wirte section task method is not invoked before passing on to context. This results in an error as expectaion in utlitities is a dict but a function gets passed. this is discussed clearly here: https://community.crewai.com/t/attribute-error-str-object-has-no-attribute-get/1079/16
This commit is contained in:
committed by
GitHub
parent
d42e58e199
commit
939afd5f82
@@ -232,7 +232,7 @@ class ContentCrew():
|
|||||||
def review_section_task(self) -> Task:
|
def review_section_task(self) -> Task:
|
||||||
return Task(
|
return Task(
|
||||||
config=self.tasks_config['review_section_task'],
|
config=self.tasks_config['review_section_task'],
|
||||||
context=[self.write_section_task]
|
context=[self.write_section_task()]
|
||||||
)
|
)
|
||||||
|
|
||||||
@crew
|
@crew
|
||||||
|
|||||||
Reference in New Issue
Block a user