We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f87c3 commit 2af88cbCopy full SHA for 2af88cb
README.md
@@ -81,7 +81,7 @@ param := openai.ChatCompletionNewParams{
81
Model: openai.F(openai.ChatModelGPT4o),
82
}
83
84
-completion, err := client.Chat.Completions.New(ctx, params)
+completion, err := client.Chat.Completions.New(ctx, param)
85
86
param.Messages.Value = append(param.Messages.Value, completion.Choices[0].Message)
87
param.Messages.Value = append(param.Messages.Value, openai.UserMessage("How big are those?"))
0 commit comments