Add bot not interrupt and generated opener

This commit is contained in:
Xin Wang
2026-02-12 13:51:27 +08:00
parent 6179053388
commit d41db6418c
9 changed files with 215 additions and 12 deletions

View File

@@ -4,6 +4,7 @@ export interface Assistant {
name: string;
callCount: number;
opener: string;
generatedOpenerEnabled?: boolean;
prompt: string;
knowledgeBaseId: string;
language: 'zh' | 'en';
@@ -12,6 +13,7 @@ export interface Assistant {
speed: number;
hotwords: string[];
tools?: string[]; // IDs of enabled tools
botCannotBeInterrupted?: boolean;
interruptionSensitivity?: number; // In ms
configMode?: 'platform' | 'dify' | 'fastgpt' | 'none';
apiUrl?: string;