Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: guard against KeyError in update_prompt_message_tool loop (#35150)
Cocoon-Break0c41d0bf51e6
diff --git a/api/core/agent/fc_agent_runner.py b/api/core/agent/fc_agent_runner.pyindex d38d24d1e79..29de0b8b1c4 100644--- a/api/core/agent/fc_agent_runner.py+++ b/api/core/agent/fc_agent_runner.py@@ -299,7 +299,9 @@ class FunctionCallAgentRunner(BaseAgentRunner):# update prompt toolfor prompt_tool in prompt_messages_tools:- self.update_prompt_message_tool(tool_instances[prompt_tool.name], prompt_tool)+ tool_instance = tool_instances.get(prompt_tool.name)+ if tool_instance:+ self.update_prompt_message_tool(tool_instance, prompt_tool)iteration_step += 1