Browse Source

fix: re-enable tool use when sending tool output

Samuel 2 months ago
parent
commit
86074cff6c
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"],
                                     {