Spaces:
Runtime error
Runtime error
potential fix to return news object type 2
Browse files
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":
|
| 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(
|