mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
fix: incorrect output tool runtime selection
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user