mirror of
https://github.com/openai/harmony.git
synced 2025-08-24 13:17:08 -04:00
add missing .with_recipient('assistant') to tool message in demo code
This commit is contained in:
parent
508cbaa7f6
commit
72de695703
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ convo = Conversation.from_messages(
|
|||
Message.from_author_and_content(
|
||||
Author.new(Role.TOOL, "functions.lookup_weather"),
|
||||
'{ "temperature": 20, "sunny": true }',
|
||||
).with_channel("commentary"),
|
||||
)
|
||||
.with_channel("commentary")
|
||||
.with_recipient("assistant"),
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue