docs: 更新协议文档,删除废弃计划文档
- 更新 http-error-codes, user-points-chat-data-protocol - 更新 divination-run-protocol, profile-protocol - 删除废弃的后端和前端设计计划文档
This commit is contained in:
@@ -15,8 +15,20 @@ String mapApiProblemToMessage(ApiProblem problem, AppLocalizations l10n) {
|
||||
return l10n.toastCoinInsufficient;
|
||||
case 'AGENT_SESSION_RUN_LIMIT_EXCEEDED':
|
||||
return l10n.errorRunLimitExceeded;
|
||||
case 'AGENT_RUNTIME_MODE_INVALID':
|
||||
return l10n.errorRequestGeneric;
|
||||
case 'AGENT_DIVINATION_PAYLOAD_REQUIRED':
|
||||
return l10n.errorDivinationPayloadRequired;
|
||||
case 'AGENT_SESSION_NOT_FOUND':
|
||||
return l10n.errorRequestGeneric;
|
||||
case 'AGENT_AUDIO_UNSUPPORTED_FORMAT':
|
||||
return l10n.errorAudioUnsupportedFormat;
|
||||
case 'AGENT_AUDIO_TOO_LARGE':
|
||||
return l10n.errorAudioTooLarge;
|
||||
case 'AGENT_AUDIO_EMPTY':
|
||||
return l10n.errorAudioEmpty;
|
||||
case 'AGENT_ASR_UNAVAILABLE':
|
||||
return l10n.errorAsrUnavailable;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user