mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 21:42:58 +00:00
commit
df7517f9c4
@ -117,8 +117,8 @@ class RAGMiddleware(BaseHTTPMiddleware):
|
|||||||
rag_app.state.RAG_EMBEDDING_ENGINE,
|
rag_app.state.RAG_EMBEDDING_ENGINE,
|
||||||
rag_app.state.RAG_EMBEDDING_MODEL,
|
rag_app.state.RAG_EMBEDDING_MODEL,
|
||||||
rag_app.state.sentence_transformer_ef,
|
rag_app.state.sentence_transformer_ef,
|
||||||
rag_app.state.RAG_OPENAI_API_KEY,
|
rag_app.state.OPENAI_API_KEY,
|
||||||
rag_app.state.RAG_OPENAI_API_BASE_URL,
|
rag_app.state.OPENAI_API_BASE_URL,
|
||||||
)
|
)
|
||||||
del data["docs"]
|
del data["docs"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user