mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-05-02 10:51:18 +08:00
feat: 接入AI sdk
This commit is contained in:
1
electron/preload/index.d.ts
vendored
1
electron/preload/index.d.ts
vendored
@@ -406,6 +406,7 @@ interface AgentStreamChunk {
|
||||
type: 'content' | 'think' | 'tool_start' | 'tool_result' | 'done' | 'error'
|
||||
content?: string
|
||||
thinkTag?: string
|
||||
thinkDurationMs?: number
|
||||
toolName?: string
|
||||
toolParams?: Record<string, unknown>
|
||||
toolResult?: unknown
|
||||
|
||||
Reference in New Issue
Block a user