边栏缩略图,小助手添加工具配置,添加自动测试大类

This commit is contained in:
Xin Wang
2026-02-04 16:35:44 +08:00
parent 75914cf2e6
commit 47207dab19
6 changed files with 900 additions and 58 deletions

View File

@@ -10,6 +10,7 @@ export interface Assistant {
voice: string;
speed: number;
hotwords: string[];
tools?: string[]; // IDs of enabled tools
}
export interface Voice {
@@ -97,5 +98,27 @@ export interface WorkflowEdge {
export enum TabValue {
GLOBAL = 'global',
VOICE = 'voice'
VOICE = 'voice',
TOOLS = 'tools'
}
export enum TestType {
FIXED = 'fixed',
INTELLIGENT = 'intelligent'
}
export enum TestMethod {
TEXT = 'text',
AUDIO = 'audio'
}
export interface AutoTestAssistant {
id: string;
name: string;
type: TestType;
method: TestMethod;
targetAssistantId: string;
fixedWorkflowSteps: string[];
intelligentPrompt: string;
createdAt: string;
}