feat(consultation): unify server-distributed agents without fixed roles

This commit is contained in:
2026-09-24 11:56:42 +08:00
parent 248776d855
commit 8a157be4f6
35 changed files with 625 additions and 668 deletions

View File

@@ -10,7 +10,7 @@ export function parseTeacherSuggestions(response: string): TeacherSuggestions {
const invalid = () => new TeacherError(
502,
'teacher_suggestions_invalid',
'老师这次没能整理好可以讨论的问题,请再试一次,或直接告诉老师你的想法。'
'智能体这次没能整理好可以讨论的问题,请再试一次,或直接告诉智能体你的想法。'
);
const text = response.trim();
const fenced = text.match(/^```(?:json)?\s*\n([\s\S]*?)\n```$/i);