ソースを参照

fix: when cot_agent call tool like searxng lost some response content (#16781)

tags/1.3.1
cooper.wu 6ヶ月前
コミット
7a62202392
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      api/core/tools/tool_engine.py

+ 1
- 1
api/core/tools/tool_engine.py ファイルの表示

@@ -246,7 +246,7 @@ class ToolEngine:
+ "you do not need to create it, just tell the user to check it now."
)
elif response.type == ToolInvokeMessage.MessageType.JSON:
result = json.dumps(
result += json.dumps(
cast(ToolInvokeMessage.JsonMessage, response.message).json_object, ensure_ascii=False
)
else:

読み込み中…
キャンセル
保存