feat: 按老师发布配置渲染快捷提示
This commit is contained in:
@@ -6,6 +6,11 @@ export const TEACHER_CHECK_IN_INTERVAL_MS = 5 * 60 * 1000;
|
||||
export const TEACHER_UNCHANGED_CHECK_IN_INTERVAL_MS = 15 * 60 * 1000;
|
||||
export type TeacherRequestIntent = 'question' | 'suggestions' | 'guided-help' | 'check-in';
|
||||
|
||||
export interface TeacherShortcut {
|
||||
label: string;
|
||||
prompt: string;
|
||||
}
|
||||
|
||||
export interface TeacherDefinition {
|
||||
config_id?: string;
|
||||
runtime?: 'local' | 'yuxi';
|
||||
@@ -18,6 +23,7 @@ export interface TeacherDefinition {
|
||||
icon_url?: string | null;
|
||||
welcome_message: string;
|
||||
suggested_questions: string[];
|
||||
shortcuts?: TeacherShortcut[] | null;
|
||||
system_prompt: string;
|
||||
skills: Array<{
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user