Skip to content

Commit 8787ddf

Browse files
authored
Merge pull request #100 from Nilanka-MiHCM/main
Fix iteration over run_steps
2 parents 9c3ea2f + e6b98bf commit 8787ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/microsoft/python/getting-started-agents/3p-tools/MiHCM/template_newSDK.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
run_steps = project_client.agents.run_steps.list(thread_id=thread.id, run_id=run.id)
128128

129129
# Loop through each step to display information
130-
for step in run_steps.data:
130+
for step in run_steps:
131131
print(f"Step {step['id']} status: {step['status']}")
132132

133133
# Check if there are tool calls recorded in the step details

0 commit comments

Comments
 (0)