Skip to content

Commit f94bef2

Browse files
stainless-botstainless-app[bot]
authored andcommitted
feat(api): add chatgpt-4o-latest model
1 parent a16873d commit f94bef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/chat/completions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ export interface ChatCompletionMessage {
475475
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
476476
* a function that should be called, as generated by the model.
477477
*/
478-
function_call?: ChatCompletionMessage.FunctionCall;
478+
function_call?: ChatCompletionMessage.FunctionCall | null;
479479

480480
/**
481481
* The tool calls generated by the model, such as function calls.

0 commit comments

Comments
 (0)