fix: add missing env var parameter pass through for enable async embedding (#19748)

* Add enable_async parameter to embedding function

* Add enable_async parameter to RAG configuration
This commit is contained in:
Classic298 authored and GitHub committed 2025-12-04 14:59:09 -05:00
1 parent d27e019af3
commit 1779090bdb
2 files changed
+2

No files matched your search

+1
View File
@@ -1401,6 +1401,7 @@ def save_docs_to_vector_db(
if request.app.state.config.RAG_EMBEDDING_ENGINE == "azure_openai"
else None
),
enable_async=request.app.state.config.ENABLE_ASYNC_EMBEDDING,
)
# Run async embedding in sync context