Spaces:
Runtime error
Runtime error
updated news gathering tasks
Browse files
crew.py
CHANGED
|
@@ -465,6 +465,7 @@ get_news_task_patient = Task(
|
|
| 465 |
"Use the `gather_news_patient` tool to fetch {count} recent dementia/caregiving news articles "
|
| 466 |
"and return the raw JSON result. Do not generate or modify content."
|
| 467 |
"do not add any formatting to the result, such as backticks, only return the raw json dict"
|
|
|
|
| 468 |
),
|
| 469 |
expected_output="A JSON object with 'status' and 'articles': list of {title, summary, url}.",
|
| 470 |
agent=patient_news_agent
|
|
@@ -475,6 +476,7 @@ get_news_task_doctor = Task(
|
|
| 475 |
"Use the `gather_news_doctor` tool to fetch {count} recent dementia research articles "
|
| 476 |
"and return the raw JSON result. Do not generate or modify content."
|
| 477 |
"do not add any formatting to the result, such as backticks, only return the raw json dict"
|
|
|
|
| 478 |
),
|
| 479 |
expected_output="A JSON object with 'status' and 'articles': list of {title, summary, url}.",
|
| 480 |
agent=doctor_news_agent
|
|
|
|
| 465 |
"Use the `gather_news_patient` tool to fetch {count} recent dementia/caregiving news articles "
|
| 466 |
"and return the raw JSON result. Do not generate or modify content."
|
| 467 |
"do not add any formatting to the result, such as backticks, only return the raw json dict"
|
| 468 |
+
"do not modify the given urls or titles"
|
| 469 |
),
|
| 470 |
expected_output="A JSON object with 'status' and 'articles': list of {title, summary, url}.",
|
| 471 |
agent=patient_news_agent
|
|
|
|
| 476 |
"Use the `gather_news_doctor` tool to fetch {count} recent dementia research articles "
|
| 477 |
"and return the raw JSON result. Do not generate or modify content."
|
| 478 |
"do not add any formatting to the result, such as backticks, only return the raw json dict"
|
| 479 |
+
"do not modify the given urls or titles"
|
| 480 |
),
|
| 481 |
expected_output="A JSON object with 'status' and 'articles': list of {title, summary, url}.",
|
| 482 |
agent=doctor_news_agent
|