mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-04-25 13:22:56 +08:00
feat: 追加思考内容块
This commit is contained in:
3
electron/preload/index.d.ts
vendored
3
electron/preload/index.d.ts
vendored
@@ -403,8 +403,9 @@ interface TokenUsage {
|
||||
|
||||
// Agent 相关类型
|
||||
interface AgentStreamChunk {
|
||||
type: 'content' | 'tool_start' | 'tool_result' | 'done' | 'error'
|
||||
type: 'content' | 'think' | 'tool_start' | 'tool_result' | 'done' | 'error'
|
||||
content?: string
|
||||
thinkTag?: string
|
||||
toolName?: string
|
||||
toolParams?: Record<string, unknown>
|
||||
toolResult?: unknown
|
||||
|
||||
Reference in New Issue
Block a user