Skip to content

Commit 30cc7a8

Browse files
committed
add stream_options to CompletionStreaming
1 parent f2f2601 commit 30cc7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chat/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type CompletionBase<P extends LLMProvider> = Pick<
6767

6868
export type CompletionStreaming<P extends LLMProvider> = CompletionBase<P> & {
6969
stream: true
70-
}
70+
} & Pick<ChatCompletionCreateParamsBase, 'stream_options'>
7171

7272
export type CompletionNonStreaming<P extends LLMProvider> =
7373
CompletionBase<P> & {

0 commit comments

Comments
 (0)