feat: improve chat retrieval, message versions and Markdown rendering

This commit is contained in:
2026-09-06 21:39:40 +08:00
parent 174e723545
commit 637ddbb9bf
34 changed files with 1072 additions and 62 deletions
+3
View File
@@ -69,6 +69,8 @@ export interface Conversation {
}
export interface ChatMessage {
activity?: Array<{ type: 'thinking'; text: string } | { type: 'tool'; tool_call_id: string }>
versions?: string[]
message_id: string
conversation_id: string
role: 'user' | 'assistant' | 'system'
@@ -81,6 +83,7 @@ export interface ChatMessage {
}
export interface Citation {
citation_id?: string
note_id: string
block_id: string
file_path: string