Skip to content

Commit 72b9723

Browse files
authored
Merge pull request #1342 from kevinmangan/patch-1
Update multiple-instances.mdx with correct key/value pairs for message dicts
2 parents 4b1ac03 + 1a0d8a4 commit 72b9723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/python/multiple-instances.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def swap_roles(messages):
2424
agents = [agent_1, agent_2]
2525

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

2929
while True:
3030
for agent in agents:

0 commit comments

Comments
 (0)