Update run.py
Browse files
run.py
CHANGED
@@ -189,7 +189,6 @@ Format: Use markdown formatting and add links at the end of each section linking
|
|
189 |
|
190 |
Example snippet:
|
191 |
|
192 |
-
```
|
193 |
# NEWS_SUMMARY
|
194 |
|
195 |
---
|
@@ -204,7 +203,7 @@ Example snippet:
|
|
204 |
---
|
205 |
|
206 |
... followed by the other sections.
|
207 |
-
|
208 |
"""
|
209 |
|
210 |
messages=[
|
@@ -237,7 +236,7 @@ def postprocess_report(report, summaries, topic, num_articles, model):
|
|
237 |
report_thoughts.replace("<think>", "")
|
238 |
|
239 |
final_report = f"""\
|
240 |
-
{report_content.replace('NEWS_SUMMARY', report_summary)}
|
241 |
|
242 |
## Sources
|
243 |
|
|
|
189 |
|
190 |
Example snippet:
|
191 |
|
|
|
192 |
# NEWS_SUMMARY
|
193 |
|
194 |
---
|
|
|
203 |
---
|
204 |
|
205 |
... followed by the other sections.
|
206 |
+
|
207 |
"""
|
208 |
|
209 |
messages=[
|
|
|
236 |
report_thoughts.replace("<think>", "")
|
237 |
|
238 |
final_report = f"""\
|
239 |
+
{report_content.replace('# NEWS_SUMMARY', report_summary)}
|
240 |
|
241 |
## Sources
|
242 |
|