ai_agents status subscriber fatals when tool status output has no function.name
- Triggered through: ai_agents_debugger running Content Type Agent with EchoAI. - Problem: Debugger gets EchoAI output, then the response handling fatals while recording tool/status information. - Evidence: FunctionCallPluginManager::getFunctionCallFromFunctionName(): Argument #1 ($function_name) must be of type string, null given - Call site: web/modules/contrib/ai_agents/src/EventSubscriber/ AgentStatusSubscriber.php:241 - Relevant code behavior: $tool->getOutputRenderArray() can produce data without $tool_as_array['function']['name'], but line 241 passes that value directly into getFunctionCallFromFunctionName(). - Expected: missing/partial tool metadata should not fatal the debugger or agent status flow. - Actual: run terminates with TypeError after model output.
issue