Better UX

This commit is contained in:
Xin Wang
2026-02-04 18:36:40 +08:00
parent 47207dab19
commit b608c395c7
14 changed files with 877 additions and 403 deletions

View File

@@ -7,10 +7,14 @@ export interface Assistant {
prompt: string;
knowledgeBaseId: string;
language: 'zh' | 'en';
voice: string;
voice: string; // This will now store the ID of the voice from Voice Library
speed: number;
hotwords: string[];
tools?: string[]; // IDs of enabled tools
interruptionSensitivity?: number; // In ms
configMode?: 'platform' | 'dify' | 'fastgpt' | 'none';
apiUrl?: string;
apiKey?: string;
}
export interface Voice {
@@ -99,7 +103,8 @@ export interface WorkflowEdge {
export enum TabValue {
GLOBAL = 'global',
VOICE = 'voice',
TOOLS = 'tools'
TOOLS = 'tools',
LINK = 'link'
}
export enum TestType {