Browse Source

Merge pull request #9907 from smonux/dev

fix: re-enable tools in native function calls after first invocation
Timothy Jaeryang Baek 2 months ago
parent
commit
95d56c737d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      backend/open_webui/utils/middleware.py

+ 1 - 0
backend/open_webui/utils/middleware.py

@@ -1608,6 +1608,7 @@ async def process_chat_response(
                             {
                                 "model": model_id,
                                 "stream": True,
+                                "tools": form_data["tools"],
                                 "messages": [
                                     *form_data["messages"],
                                     {