mirror of
https://github.com/open-webui/open-webui
synced 2025-04-06 05:35:55 +00:00
Merge pull request #9907 from smonux/dev
fix: re-enable tools in native function calls after first invocation
This commit is contained in:
commit
95d56c737d
@ -1608,6 +1608,7 @@ async def process_chat_response(
|
|||||||
{
|
{
|
||||||
"model": model_id,
|
"model": model_id,
|
||||||
"stream": True,
|
"stream": True,
|
||||||
|
"tools": form_data["tools"],
|
||||||
"messages": [
|
"messages": [
|
||||||
*form_data["messages"],
|
*form_data["messages"],
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user