Skip to content

Commit e0ce87d

Browse files
add missing .with_recipient('assistant') to tool message in demo code (#63)
1 parent d59b0ad commit e0ce87d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/format.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.lookup_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)