Skip to content

Commit

Permalink
Merge pull request #1342 from kevinmangan/patch-1
Browse files Browse the repository at this point in the history
Update multiple-instances.mdx with correct key/value pairs for message dicts
  • Loading branch information
KillianLucas authored Jul 22, 2024
2 parents 4b1ac03 + 1a0d8a4 commit 72b9723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage/python/multiple-instances.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def swap_roles(messages):
agents = [agent_1, agent_2]

# Kick off the conversation
messages = [{"role": "user", "message": "Hello!"}]
messages = [{"role": "user", "type": "message", "content": "Hello!"}]

while True:
for agent in agents:
Expand Down

0 comments on commit 72b9723

Please sign in to comment.