feat: 在顶栏并排展示下发智能体并直接切换

This commit is contained in:
2026-09-24 15:38:50 +08:00
parent 39b03a1628
commit a10cf00015
15 changed files with 291 additions and 59 deletions

View File

@@ -38,6 +38,7 @@ export class TeacherTopicStore {
|| (topic.requests.some((request) => request.intent === 'check-in') ? '和智能体聊聊' : '新话题'),
updatedAt: topic.updatedAt,
version: topic.version,
teacherId: topic.definition.config_id,
}))
.sort((a, b) => b.updatedAt.localeCompare(a.updatedAt));
return {