Skip to content

Commit df13eec

Browse files
authored
Specify recipient of tool response in harmony example
1 parent 7433ba1 commit df13eec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/openai-harmony.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ convo = Conversation.from_messages(
100100
Message.from_author_and_content(
101101
Author.new(Role.TOOL, "functions.get_current_weather"),
102102
'{ "temperature": 20, "sunny": true }',
103-
).with_channel("commentary"),
103+
)
104+
.with_channel("commentary")
105+
.with_recipient("assistant"),
104106
]
105107
)
106108

0 commit comments

Comments
 (0)