Skip to content

Commit b17815c

Browse files
committed
docs: fix function call comment wording in example
Signed-off-by: Codex <codex@openai.com>
1 parent cbf83a6 commit b17815c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • examples/chat-completion-tool-calling

examples/chat-completion-tool-calling/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func main() {
5555
return
5656
}
5757

58-
// If there is a was a function call, continue the conversation
58+
// If there was a function call, continue the conversation
5959
params.Messages = append(params.Messages, completion.Choices[0].Message.ToParam())
6060
for _, toolCall := range toolCalls {
6161
if toolCall.Function.Name == "get_weather" {

0 commit comments

Comments
 (0)