pass correct args

This commit is contained in:
Obada Khalili 2025-02-27 23:37:39 +02:00
parent a0271cff8c
commit 965c63c7ff

View File

@ -194,7 +194,7 @@ class AgentNode(ToolNode):
extra = tool.get("extra", {})
tool_runtime = ToolManager.get_agent_tool_runtime(
self.tenant_id, self.app_id, entity, self.invoke_from
self.tenant_id, self.app_id, entity, invoke_from=self.invoke_from
)
if tool_runtime.entity.description:
tool_runtime.entity.description.llm = (