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 a16873d commit f94bef2Copy full SHA for f94bef2
src/resources/chat/completions.ts
@@ -475,7 +475,7 @@ export interface ChatCompletionMessage {
475
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
476
* a function that should be called, as generated by the model.
477
*/
478
- function_call?: ChatCompletionMessage.FunctionCall;
+ function_call?: ChatCompletionMessage.FunctionCall | null;
479
480
/**
481
* The tool calls generated by the model, such as function calls.
0 commit comments