# 完整的报错信息,例子

DataBaseError = {
    'code': 'ModelFactory.Mydb.DataBase.ParameterError',
    'description': '数据库错误',
    'detail': '数据库无法连接',
    'solution': '请检查数据库及登录信息',
    'link': ''}
LLMSourceError = {
    'code': 'ModelFactory.ConnectController.LLMSource.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}
LLMUsedError = {
    'code': 'ModelFactory.ConnectController.LLMUsed.ParameterError',
    'description': '大模型不存在',
    'detail': '大模型不存在',
    'solution': '请刷新列表',
    'link': ''}
LLMParamError = {
    'code': 'ModelFactory.ConnectController.LLMUsed.ParameterError',
    'description': '配置错误',
    'detail': '当前模型配置信息错误，无法连接',
    'solution': '请检查大模型的配置信息',
    'link': ''}
LLMRemoveError = {
    'code': 'ModelFactory.ConnectController.LLMRemove.ParameterError',
    'description': '参数错误',
    'detail': '部分模型不存在',
    'solution': '请检查输入信息',
    'link': ''}
LLMDeployError = {
    'code': 'ModelFactory.ConnectController.LLMDeploy.ParameterError',
    'description': '参数错误',
    'detail': '该模型不存在',
    'solution': '请检查输入信息',
    'link': ''}
LLMAddError = {
    'code': 'ModelFactory.ConnectController.LLMAdd.ParameterError',
    'description': '参数错误',
    'detail': '模型名称重复',
    'solution': '请检查输入信息',
    'link': ''
}
LLMAdd2Error = {
    'code': 'ModelFactory.ConnectController.LLMAdd.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}

LLMEditError = {
    'code': 'ModelFactory.ConnectController.LLMEdit.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}
LLMEdit2Error = {
    'code': 'ModelFactory.ConnectController.LLMEdit.ParameterError',
    'description': '参数错误',
    'detail': '该模型不存在',
    'solution': '请检查输入信息',
    'link': ''}
LLMEdit3Error = {
    'code': 'ModelFactory.ConnectController.LLMEdit.ParameterError',
    'description': '参数错误',
    'detail': 'series和config参数不允许修改',
    'solution': '请检查输入信息',
    'link': ''}
LLMEdit4Error = {
    'code': 'ModelFactory.ConnectController.LLMEdit.NameError',
    'description': '参数错误',
    'detail': '名称重复',
    'solution': '请检查输入信息',
    'link': ''}
LLMCheckError = {
    'code': 'ModelFactory.ConnectController.LLMCheck.ParameterError',
    'description': '大模型不存在',
    'detail': '大模型不存在',
    'solution': '请刷新列表',
    'link': ''}
LLMTestError = {
    'code': 'ModelFactory.ConnectController.LLMTest.ParameterError',
    'description': '参数错误',
    'detail': '该模型不存在',
    'solution': '请检查输入信息',
    'link': ''}
PromptItemSourceError = {
    'code': 'ModelFactory.PromptController.PromptItemSource.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}
PromptSourceError = {
    'code': 'ModelFactory.PromptController.PromptSource.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}
PromptLLMSourceError = {
    'code': 'ModelFactory.PromptController.PromptLLMSourceError.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}
PromptTemplateSource = {
    'code': 'ModelFactory.PromptController.PromptTemplateSource.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}
PromptCheck = {
    'code': 'ModelFactory.PromptController.PromptCheck.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}
PromptUsed = {
    'code': 'ModelFactory.PromptController.PromptUsed.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}
PromptItemAddError1 = {
    'code': 'ModelFactory.PromptController.PromptItemAdd.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptItemAddError2 = {
    'code': 'ModelFactory.PromptController.PromptItemAdd.NameError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptItemEditError1 = {
    'code': 'ModelFactory.PromptController.PromptItemEdit.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptItemEditError2 = {
    'code': 'ModelFactory.PromptController.PromptItemEdit.NameError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptTypeAddError1 = {
    'code': 'ModelFactory.PromptController.PromptTypeAdd.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptTypeAddError2 = {
    'code': 'ModelFactory.PromptController.PromptTypeAdd.NameError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptTypeEditError1 = {
    'code': 'ModelFactory.PromptController.PromptTypeEdit.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptTypeEditError2 = {
    'code': 'ModelFactory.PromptController.PromptTypeEdit.NameError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptAddError1 = {
    'code': 'ModelFactory.PromptController.PromptAdd.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptAddError2 = {
    'code': 'ModelFactory.PromptController.PromptAdd.NameError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptNameEditError1 = {
    'code': 'ModelFactory.PromptController.PromptNameEdit.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptNameEditError2 = {
    'code': 'ModelFactory.PromptController.PromptNameEdit.NameError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptEditError1 = {
    'code': 'ModelFactory.PromptController.PromptEdit.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptTemplateEditError1 = {
    'code': 'ModelFactory.PromptController.PromptTemplateEdit.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptDeployError1 = {
    'code': 'ModelFactory.PromptController.PromptDeploy.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptUndeployError1 = {
    'code': 'ModelFactory.PromptController.PromptUndeploy.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptRunError1 = {
    'code': 'ModelFactory.PromptController.PromptRun.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptTemplateRunError1 = {
    'code': 'ModelFactory.PromptController.PromptTemplateRun.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptConpletionError1 = {
    'code': 'ModelFactory.PromptController.PromptConpletion.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
AutoGenerationError1 = {
    'code': 'ModelFactory.PromptController.AutoGeneration.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptCodeError1 = {
    'code': 'ModelFactory.PromptController.PromptCode.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptDeleteError1 = {
    'code': 'ModelFactory.PromptController.PromptDelete.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
PromptMoveError = {
    'code': 'ModelFactory.PromptController.PromptMove.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}

PromptDefaultLLMError = {
    'code': 'ModelFactory.PromptController.PromptDefaultLLMError',
    'description': '没有配置默认大模型',
    'detail': '没有配置默认大模型',
    'solution': '请联系管理员',
    'link': ''}

ModelError = {
    'code': 'ModelFactory.LLM.Error',
    'description': '查询或前缀提示符太长，',
    'detail': '模型配置信息中的 max_tokens 数值过大',
    'solution': '可以减少前缀提示符，或缩小最大令牌，或切换到具有更大令牌限制大小的模型。',
    'link': ''
}
BatchAddPromptError = {
    'code': 'ModelFactory.PromptController.BatchAddPrompt.Error',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
ModelTimeoutError = {
    'code': 'ModelFactory.LLM.ModelTimeoutError',
    'description': '模型请求超时，请重试',
    'detail': '模型请求超时，请重试',
    'solution': '模型请求超时，请重试',
    'link': ''
}
ModelFactory_BenchmarkController_AddBenchmarkConfig_RepeatedNames_Error = {
    "code": "ModelFactory.BenchmarkController.AddBenchmarkConfig.RepeatedNames",
    "description": "benchmark配置名称重复",
    "detail": "benchmark配置名称重复",
    "solution": "请修改benchmark配置名称",
    "link": ""
}
ModelFactory_BenchmarkController_AddBenchmarkConfig_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.AddBenchmarkConfig.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_MyPymysqlPool_Connection_ConnectError_Error = {
    "code": "ModelFactory.MyPymysqlPool.Connection.ConnectError",
    "description": "数据库连接错误",
    "detail": "数据库连接错误",
    "solution": "请联系开发人员",
    "link": ""
}
ModelFactory_Router_ParamError_ParamMissing_Error = {
    "code": "ModelFactory.Router.ParamError.ParamMissing",
    "description": "参数缺失",
    "detail": "参数缺失",
    "solution": "请检查填写的参数是否正确。",
    "link": ""
}
ModelFactory_Router_ParamError_FormatError_Error = {
    "code": "ModelFactory.Router.ParamError.FormatError",
    "description": "由于参数格式错误，修改失败",
    "detail": "由于参数格式错误，修改失败",
    "solution": "请检查输入内容格式是否符合要求",
    "link": ""
}
ModelFactory_Router_ParamError_TypeError_Error = {
    "code": "ModelFactory.Router.ParamError.TypeError",
    "description": "参数类型错误",
    "detail": "参数类型错误",
    "solution": "请检查填写的参数是否正确。",
    "link": ""
}
ModelFactory_BenchmarkController_EditBenchmarkConfig_RepeatedNames_Error = {
    "code": "ModelFactory.BenchmarkController.EditBenchmarkConfig.RepeatedNames",
    "description": "benchmark配置名称重复",
    "detail": "benchmark配置名称重复",
    "solution": "请修改benchmark配置名称",
    "link": ""
}
ModelFactory_BenchmarkController_EditBenchmarkConfig_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.AddBenchmarkConfig.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_EditBenchmarkConfig_TaskIDNotExist_Error = {
    "code": "ModelFactory.BenchmarkController.EditBenchmarkConfig.TaskIDNotExist",
    "description": "task id不存在",
    "detail": "task id不存在",
    "solution": "请检查输入的task id",
    "link": ""
}
ModelFactory_BenchmarkController_DeleteBenchmarkConfig_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.DeleteBenchmarkConfig.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_PublishBenchmarkConfig_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.PublishBenchmarkConfig.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_EditBenchmarkConfig_IDNotExist_Error = {
    "code": "ModelFactory.BenchmarkController.EditBenchmarkConfig.IDNotExist",
    "description": "配置id不存在",
    "detail": "配置id不存在",
    "solution": "请输入正确的配置id",
    "link": ""
}
ModelFactory_BenchmarkController_EditBenchmarkConfig_ConfigPublished_Error = {
    "code": "ModelFactory.BenchmarkController.EditBenchmarkConfig.ConfigPublished",
    "description": "配置已发布，无法编辑",
    "detail": "配置已发布，无法编辑",
    "solution": "配置已发布，无法编辑",
    "link": ""
}
ModelFactory_BenchmarkController_PublishBenchmarkConfig_IdNotExist_Error = {
    "code": "ModelFactory.BenchmarkController.PublishBenchmarkConfig.IdNotExist",
    "description": "配置id不存在",
    "detail": "配置id不存在",
    "solution": "请输入正确的配置id",
    "link": ""
}
ModelFactory_BenchmarkController_GetBenchmarkConfig_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetBenchmarkConfig.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_GetBenchmarkConfig_IDNotExist_Error = {
    "code": "ModelFactory.BenchmarkController.GetBenchmarkConfig.IDNotExist",
    "description": "配置id不存在",
    "detail": "配置id不存在",
    "solution": "请输入正确的配置id",
    "link": ""
}
ModelFactory_BenchmarkController_GetBenchmarkConfigList_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetBenchmarkConfigList.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_CopyConfig_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.CopyConfig.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "请检查被复制的配置是否完整",
    "link": ""
}
ModelFactory_BenchmarkController_CopyConfig_IdNotExist_Error = {
    "code": "ModelFactory.BenchmarkController.CopyConfig.IdNotExist",
    "description": "配置id不存在",
    "detail": "配置id不存在",
    "solution": "请输入正确的配置id",
    "link": ""
}
ModelFactory_BenchmarkController_CopyConfig_ConfigNotPublished_Error = {
    "code": "ModelFactory.BenchmarkController.CopyConfig.ConfigNotPublished",
    "description": "配置未发布，无法复制",
    "detail": "配置未发布，无法复制",
    "solution": "配置未发布，无法复制",
    "link": ""
}
ModelFactory_BenchmarkController_AddMetric_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.AddMetric.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_EditMetric_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.EditMetric.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_AddMetric_PathNotExist_Error = {
    "code": "ModelFactory.BenchmarkController.AddMetric.PathNotExist",
    "description": "路径不存在",
    "detail": "路径不存在",
    "solution": "请检查路径是否存在",
    "link": ""
}
ModelFactory_BenchmarkController_EditMetric_ColorNotExist_Error = {
    "code": "ModelFactory.BenchmarkController.EditMetric.ColorNotExist",
    "description": "颜色序号不存在",
    "detail": "颜色序号不存在",
    "solution": "请检查颜色序号是否存在",
    "link": ""
}
ModelFactory_BenchmarkController_DeleteMetric_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.DeleteMetric.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_GetMetric_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetMetric.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_DeleteMetric_MetricIsUsed_Error = {
    "code": "ModelFactory.BenchmarkController.DeleteMetric.MetricIsUsed",
    "description": "指标正在使用中",
    "detail": "指标正在使用中，无法删除",
    "solution": "请先解除指标的使用",
    "link": ""
}
ModelFactory_BenchmarkController_GetMetric_IdNotExist_Error = {
    "code": "ModelFactory.BenchmarkController.GetMetric.IdNotExist",
    "description": "指标id不存在",
    "detail": "指标id不存在",
    "solution": "请输入正确的指标id",
    "link": ""
}
ModelFactory_BenchmarkController_GetMetricList_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetMetricList.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_FilePreview_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.FilePreview.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_GetMetricTemplate_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetMetricTemplate.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_UploadFileStart_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.UploadFileStart.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_UploadFileStart_ConnectError_Error = {
    "code": "ModelFactory.BenchmarkController.UploadFileStart.ConnectError",
    "description": "文件上传连接错误",
    "detail": "文件上传连接错误",
    "solution": "请联系开发人员",
    "link": ""
}
ModelFactory_BenchmarkController_Download_ConnectError_Error = {
    "code": "ModelFactory.BenchmarkController.Download.ConnectError",
    "description": "文件下载连接错误",
    "detail": "文件下载连接错误",
    "solution": "请联系开发人员",
    "link": ""
}
ModelFactory_BenchmarkController_Download_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.Download.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_FilePreview_ConnectError_Error = {
    "code": "ModelFactory.BenchmarkController.FilePreview.ConnectError",
    "description": "文件预览连接错误",
    "detail": "文件预览连接错误",
    "solution": "请联系开发人员",
    "link": ""
}
ModelFactory_BenchmarkController_UploadFileComplete_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.UploadFileComplete.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_ParseMetric_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.ParseMetric.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_ParseMetric_ParseError_Error = {
    "code": "ModelFactory.BenchmarkController.ParseMetric.ParseError",
    "description": "解析指标错误",
    "detail": "解析指标错误",
    "solution": "请检查指标的格式是否正确",
    "link": ""
}
ModelFactory_BenchmarkController_ParseMetric_NameEmpty_Error = {
    "code": "ModelFactory.BenchmarkController.ParseMetric.NameEmpty",
    "description": "解析指标名称不得为空",
    "detail": "解析指标名称不得为空",
    "solution": "请检查指标的格式是否正确",
    "link": ""
}
ModelFactory_BenchmarkController_ParseMetric_NameTooLong_Error = {
    "code": "ModelFactory.BenchmarkController.ParseMetric.NameTooLong",
    "description": "解析指标名称过长",
    "detail": "解析指标名称最多输入50个字符",
    "solution": "请检查指标的格式是否正确",
    "link": ""
}
ModelFactory_BenchmarkController_ParseMetric_NameFormatError_Error = {
    "code": "ModelFactory.BenchmarkController.ParseMetric.NameFormatError",
    "description": "解析指标名称格式错误",
    "detail": "解析指标名称仅支持中英文、数字和键盘上的特殊字符",
    "solution": "请检查指标的格式是否正确",
    "link": ""
}
ModelFactory_BenchmarkController_GetAdapterTemplate_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetAdapterTemplate.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_DeleteFile_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.DeleteFile.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_DeleteFile_ConnectError_Error = {
    "code": "ModelFactory.BenchmarkController.DeleteFile.ConnectError",
    "description": "文件删除连接错误",
    "detail": "文件删除连接错误",
    "solution": "请联系开发人员",
    "link": ""
}
ModelFactory_BenchmarkController_PublishBenchmarkConfig_IncompleteConfiguration_Error = {
    "code": "ModelFactory.BenchmarkController.PublishBenchmarkConfig.IncompleteConfiguration",
    "description": "配置项错误请修改",
    "detail": "配置项错误请修改",
    "solution": "请检查配置是否完整",
    "link": ""
}
ModelFactory_BenchmarkController_GetSelectList_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetSelectList.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_GetMetricOutputMap_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetMetricOutputMap.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_AddMetric_RepeatedNames_Error = {
    "code": "ModelFactory.BenchmarkController.AddMetric.RepeatedNames",
    "description": "重复的指标名称",
    "detail": "重复的指标名称",
    "solution": "请确保指标名称唯一",
    "link": ""
}
ModelFactory_BenchmarkController_AddMetric_PromptNotFound_Error = {
    "code": "ModelFactory.BenchmarkController.AddMetric.PromptNotFound",
    "description": "提示词不存在",
    "detail": "提示词不存在",
    "solution": "请检查输入参数",
    "link": ""
}
ModelFactory_BenchmarkController_EditMetric_RepeatedNames_Error = {
    "code": "ModelFactory.BenchmarkController.EditMetric.RepeatedNames",
    "description": "重复的指标名称",
    "detail": "重复的指标名称",
    "solution": "请确保指标名称唯一",
    "link": ""
}

ModelFactory_DataSet_PreviewError = {
    'code': 'ModelFactory.DataSet.PreviewError',
    'description': '数据集文件预览失败',
    'detail': '数据集文件预览失败',
    'solution': '数据集文件预览失败,请联系开发人员',
    'link': ''
}

ModelFactory_BenchmarkController_ParseMetric_FileEmpty_Error = {
    "code": "ModelFactory.BenchmarkController.ParseMetric.FileEmpty",
    "description": "文件为空",
    "detail": "文件为空",
    "solution": "请确保文件不为空",
    "link": ""
}
ModelFactory_BenchmarkController_DeleteBenchmarkConfig_IDNotExist_Error = {
    "code": "ModelFactory.BenchmarkController.DeleteBenchmarkConfig.IDNotExist",
    "description": "非法的配置id",
    "detail": "非法的配置id",
    "solution": "请输入合法的配置id(19位纯数字)",
    "link": ""
}
ModelFactory_BenchmarkController_DeleteMetric_IlligalId_Error = {
    "code": "ModelFactory.BenchmarkController.DeleteMetric.IlligalId",
    "description": "非法的指标id",
    "detail": "非法的指标id",
    "solution": "请输入合法的指标id",
    "link": ""
}
ModelFactory_BenchmarkController_ConfigNameUsed_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.ConfigNameUsed.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_ConfigUsedByRunningTask_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.ConfigUsedByRunningTask.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_DownloadInlineMetric_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.DownloadInlineMetric.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_GetConfigByIdList_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetConfigByIdList.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_GetMetricByIdList_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetMetricByIdList.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}

ModelFactory_ModelQuotaController_ModelQuotaConfig_ModelIsAlreadyExist_Error = {
    "code": "ModelFactory.ModelQuotaController.ModelQuotaConfig.ModelIsAlreadyExist",
    "description": "大模型已经存在配额配置",
    "detail": "大模型已经存在配额配置",
    "solution": "请重新选择其他未配置的大模型",
    "link": ""
}

ModelFactory_ModelQuotaController_ModelQuotaConfig_ModelConfigNotFound_Error = {
    "code": "ModelFactory.ModelQuotaController.ModelQuotaConfig.ModelConfigNotFound",
    "description": "该大模型配额配置不存在",
    "detail": "该大模型配额配置不存在",
    "solution": "请重新选择其他有效的大模型",
    "link": ""
}

ModelFactory_ModelQuotaController_ModelConfig_ModelNotFound_Error = {
    "code": "ModelFactory.ModelQuotaController.ModelConfig.ModelNotFound",
    "description": "大模型配置不存在",
    "detail": "大模型配置不存在",
    "solution": "请重新选择其他有效的大模型",
    "link": ""
}

ModelFactory_ModelQuotaController_UserModelConfig_NoLeftSpace_Error = {
    "code": "ModelFactory.ModelQuotaController.UserModelConfig.NoLeftSpace",
    "description": "大模型剩余额度不足",
    "detail": "本月额度已达上限，请联系管理员增加大模型使用额度后再试。",
    "solution": "请合理分配有效剩余额度",
    "link": ""
}

ModelFactory_ModelQuotaController_UserModelConfig_InputNoLeftSpace_Error = {
    "code": "ModelFactory.ModelQuotaController.UserModelConfig.InputNoLeftSpace",
    "description": "大模型输入tokens剩余额度不足",
    "detail": "本月额度已达上限，请联系管理员增加大模型使用额度后再试。",
    "solution": "请合理分配输入tokens有效剩余额度",
    "link": ""
}

ModelFactory_ModelQuotaController_UserModelConfig_OutputNoLeftSpace_Error = {
    "code": "ModelFactory.ModelQuotaController.UserModelConfig.OutputNoLeftSpace",
    "description": "大模型输出tokens剩余额度不足",
    "detail": "本月额度已达上限，请联系管理员增加大模型使用额度后再试。",
    "solution": "请合理分配输出tokens有效剩余额度",
    "link": ""
}
ModelFactory_ModelQuotaController_UserModelConfig_PermissionError_Error = {
    "code": "ModelFactory.ModelQuotaController.UserModelConfig.PermissionError",
    "description": "该用户没有该大模型的使用权限",
    "detail": "该用户没有该大模型的使用权限，请联系管理员增加大模型使用额度后再试。",
    "solution": "请联系管理员增加大模型使用额度后再试",
    "link": ""
}

ModelFactory_ModelQuotaController_UserModelQuotaConfig_ModelConfigIsAlreadyExist_Error = {
    "code": "ModelFactory.ModelQuotaController.UserModelQuotaConfig.ModelIsAlreadyExist",
    "description": "该用户基于当前大模型配额已经存在配置",
    "detail": "该用户基于当前大模型配额已经存在配置",
    "solution": "请重新选择其他未配置的大模型",
    "link": ""
}

ModelFactory_ModelQuotaController_UserModelQuotaConfig_ModelConfigNotFound_Error = {
    "code": "ModelFactory.ModelQuotaController.UserModelQuotaConfig.ModelNotFound",
    "description": "该用户无当前大模型配额",
    "detail": "该用户无当前大模型配额",
    "solution": "请重新选择其他有效的配置",
    "link": ""
}

ModelFactory_ModelQuotaController_AddModelQuotaConfig_UnknownError_Error = {
    "code": "ModelFactory.ModelQuotaController.AddModelQuotaConfig.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}

ModelFactory_ModelQuotaController_AddUserModelQuotaConfig_UnknownError_Error = {
    "code": "ModelFactory.ModelQuotaController.AddUserModelQuotaConfig.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}

UnknownError = {
    'code': 'ModelFactory.LLM.UnknownError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '未知错误',
    'link': ''
}
EncodeError = {
    'code': 'ModelFactory.LLM.EncodeError',
    'description': '其他协议模型不支持encode',
    'detail': '其他协议模型不支持encode',
    'solution': '其他协议模型不支持encode',
    'link': ''
}
DecodeError = {
    'code': 'ModelFactory.LLM.DecodeError',
    'description': '其他协议模型不支持decode',
    'detail': '其他协议模型不支持decode',
    'solution': '其他协议模型不支持decode',
    'link': ''
}
EncodeParaError = {
    'code': 'ModelFactory.PromptController.EncodeEndPoint.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''}
ModelFactory_BenchmarkController_ConfigDatasetViaTemplate_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.ConfigDatasetViaTemplate.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_ConfigDatasetViaTemplate_FileFormatError_Error = {
    "code": "ModelFactory.BenchmarkController.ConfigDatasetViaTemplate.FileFormatError",
    "description": "文件格式错误",
    "detail": "文件格式错误",
    "solution": "请检查文件格式是否正确",
    "link": ""
}
ModelFactory_BenchmarkController_ConfigDatasetViaTemplate_ConfigTemplateNotExists_Error = {
    "code": "ModelFactory.BenchmarkController.ConfigDatasetViaTemplate.ConfigTemplateNotExists",
    "description": "配置模板不存在",
    "detail": "配置模板不存在",
    "solution": "请检查传入id是否正确",
    "link": ""
}
ModelFactory_BenchmarkController_GetTemplateDatasetFile_UnknownError_Error = {
    "code": "ModelFactory.BenchmarkController.GetTemplateDatasetFile.UnknownError",
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_BenchmarkController_GetTemplateDatasetFile_ConfigTemplateNotExists_Error = {
    "code": "ModelFactory.BenchmarkController.GetTemplateDatasetFile.ConfigTemplateNotExists",
    "description": "配置模板不存在",
    "detail": "配置模板不存在",
    "solution": "请检查传入id是否正确",
    "link": ""
}
ModelFactory_BenchmarkController_ConfigDatasetViaTemplate_RepeatedNames_Error = {
    "code": "ModelFactory.BenchmarkController.ConfigDatasetViaTemplate.RepeatedNames",
    "description": "benchmark配置名称重复",
    "detail": "benchmark配置名称重复",
    "solution": "请修改benchmark配置名称",
    "link": ""
}

DecodeParaError = {
    'code': 'ModelFactory.PromptController.DecodeEndPoint.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}
LLMConfigParaError = {
    'code': 'ModelFactory.ModelController.LLMConfig.ParameterError',
    'description': '[message]',
    'detail': '[message]',
    'solution': '请检查输入信息',
    'link': ''
}

ModelFactory_BenchmarkController_ModelConfig_UnknownError_Error = {
    'code': 'ModelFactory.BenchmarkController.ModelConfig.UnknownError',
    "description": "发生了未知错误",
    "detail": "发生了未知错误",
    "solution": "发生了未知错误",
    "link": ""
}
ModelFactory_ModelController_Model_CanNotDelete_Error = {
    'code': 'ModelFactory.ModelController.Model.CanNotDelete',
    'description': '无法删除该模型',
    'detail': 'admin配置的模型在有用户配额的情况下无法被删除',
    'solution': 'admin配置的模型在有用户配额的情况下无法被删除',
    'link': ''
}
LimitsError = {
    "code": "ModelFactory.LimitsError",
    "description": "权限错误",
    "detail": "该用户没有权限调用该接口",
    "solution": "该用户没有权限调用该接口",
    "link": ""
}
ModelFactory_ModelUsedAuditController_GetModelArchivingList_OssNotAvailable_Error = {
    "code": "ModelFactory.ModelUsedAuditController.GetModelArchivingList.OssNotAvailable",
    "description": "对象存储不可用",
    "detail": "对象存储不可用",
    "solution": "请配置对象存储",
    "link": ""
}
ModelFactory_ModelController_Model_ConnectError_Error = {
    "code": "ModelFactory.ModelController.Model.ConnectError",
    "description": "模型连接异常",
    "detail": "模型连接异常",
    "solution": "请检查模型配置信息",
    "link": ""
}
ModelFactory_ModelController_Model_Error_Error = {
    "code": "ModelFactory.ModelController.Model.Error",
    "description": "大模型调用发生错误",
    "detail": "模型异常",
    "solution": "请检查配置信息",
    "link": ""
}
ModelFactory_ModelController_TestModel_Error_Error = {
    "code": "ModelFactory.ModelController.TestModel.Error",
    "description": "测试连接失败",
    "detail": "",
    "solution": "请检查模型配置信息",
    "link": ""
}

ModelFactory_SmallModelRouter_AddSmallModel_ParamError = {
    'code': 'ModelFactory.SmallModelRouter.AddSmallModel.ParameterError',
    'description': 'description',
    'detail': 'detail',
    'solution': '请检查填写的参数是否正确。',
    'link': ''
}
ModelFactory_SmallModelController_AddSmallModel_ModelNameDuplicateError = {
    'code': 'ModelFactory.SmallModelController.AddSmallModel.ModelNameDuplicateError',
    'description': 'description',
    'detail': 'detail',
    'solution': '请更换名称。',
    'link': ''
}
ModelFactory_SmallModelController_AddSmallModel_AudioNeedResultURLError = {
    'code': 'ModelFactory.SmallModelController.AddSmallModel.AudioNeedResultURLError',
    'description': '音频模型必须填写获取结果url。',
    'detail': '音频模型必须填写获取结果url。',
    'solution': '请填写参数result_url',
    'link': ''
}
ModelFactory_SmallModelController_AddSmallModel_UnknownError = {
    'code': 'ModelFactory.SmallModelController.AddSmallModel.UnknownError',
    'description': '未知错误',
    'detail': 'detail',
    'solution': '请联系开发人员',
    'link': ''
}
ModelFactory_SmallModelRouter_SmallModelList_ParamError = {
    'code': 'ModelFactory.SmallModelRouter.SmallModelList.ParameterError',
    'description': 'description',
    'detail': 'detail',
    'solution': '请检查填写的参数是否正确。',
    'link': ''
}
ModelFactory_SmallModelController_SmallModelList_UnknownError = {
    'code': 'ModelFactory.SmallModelController.SmallModelList.UnknownError',
    'description': '未知错误',
    'detail': 'detail',
    'solution': '请联系开发人员',
    'link': ''
}
ModelFactory_SmallModelRouter_SmallModelRun_ParamError = {
    'code': 'ModelFactory.SmallModelRouter.SmallModelRun.ParameterError',
    'description': 'description',
    'detail': 'detail',
    'solution': '请检查填写的参数是否正确。',
    'link': ''
}
ModelFactory_SmallModelController_SmallModelRun_ModelNotFoundError = {
    'code': 'ModelFactory.SmallModelController.SmallModelRun.ModelNotFoundError',
    'description': '输入的模型名称不存在',
    'detail': '输入的模型名称不存在',
    'solution': '请检查填写的模型名称。',
    'link': ''
}
ModelFactory_SmallModelController_SmallModelRun_ModelInferError = {
    'code': 'ModelFactory.SmallModelController.SmallModelRun.ModelInferError',
    'description': '模型推理失败',
    'detail': 'detail',
    'solution': '请检查模型重新推理。',
    'link': ''
}
ModelFactory_SmallModelController_SmallModelRun_UnknownError = {
    'code': 'ModelFactory.SmallModelController.SmallModelRun.UnknownError',
    'description': '未知错误',
    'detail': 'detail',
    'solution': '请联系开发人员',
    'link': ''
}
ModelFactory_SmallModelRouter_AsyncResult_ParamError = {
    'code': 'ModelFactory.SmallModelRouter.AsyncResult.ParameterError',
    'description': 'description',
    'detail': 'detail',
    'solution': '请检查填写的参数是否正确。',
    'link': ''
}
ModelFactory_SmallModelController_AsyncResult_ModelNotFoundError = {
    'code': 'ModelFactory.SmallModelController.AsyncResult.ModelNotFoundError',
    'description': '输入的模型名称不存在',
    'detail': '输入的模型名称不存在',
    'solution': '请检查填写的模型名称。',
    'link': ''
}
ModelFactory_SmallModelController_AsyncResult_GetResultError = {
    'code': 'ModelFactory.SmallModelController.AsyncResult.GetResultError',
    'description': '获取模型推理结果失败',
    'detail': 'detail',
    'solution': '请检查模型重新推理。',
    'link': ''
}
ModelFactory_SmallModelController_AsyncResult_UnknownError = {
    'code': 'ModelFactory.SmallModelController.AsyncResult.UnknownError',
    'description': '未知错误',
    'detail': 'detail',
    'solution': '请联系开发人员',
    'link': ''
}
ModelFactory_SmallModelRouter_ModelApiDoc_ParamError = {
    'code': 'ModelFactory.SmallModelRouter.ModelApiDoc.ParameterError',
    'description': 'description',
    'detail': 'detail',
    'solution': '请检查填写的参数是否正确。',
    'link': ''
}
ModelFactory_SmallModelController_ModelApiDoc_ModelNotFoundError = {
    'code': 'ModelFactory.SmallModelController.ModelApiDoc.ModelNotFoundError',
    'description': '输入的模型id不存在',
    'detail': '输入的模型id不存在',
    'solution': '请检查填写的模型id。',
    'link': ''
}
ModelFactory_SmallModelController_ModelApiDoc_UnknownError = {
    'code': 'ModelFactory.SmallModelController.ModelApiDoc.UnknownError',
    'description': '未知错误',
    'detail': 'detail',
    'solution': '请联系开发人员',
    'link': ''
}
ModelFactory_CotRouter_AddCotRouter_ParamError = {
    'code': 'ModelFactory.CotRouter.AddCotRouter.ParamError',
    'description': 'description',
    'detail': 'detail',
    'solution': '请检查填写的参数是否正确。',
    'link': ''
}
ModelFactory_CotController_AddCot_UnknownError = {
    'code': 'ModelFactory.CotController.AddCot.UnknownError',
    'description': '未知错误',
    'detail': 'detail',
    'solution': '请联系开发人员',
    'link': ''
}
ModelFactory_CotController_GetCot_UnknownError = {
    'code': 'ModelFactory.CotController.GetCot.UnknownError',
    'description': '未知错误',
    'detail': 'detail',
    'solution': '请联系开发人员',
    'link': ''
}
ModelFactory_CotController_AddCot_MissingContentError = {
    'code': 'ModelFactory.CotController.AddCot.MissingContentError',
    'description': '缺少更新内容',
    'detail': '请添加更新的内容',
    'solution': '请添加更新的内容',
    'link': ''
}
ModelFactory_CotController_AddCot_KgIdNotExist = {
    'code': 'ModelFactory.CotController.AddCot.KgIdNotExist',
    'description': '图谱id不存在',
    'detail': '图谱id不存在',
    'solution': '请填写正确的图谱id',
    'link': ''
}
ModelFactory_CotController_AddCot_IndexNameNotExist = {
    'code': 'ModelFactory.CotController.AddCot.IndexNameNotExist',
    'description': 'cot索引名不存在',
    'detail': 'cot索引名不存在',
    'solution': '请填写正确的cot索引名',
    'link': ''
}
ModelFactory_CotRouter_WriteCotRouter_ParamError = {
    'code': 'ModelFactory.CotRouter.WriteCotRouter.ParamError',
    'description': 'description',
    'detail': 'detail',
    'solution': '请检查填写的参数是否正确。',
    'link': ''
}
ModelFactory_CotController_WriteCot_EmbeddingError = {
    'code': 'ModelFactory.CotController.WriteCot.EmbeddingError',
    'description': 'embedding服务异常',
    'detail': 'detail',
    'solution': '请检查embedding服务配置',
    'link': ''
}
ModelFactory_CotController_WriteCot_UnknownError = {
    'code': 'ModelFactory.CotController.WriteCot.UnknownError',
    'description': '未知错误',
    'detail': 'detail',
    'solution': '请联系开发人员',
    'link': ''
}
ModelFactory_ExternalSmallModel_UnknownError = {
    'code': 'ModelFactory.ExternalSmallModel.UnknownError',
    'description': '未知错误',
    'detail': 'detail',
    'solution': '请联系开发人员',
    'link': ''
}
ModelFactory_ExternalSmallModel_AddModel_RepeatedNames_Error = {
    "code": "ModelFactory.ExternalSmallModel.AddModel.RepeatedNames",
    "description": "模型名称重复",
    "detail": "模型名称重复",
    "solution": "请修改模型名称",
    "link": ""
}
ModelFactory_ExternalSmallModel_EditModel_RepeatedNames_Error = {
    "code": "ModelFactory.ExternalSmallModel.EditModel.RepeatedNames",
    "description": "模型名称重复",
    "detail": "模型名称重复",
    "solution": "请修改模型名称",
    "link": ""
}
ModelFactory_ExternalSmallModel_GetInfo_IdNotExist_Error = {
    "code": "ModelFactory.ExternalSmallModel.GetInfo.IdNotExist",
    "description": "部分配置id不存在",
    "detail": "部分配置id不存在",
    "solution": "请输入正确的配置id",
    "link": ""
}
ModelFactory_ExternalSmallModel_Used_NameNotExist = {
    "code": "ModelFactory.ExternalSmallModel.Used.NameNotExist",
    "description": "模型名称不存在",
    "detail": "模型名称不存在",
    "solution": "请输入正确的模型名称",
    "link": ""
}
ModelFactory_ExternalSmallModel_Used_ConnectError = {
    "code": "ModelFactory.ExternalSmallModel.Used.ConnectError",
    "description": "模型连接失败",
    "detail": "模型连接失败",
    "solution": "请检查模型配置",
    "link": ""
}
ModelFactory_ExternalSmallModel_Used_ModelError = {
    "code": "ModelFactory.ExternalSmallModel.Used.ModelError",
    "description": "模型调用过程中出错",
    "detail": "模型调用过程中出错",
    "solution": "请联系开发人员",
    "link": ""
}
ModelFactory_ExternalSmallModel_EditModel_IdNotExist_Error = {
    "code": "ModelFactory.ExternalSmallModel.EditModel.IdNotExist",
    "description": "配置id不存在",
    "detail": "配置id不存在",
    "solution": "请输入正确的配置id",
    "link": ""
}
IdValueIsEmpty = {
    "code": "IdValueIsEmpty ",
    "description": "资源id为空",
    "detail": "资源id不允许为空",
    "solution": "请输入正确的id",
    "link": ""
}
UnauthorizedError = {
    "code": "Unauthorized",
    "description": "token无效或已过期",
    "detail": "token无效或已过期",
    "solution": "请检查token",
    "link": ""
}
HydraServiceError = {
    "code": "HydraServiceError",
    "description": "调用hrdra服务异常",
    "detail": "调用hrdra服务异常",
    "solution": "请检查hrdra服务状态",
    "link": ""
}
UserManagementError = {
    "code": "UserManagementServiceError",
    "description": "调用user-management服务异常",
    "detail": "调用user-management服务异常",
    "solution": "请检查user-management服务状态",
    "link": ""
}
NotPermissionError = {
    "code": "NotPermission",
    "description": "没有操作权限",
    "detail": "没有操作权限",
    "solution": "请联系管理员分配相应权限",
    "link": ""
}
DeletePermissionResuorceError = {
    "code": "DeletePermissionResuorceError",
    "description": "删除权限资源失败",
    "detail": "删除权限资源失败",
    "solution": "请检查服务：authorization-private是否正常",
    "link": ""
}
ModelQuotaControllerUserModelConfigNoLeftSpaceError = {
    "code": "ModelNager.ModelQuotaController.UserModelConfig.NoLeftSpace",
    "description": "大模型剩余额度不足",
    "detail": "本月额度已达上限，请联系管理员增加大模型使用额度后再试。",
    "solution": "请联系管理员增加额度",
    "link": ""
}
