pass correct args
This commit is contained in:
parent
a0271cff8c
commit
965c63c7ff
@ -194,7 +194,7 @@ class AgentNode(ToolNode):
|
|||||||
extra = tool.get("extra", {})
|
extra = tool.get("extra", {})
|
||||||
|
|
||||||
tool_runtime = ToolManager.get_agent_tool_runtime(
|
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:
|
if tool_runtime.entity.description:
|
||||||
tool_runtime.entity.description.llm = (
|
tool_runtime.entity.description.llm = (
|
||||||
|
Loading…
Reference in New Issue
Block a user