Skip to content

Commit 96ad4d0

Browse files
authored
Merge pull request #5124 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-ai-docs (branch main)
2 parents 9762a56 + f2c2f4c commit 96ad4d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/agents/how-to/tools/bing-code-samples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ if run.status == "failed":
123123

124124
# Fetch and log all messages
125125
messages = project_client.agents.messages.list(thread_id=thread.id)
126-
for message in messages.data:
126+
for message in messages:
127127
print(f"Role: {message.role}, Content: {message.content}")
128128

129129
# Delete the agent when done

0 commit comments

Comments
 (0)