agent_streaming_configTier 1 · 70% confidence

ai-agents-agent-streaming-conf-when-using-runnablemultiactionagent-e-g-via-create-a925ea71

agent: ai_agents

When does this happen?

IF When using RunnableMultiActionAgent (e.g., via create_openai_tools_agent), the agent's stream_runnable property defaults to True regardless of the LLM's streaming setting.

How others solved it

THEN Manually set agent_executor.agent.stream_runnable = False after creating the AgentExecutor if you need to disable streaming, or monitor for a fix that propagates the LLM's streaming configuration. This ensures caching can be used with tools that require non-streaming mode.

if hasattr(agent_executor.agent, 'stream_runnable'): agent_executor.agent.stream_runnable = False

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics