fix formatting bug
This commit is contained in:
parent
d7b19fbb14
commit
fee0192877
@ -209,7 +209,7 @@ async def run_web_agent_and_process_result(topic, folder):
|
||||
print(f"[{datetime.now()}] AI call returned in {time.time() - start} seconds.")
|
||||
news_data["summary"] = query_result
|
||||
|
||||
user_message = "do sentiment analysis on theese news and report overall sentiment for the day from 1 to 100. Here's the current news articles: {news_data}"
|
||||
user_message = f"do sentiment analysis on theese news and report overall sentiment for the day from 1 to 100. Here's the current news articles: {news_data}"
|
||||
start = time.time()
|
||||
query_result = await query_llm(user_message, "openhermes")
|
||||
print(f"[{datetime.now()}] AI call returned in {time.time() - start} seconds.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user