mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Fix: Fixed typo for embedding_function state
This commit is contained in:
parent
4a8ff0b790
commit
1784b84046
@ -359,7 +359,7 @@ async def update_embedding_config(
|
||||
rag_config["embedding_model"],
|
||||
)
|
||||
|
||||
request.app.state.EMBEDDING_FUNCTION["embedding_model"] = get_embedding_function(
|
||||
request.app.state.EMBEDDING_FUNCTION[rag_config["embedding_model"]] = get_embedding_function(
|
||||
rag_config["embedding_engine"],
|
||||
rag_config["embedding_model"],
|
||||
request.app.state.ef[rag_config["embedding_model"]],
|
||||
|
Loading…
Reference in New Issue
Block a user