Spaces:
Runtime error
Runtime error
potential fix to return news object type 4
Browse files
crew.py
CHANGED
|
@@ -717,7 +717,7 @@ def run_crewai_news_patient(count: int = 5) -> dict:
|
|
| 717 |
agents=[patient_news_agent],
|
| 718 |
tasks=[get_news_task_patient],
|
| 719 |
verbose=True,
|
| 720 |
-
function_calling=
|
| 721 |
)
|
| 722 |
result = crew.kickoff(inputs={"count": count})
|
| 723 |
# CrewAI returns ToolOutput → .raw or str — parse if needed
|
|
|
|
| 717 |
agents=[patient_news_agent],
|
| 718 |
tasks=[get_news_task_patient],
|
| 719 |
verbose=True,
|
| 720 |
+
function_calling=True
|
| 721 |
)
|
| 722 |
result = crew.kickoff(inputs={"count": count})
|
| 723 |
# CrewAI returns ToolOutput → .raw or str — parse if needed
|