fix(frontend): 完善Markdown与Chat事件渲染

This commit is contained in:
2026-08-29 23:59:01 +08:00
parent e5f803c364
commit 5aa0026bb9
7 changed files with 106 additions and 19 deletions
+3
View File
@@ -75,6 +75,8 @@ export interface ChatMessage {
created_at: string
citations?: Citation[]
tool_calls?: ToolCall[]
thinking?: string
usage?: TokenUsage
}
export interface Citation {
@@ -99,6 +101,7 @@ export type ModelEventType =
| 'ToolCallDelta'
| 'ToolCallEnd'
| 'Usage'
| 'Citation'
| 'Error'
| 'Done'