mirror of
https://github.com/open-webui/open-webui
synced 2025-02-23 21:53:37 +00:00
Remove duplicate loader.alazy_load line from merge
This commit is contained in:
parent
aa2b764d74
commit
b1bab2ece8
@ -1348,8 +1348,6 @@ async def process_web_search(
|
||||
requests_per_second=request.app.state.config.RAG_WEB_SEARCH_CONCURRENT_REQUESTS,
|
||||
trust_env=request.app.state.config.RAG_WEB_SEARCH_TRUST_ENV,
|
||||
)
|
||||
docs = [doc async for doc in loader.alazy_load()]
|
||||
# docs = loader.load()
|
||||
docs = await loader.aload()
|
||||
await run_in_threadpool(
|
||||
save_docs_to_vector_db,
|
||||
|
Loading…
Reference in New Issue
Block a user