Skip to content

Commit f10c757

Browse files
fix(api): add content_filter to chat completion finish reason (#344)
1 parent a02ac8e commit f10c757

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
@@ -139,7 +139,7 @@ export namespace ChatCompletionChunk {
139139
* content was omitted due to a flag from our content filters, or `function_call`
140140
* if the model called a function.
141141
*/
142-
finish_reason: 'stop' | 'length' | 'function_call' | null;
142+
finish_reason: 'stop' | 'length' | 'function_call' | 'content_filter' | null;
143143

144144
/**
145145
* The index of the choice in the list of choices.

0 commit comments

Comments
 (0)