mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
Remove duplicate loader.alazy_load line from merge
This commit is contained in:
parent
aa2b764d74
commit
b1bab2ece8
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue