merge: retain agent refresh in the updated teacher trial

This commit is contained in:
鲨鱼辣椒 committed 2026-09-28 14:09:50 +08:00
commit 9adab45388
14 files changed
+527 -60

No files matched your search

+4
View File
@@ -9,6 +9,10 @@ import type {
TeacherTopic,
TeacherTopicList,
} from '../../shared/coding-teacher';
export interface TeacherCatalogState {
config: TeacherAvailability & { definition: TeacherDefinition | null };
catalog: TeacherCatalog;
}
export function teacherTopicsPath(projectId: string) {
return projectId === 'preview'
? '/api/coding/teacher-preview/topics'