plutoa386 commited on
Commit
7950f1b
·
1 Parent(s): 2c2cd3a

potential fix to return news object type 4

Browse files
Files changed (1) hide show
  1. crew.py +1 -1
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=False
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