removing redundant asyncio.ensure_future() in retrieval.py

This commit is contained in:
Christopher Vaz 2025-09-21 19:56:19 -07:00
parent 76e70128f6
commit 2a9f13a451

View file

@ -2064,14 +2064,12 @@ async def process_web_search(
)
search_tasks = [
asyncio.ensure_future(
run_in_threadpool(
search_web,
request,
request.app.state.config.WEB_SEARCH_ENGINE,
query,
)
)
for query in form_data.queries
]