potential fix to the fix that didnt work 2
Browse files
crew.py
CHANGED
|
@@ -463,6 +463,7 @@ get_news_task_patient = Task(
|
|
| 463 |
description=(
|
| 464 |
"Use the `gather_news_patient` tool to fetch {count} recent dementia/caregiving news articles "
|
| 465 |
"and return the raw JSON result. Do not generate or modify content."
|
|
|
|
| 466 |
),
|
| 467 |
expected_output="A JSON object with 'status' and 'articles': list of {title, summary, url}.",
|
| 468 |
agent=patient_news_agent
|
|
@@ -471,7 +472,8 @@ get_news_task_patient = Task(
|
|
| 471 |
get_news_task_doctor = Task(
|
| 472 |
description=(
|
| 473 |
"Use the `gather_news_doctor` tool to fetch {count} recent dementia research articles "
|
| 474 |
-
"and return the raw JSON result."
|
|
|
|
| 475 |
),
|
| 476 |
expected_output="A JSON object with 'status' and 'articles': list of {title, summary, url}.",
|
| 477 |
agent=doctor_news_agent
|
|
|
|
| 463 |
description=(
|
| 464 |
"Use the `gather_news_patient` tool to fetch {count} recent dementia/caregiving news articles "
|
| 465 |
"and return the raw JSON result. Do not generate or modify content."
|
| 466 |
+
"do not add any formatting to the result, such as backticks, only return the raw json dict"
|
| 467 |
),
|
| 468 |
expected_output="A JSON object with 'status' and 'articles': list of {title, summary, url}.",
|
| 469 |
agent=patient_news_agent
|
|
|
|
| 472 |
get_news_task_doctor = Task(
|
| 473 |
description=(
|
| 474 |
"Use the `gather_news_doctor` tool to fetch {count} recent dementia research articles "
|
| 475 |
+
"and return the raw JSON result. Do not generate or modify content."
|
| 476 |
+
"do not add any formatting to the result, such as backticks, only return the raw json dict"
|
| 477 |
),
|
| 478 |
expected_output="A JSON object with 'status' and 'articles': list of {title, summary, url}.",
|
| 479 |
agent=doctor_news_agent
|