We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c3ea2f + e6b98bf commit 8787ddfCopy full SHA for 8787ddf
samples/microsoft/python/getting-started-agents/3p-tools/MiHCM/template_newSDK.py
@@ -127,7 +127,7 @@
127
run_steps = project_client.agents.run_steps.list(thread_id=thread.id, run_id=run.id)
128
129
# Loop through each step to display information
130
- for step in run_steps.data:
+ for step in run_steps:
131
print(f"Step {step['id']} status: {step['status']}")
132
133
# Check if there are tool calls recorded in the step details
0 commit comments