Skip to content

Commit

Permalink
feat(api): add chatgpt-4o-latest model
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Aug 16, 2024
1 parent a16873d commit edc4398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/chat/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ export interface ChatCompletionMessage {
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
* a function that should be called, as generated by the model.
*/
function_call?: ChatCompletionMessage.FunctionCall;
function_call?: ChatCompletionMessage.FunctionCall | null;

/**
* The tool calls generated by the model, such as function calls.
Expand Down

0 comments on commit edc4398

Please sign in to comment.