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
99d10d11
"src/lib/vscode:/vscode.git/clone" did not exist on "553dcd208ca2dac979dbda88d681fee482bc82c1"
Unverified
Commit
99d10d11
authored
Aug 07, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Aug 07, 2024
Browse files
Merge pull request #4430 from open-webui/dev
fix
parents
c869652e
ad9a7cb1
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 @
99d10d11
...
...
@@ -356,7 +356,9 @@ async def generate_chat_completion(
):
idx
=
0
payload
=
{
**
form_data
}
payload
.
pop
(
"metadata"
)
if
"metadata"
in
payload
:
del
payload
[
"metadata"
]
model_id
=
form_data
.
get
(
"model"
)
model_info
=
Models
.
get_model_by_id
(
model_id
)
...
...
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