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