Add a comma delimeter between outputted search queries

This commit is contained in:
sabaimran 2024-03-20 19:43:35 +05:30
parent d84188b221
commit 255b69dc58

View file

@ -358,7 +358,7 @@ async def websocket_endpoint(
try:
await send_status_update("**Operation**: Searching the web for relevant information...")
online_results = await search_online(defiltered_query, meta_log, location)
online_searches = "".join([f"{query}" for query in online_results.keys()])
online_searches = ", ".join([f"{query}" for query in online_results.keys()])
await send_status_update(f"**Online searches**: {online_searches}")
except ValueError as e:
await send_complete_llm_response(