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
6ce91de7
Commit
6ce91de7
authored
Jun 22, 2024
by
Timothy J. Baek
Browse files
fix
parent
f5242389
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/main.py
backend/main.py
+1
-1
No files found.
backend/main.py
View file @
6ce91de7
...
@@ -898,7 +898,7 @@ async def generate_chat_completions(form_data: dict, user=Depends(get_verified_u
...
@@ -898,7 +898,7 @@ async def generate_chat_completions(form_data: dict, user=Depends(get_verified_u
"role"
:
user
.
role
,
"role"
:
user
.
role
,
**
(
**
(
{
{
"valves"
:
pip
e
.
UserValves
(
"valves"
:
function_modul
e
.
UserValves
(
Functions
.
get_user_valves_by_id_and_user_id
(
Functions
.
get_user_valves_by_id_and_user_id
(
pipe_id
,
user
.
id
pipe_id
,
user
.
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