mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 09:31:21 +00:00
fix: a cleared Embedding Batch Size no longer breaks file processing (#33288)
This commit is contained in:
parent
839759cb17
commit
893dbc9bd8
1 changed files with 1 additions and 1 deletions
|
|
@ -524,7 +524,7 @@ async def update_embedding_config(request: Request, form_data: EmbeddingModelUpd
|
|||
updates = {
|
||||
'rag.embedding_engine': form_data.RAG_EMBEDDING_ENGINE,
|
||||
'rag.embedding_model': form_data.RAG_EMBEDDING_MODEL.strip(),
|
||||
'rag.embedding_batch_size': form_data.RAG_EMBEDDING_BATCH_SIZE,
|
||||
'rag.embedding_batch_size': form_data.RAG_EMBEDDING_BATCH_SIZE or 1,
|
||||
'rag.enable_async_embedding': form_data.ENABLE_ASYNC_EMBEDDING,
|
||||
'rag.embedding_concurrent_requests': form_data.RAG_EMBEDDING_CONCURRENT_REQUESTS,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue