feat: 完成最终国际化

This commit is contained in:
digua
2026-01-07 21:40:03 +08:00
committed by digua
parent 8403125278
commit 7bb735533b
80 changed files with 2819 additions and 919 deletions
+2 -1
View File
@@ -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 }>
}