From 6ea16837ff840f96231c4bec1e51121812d185a8 Mon Sep 17 00:00:00 2001 From: Stream Date: Mon, 2 Feb 2026 09:09:22 +0800 Subject: [PATCH] fix: incorrect output tool runtime selection --- api/core/agent/output_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/agent/output_tools.py b/api/core/agent/output_tools.py index 935f12923f..8af9bc9f5f 100644 --- a/api/core/agent/output_tools.py +++ b/api/core/agent/output_tools.py @@ -91,7 +91,7 @@ def build_agent_output_tools( raw_tool._invoke = invoke_tool # pyright: ignore[reportPrivateUsage] tools.append(raw_tool) else: - raw_tool = get_tool_runtime(FINAL_STRUCTURED_OUTPUT_TOOL) + raw_tool = get_tool_runtime(FINAL_OUTPUT_TOOL) def invoke_tool( user_id: str,