mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 05:11:24 +08:00
fix(ApiService): 使FetchChatCompletionOptions参数变为可选
为了增加接口的灵活性,将options参数改为可选
This commit is contained in:
parent
84f920e54e
commit
694ecc5243
@ -83,7 +83,7 @@ export type FetchChatCompletionOptions = {
|
||||
|
||||
type BaseParams = {
|
||||
assistant: Assistant
|
||||
options: FetchChatCompletionOptions
|
||||
options?: FetchChatCompletionOptions
|
||||
onChunkReceived: (chunk: Chunk) => void
|
||||
topicId?: string // 添加 topicId 参数
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user