mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-06-17 14:26:38 +08:00
feat: 完成最终国际化
This commit is contained in:
Vendored
+2
-1
@@ -372,7 +372,8 @@ interface AgentApi {
|
||||
onChunk?: (chunk: AgentStreamChunk) => void,
|
||||
historyMessages?: Array<{ role: 'user' | 'assistant'; content: string }>,
|
||||
chatType?: 'group' | 'private',
|
||||
promptConfig?: PromptConfig
|
||||
promptConfig?: PromptConfig,
|
||||
locale?: string
|
||||
) => { requestId: string; promise: Promise<{ success: boolean; result?: AgentResult; error?: string }> }
|
||||
abort: (requestId: string) => Promise<{ success: boolean; error?: string }>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user