MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / ChatMessage

Interface ChatMessage

static/frontend/src/types/ui.ts:6–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5// Chat UI Message (extends API message with UI state)
6export 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)
20export interface ModelSettings {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected