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
afd74213
Unverified
Commit
afd74213
authored
Jul 02, 2024
by
Michael Poluektov
Committed by
GitHub
Jul 02, 2024
Browse files
Update main.py
parent
e4c85921
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
backend/main.py
backend/main.py
+1
-0
No files found.
backend/main.py
View file @
afd74213
...
@@ -311,6 +311,7 @@ async def get_function_call_response(
...
@@ -311,6 +311,7 @@ async def get_function_call_response(
{
"role"
:
"user"
,
"content"
:
f
"Query:
{
prompt
}
"
},
{
"role"
:
"user"
,
"content"
:
f
"Query:
{
prompt
}
"
},
],
],
"stream"
:
False
,
"stream"
:
False
,
"function"
:
True
,
}
}
try
:
try
:
...
...
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