Skip to content

Commit 16ddb3d

Browse files
docs(eino): fix the bugs in the example code.
Add the missing required parameter Role: schema.User to the example code
1 parent eaca805 commit 16ddb3d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

content/zh/docs/eino/ecosystem_integration/chat_model/chat_model_openai.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ func main() {
289289
}
290290

291291
multiModalMsg := &schema.Message{
292+
Role: schema.User,
292293
UserInputMultiContent: []schema.MessageInputPart{
293294
{
294295
Type: schema.ChatMessagePartTypeText,

0 commit comments

Comments
 (0)