feat:添加对话情景功能

This commit is contained in:
2026-06-14 20:32:30 +08:00
parent c3118dd72a
commit b60e513317
20 changed files with 438 additions and 59 deletions

View File

@@ -9,6 +9,7 @@ export interface SessionConfig {
ttsEnabled: boolean;
detailLevel: "low" | "high";
language: string;
scenario: string; // 情景 ID如 "free_chat"、"interviewer"
}
export type Theme = "dark" | "light";
@@ -32,7 +33,7 @@ export interface SessionSummary {
// ---- 聊天消息 ----
export interface ChatMessage {
role: "user" | "assistant";
role: "user" | "assistant" | "system";
content: string;
imageUrl?: string;
timestamp: number;