feat(consultation): unify server-distributed agents without fixed roles
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user