Skip to content

Commit

Permalink
fix(api): add content_filter to chat completion finish reason (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Sep 29, 2023
1 parent a02ac8e commit f10c757
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 @@ -139,7 +139,7 @@ export namespace ChatCompletionChunk {
* content was omitted due to a flag from our content filters, or `function_call`
* if the model called a function.
*/
finish_reason: 'stop' | 'length' | 'function_call' | null;
finish_reason: 'stop' | 'length' | 'function_call' | 'content_filter' | null;

/**
* The index of the choice in the list of choices.
Expand Down

0 comments on commit f10c757

Please sign in to comment.