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
ec9895a1
"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "e15e015db162f7236a7d38bbc7992a8076ac568a"
Commit
ec9895a1
authored
Mar 18, 2024
by
Timothy J. Baek
Browse files
fix: openai proxy issue
parent
212e0516
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
backend/apps/openai/main.py
backend/apps/openai/main.py
+3
-1
No files found.
backend/apps/openai/main.py
View file @
ec9895a1
...
@@ -197,7 +197,9 @@ async def get_all_models():
...
@@ -197,7 +197,9 @@ async def get_all_models():
"data"
:
merge_models_lists
(
"data"
:
merge_models_lists
(
list
(
list
(
map
(
map
(
lambda
response
:
response
[
"data"
]
if
response
else
None
,
lambda
response
:
(
response
[
"data"
]
if
"data"
in
response
else
None
),
responses
,
responses
,
)
)
)
)
...
...
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