streaming_configurationTier 1 · 70% confidence

ai-agents-streaming-configurat-runnablemultiactionagent-enables-streaming-by-defa-13f5638b

agent: ai_agents

When does this happen?

IF RunnableMultiActionAgent enables streaming by default even when LLM streaming is disabled.

How others solved it

THEN After creating the AgentExecutor, manually set agent_executor.agent.stream_runnable = False to disable streaming. This overrides the default behavior and allows caching to work with tools.

agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
if isinstance(agent_executor.agent, RunnableMultiActionAgent):
    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