Summary
The sample azure_ai_agents_with_shared_session.py uses options={"store": False} in the workflow.run() call, which was valid in earlier API versions but is no longer a recognized parameter on Workflow.run(). The kwarg is silently ignored — store=False is never forwarded to the chat client.
Suggested Update
Replace options= with client_kwargs=, which is the current way to forward parameters to the underlying chat client:
# Before
result = await workflow.run(
"Write a tagline for a budget-friendly eBike.",
options={"store": False},
)
# After
result = await workflow.run(
"Write a tagline for a budget-friendly eBike.",
client_kwargs={"store": False},
)
PR #6294 has the fix.
Summary
The sample
azure_ai_agents_with_shared_session.pyusesoptions={"store": False}in theworkflow.run()call, which was valid in earlier API versions but is no longer a recognized parameter onWorkflow.run(). The kwarg is silently ignored —store=Falseis never forwarded to the chat client.Suggested Update
Replace
options=withclient_kwargs=, which is the current way to forward parameters to the underlying chat client:PR #6294 has the fix.