浏览代码

fix: re-enable tool use when sending tool output

Samuel 3 月之前
父节点
当前提交
86074cff6c
共有 1 个文件被更改,包括 1 次插入0 次删除
  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"],
                                     {