plutoa386 commited on
Commit
050b832
·
1 Parent(s): 920f9d7

potential fix to return news object type 2

Browse files
Files changed (1) hide show
  1. crew.py +1 -1
crew.py CHANGED
@@ -728,7 +728,7 @@ def run_crewai_news_patient(count: int = 5) -> dict:
728
  try:
729
  return result.json_dict
730
  except:
731
- return {"status": "error", "message": "Failed to parse crew output", "raw": str(result), "resulttype": type(result)}
732
 
733
  def run_crewai_news_doctor(count: int = 5) -> dict:
734
  crew = Crew(
 
728
  try:
729
  return result.json_dict
730
  except:
731
+ return {"status": "error", "message": "Failed to parse crew output", "raw": result, "raw.json_dict": result}
732
 
733
  def run_crewai_news_doctor(count: int = 5) -> dict:
734
  crew = Crew(