feat(coding): keep one ongoing conversation per delivered agent

This commit is contained in:
brother7 committed 2026-09-28 14:19:02 +08:00
1 parent e54f3d234d
commit 7aa81da616
23 files changed
+1205 -160

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ export class TeacherTopicStore {
}
return await pending;
}
async save(topic: TeacherTopic) {
async save(topic: TeacherTopic, _requestId?: string) {
await mkdir(this.directory, { recursive: true });
const saved = { ...topic };
delete saved.unsaved;