fix: v2.22.0 - stable multi-agent workflow (API compatibility & architecture refactor)
This commit is contained in:
@@ -16,6 +16,14 @@ export class ErrorTranslator {
|
||||
};
|
||||
}
|
||||
|
||||
if (msg.includes('유효한 데이터를 생성하지 못했습니다') || msg.includes('incomplete inference')) {
|
||||
return {
|
||||
title: '🧩 추론 분석 실패 (Inference Failed)',
|
||||
message: '에이전트가 단계를 분석하는 중 유효한 응답을 생성하지 못했습니다.',
|
||||
action: '1. 성능이 더 좋은 모델로 변경\n2. 질문 내용을 더 상세하게 작성\n3. 다시 시도'
|
||||
};
|
||||
}
|
||||
|
||||
if (msg.includes('timeout')) {
|
||||
return {
|
||||
title: '⏱️ 응답 시간 초과 (Timeout)',
|
||||
@@ -33,9 +41,9 @@ export class ErrorTranslator {
|
||||
}
|
||||
|
||||
return {
|
||||
title: '⚠️ 알 수 없는 오류',
|
||||
message: '작업 중 예상치 못한 문제가 발생했습니다.',
|
||||
action: '로그를 확인하거나 확장을 재시작해보세요.'
|
||||
title: '⚠️ 시스템 내부 오류',
|
||||
message: `작업 중 예상치 못한 문제가 발생했습니다.\n(Error: ${error.message || error})`,
|
||||
action: '1. 확장을 재시작하거나 로그를 확인해 주세요.\n2. 위 에러 메시지를 개발자에게 전달해 주세요.'
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user