Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
98369fba
Commit
98369fba
authored
Apr 20, 2024
by
Timothy J. Baek
Browse files
fix
parent
1cf4fa96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backend/main.py
backend/main.py
+2
-2
No files found.
backend/main.py
View file @
98369fba
...
@@ -117,8 +117,8 @@ class RAGMiddleware(BaseHTTPMiddleware):
...
@@ -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"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment