diff --git a/python/samples/03-workflows/agents/azure_ai_agents_with_shared_session.py b/python/samples/03-workflows/agents/azure_ai_agents_with_shared_session.py index 3600c8ce339..4eb5ae8dd5d 100644 --- a/python/samples/03-workflows/agents/azure_ai_agents_with_shared_session.py +++ b/python/samples/03-workflows/agents/azure_ai_agents_with_shared_session.py @@ -92,9 +92,10 @@ async def main() -> None: result = await workflow.run( "Write a tagline for a budget-friendly eBike.", - # Keyword arguments will be passed to each agent call. - # Setting store=False to avoid storing messages in the service for this example. - options={"store": False}, + # client_kwargs are forwarded to each underlying chat client call. + # store=False tells the model API not to persist messages server-side + # for this example. + client_kwargs={"store": False}, ) # The final state should be IDLE since the workflow no longer has messages to