| 4 | |
| 5 | // Chat UI Message (extends API message with UI state) |
| 6 | export interface ChatMessage { |
| 7 | id: string; |
| 8 | role: 'user' | 'assistant' | 'system'; |
| 9 | content: string; |
| 10 | timestamp: Date; |
| 11 | isStreaming?: boolean; |
| 12 | error?: string; |
| 13 | /** Accumulated thinking/reasoning content from model */ |
| 14 | thinkingContent?: string; |
| 15 | /** True while model is actively outputting thinking content */ |
| 16 | isThinking?: boolean; |
| 17 | } |
| 18 | |
| 19 | // Model Settings (persisted to localStorage) |
| 20 | export interface ModelSettings { |
nothing calls this directly
no outgoing calls
no test coverage detected