错误信息: Model does not exist. Please check it carefully. 堆栈信息: AI_APICallError at ...
🚨 错误信息
错误名称: AI_APICallError
错误信息: Model does not exist. Please check it carefully.
堆栈信息: AI_APICallError
at file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/dist-BZs3eZLI.js:2096:11
at async postToApi (file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/dist-BZs3eZLI.js:1977:24)
at async OpenAICompatibleChatLanguageModel.doStream (file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/dist-vAvP7HYr.js:451:48)
at async wrapStream (file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-369QdHSK.js:54847:32)
at async fn (file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-369QdHSK.js:53713:17)
at async file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-369QdHSK.js:50067:19
at async _retryWithExponentialBackoff (file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-369QdHSK.js:50230:10)
at async streamStep (file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-369QdHSK.js:53682:109)
at async fn (file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-369QdHSK.js:53988:5)
at async file:///D:/Users/%E8%B5%AB%E6%BD%87%E6%96%8C/AppData/Local/Programs/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-369QdHSK.js:50067:19
错误原因: "[undefined]"
状态码: 400
请求路径: https://api.siliconflow.cn/v1/chat/completions
请求体: {
"model": "DeepSeek-V3.2",
"user": "[undefined]",
"max_tokens": "[undefined]",
"temperature": 1,
"top_p": "[undefined]",
"frequency_penalty": "[undefined]",
"presence_penalty": "[undefined]",
"response_format": "[undefined]",
"stop": "[undefined]",
"seed": "[undefined]",
"serviceTier": "[undefined]",
"reasoning_effort": "[undefined]",
"verbosity": "[undefined]",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "这是我的本科毕业设计任务书,我现在不知道行文的大体思路,你要根据设计内容,告诉我应该怎么写,尽可能使得我的论文内容足够简单,工具只用matlab"
},
{
"type": "text",
"text": "毕业设计任务书-赫潇斌.doc\n毕 业 设 计 任 务 书\n\n\n题 目 基于碳交易约束的综合能源系统经济调度研究 \n学院(部) 能源与电气工程学院 \n专 业 新能源科学与工程 \n班 级 2022380101 \n学生姓名 赫潇斌 \n学 号 2022901111 \n\n 3 月 2 日至 6 月 19 日共 16 周\n\n指导教师(签字) \n教学院长(签字) \n \n 2026年 1 月 5 日\n设计内容\n构建包含电、热、气等多种能源形式的综合能源系统模型,分析系统内各类能源的供需关系及多能耦合特性,建立主要能源转换与供能设备的运行模型,为系统优化调度奠定基础。\n在综合能源系统运行模型的基础上,引入碳交易机制,建立系统碳排放与碳配额模型,将碳交易成本纳入系统运行目标函数,构建以运行总成本最小为目标、满足能量平衡及设备运行约束的经济调度模型。\n选取典型综合能源系统算例,利用优化求解工具对所建模型进行仿真计算,对比分析不同碳交易情景下系统的运行成本、能源利用情况及碳排放水平,验证所建模型和调度方法的合理性与有效性。\t\n设计原始资料\n综合能源系统仿真软件\n参考文献及其他资料\t\n三、设计完成后提交的文件和图表\n1.计算说明书部分\n1)任务书\n2)开题报告\n3)英文翻译\n4)论文正文\t\n2.图纸部分:\n无\t\n四、毕业设计进程安排\n序号 设计(论文)各阶段名称 日期(教学周)\n1 收集资料、调整确定题目 1\n2 阅读资料、确定整体研究设计方案 2-3\n3 设备调试并完成开题报告 4\n4 模型设计与构建 5-7\n5 软件学习 8\n6 优化方法学习 9-11\n7 能源系统优化 12-13\n8 材料整理、论文撰写 14-15\n 评审、毕业答辩 16\t\nLI Xiaozhu,WANG Weiqing,WANG Haiyun. Hybrid time-scale energy optimal scheduling strategy for integrated energy system with bilateral interaction with supply and demand[J]. Applied Energy,2021,285:116458.\n. WANG Yongli,WANG Yudong,HUANG Yujing,et al. Operation optimization of regional integrated energy system based on the modeling of electricity-thermal-natural gas network[J].Applied Energy,2019,251:113410.\nJI Ling,LIANG Xiaolin,XIE Yulei,et al. Optimal design and sensitivity analysis of the stand-alone hybrid energy system with PV and biomass-CHP for remote villages[J]. Energy,2021,225:120323.\nWANG Jiawei,YOU Shi,ZONG Yi,et al. Flexibility of combined heat and power plants:a review of technologies and operation strategies[J]. Applied Energy,2019,252:113445."
}
]
}
],
"tools": "[undefined]",
"tool_choice": "[undefined]",
"stream": true,
"stream_options": {
"include_usage": true
}
}
响应首部: {
"content-length": "87",
"content-type": "application/json; charset=utf-8",
"date": "Thu, 05 Mar 2026 08:11:15 GMT",
"document-policy": "include-js-call-stacks-in-crash-reports",
"x-siliconcloud-trace-id": "ti_60bvhj9ysgdxx984q8"
}
响应内容: {
"code": 20012,
"message": "Model does not exist. Please check it carefully.",
"data": null
}
数据: "[undefined]"
🤖 AI解决方案
##错误翻译
原文:Model does not exist. Please check it carefully.
译文:模型不存在,请仔细检查。根本原因:请求中指定的模型名称
具体位置:向
修改请求体中的前置校验:调用API前通过官方文档或
配置化管理:用环境变量/配置文件存储模型名称,避免硬编码错误(如
原文:Model does not exist. Please check it carefully.
译文:模型不存在,请仔细检查。
##原因分析
DeepSeek-V3.2未被API服务端识别(响应码400,message明确模型不存在)。 https://api.siliconflow.cn/v1/chat/completions发送请求时,request body的model参数值错误。 解决方案
修改请求体中的
model为API支持的模型名称(需查阅[SiliconFlow API文档](https://docs.siliconflow.cn/)确认可用模型)。以下是修复后的请求体示例: json
{
"model": "deepseek-chat", // 替换为官方文档中的有效模型名(如示例中的"deepseek-chat")
"user": "[undefined]",
"max_tokens": "[undefined]",
"temperature": 1,
"top_p": "[undefined]",
"frequency_penalty": "[undefined]",
"presence_penalty": "[undefined]",
"response_format": "[undefined]",
"stop": "[undefined]",
"seed": "[undefined]",
"serviceTier": "[undefined]",
"reasoning_effort": "[undefined]",
"verbosity": "[undefined]",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "这是我的本科毕业设计任务书,我现在不知道行文的大体思路,你要根据设计内容,告诉我应该怎么写,尽可能使得我的论文内容足够简单,工具只用matlab"
},
{
"type": "text",
"text": "毕业设计任务书-赫潇斌.doc\n毕 业 设 计 任 务 书\n\n\n题 目 基于碳交易约束的综合能源系统经济调度研究 \n学院(部) 能源与电气工程学院 \n专 业 新能源科学与工程 \n班 级 2022380101 \n学生姓名 赫潇斌 \n学 号 2022901111 \n\n 3 月 2 日至 6 月 19 日共 16 周\n\n指导教师(签字) \n教学院长(签字) \n \n 2026年 1 月 5 日\n设计内容\n构建包含电、热、气等多种能源形式的综合能源系统模型,分析系统内各类能源的供需关系及多能耦合特性,建立主要能源转换与供能设备的运行模型,为系统优化调度奠定基础。\n在综合能源系统运行模型的基础上,引入碳交易机制,建立系统碳排放与碳配额模型,将碳交易成本纳入系统运行目标函数,构建以运行总成本最小为目标、满足能量平衡及设备运行约束的经济调度模型。\n选取典型综合能源系统算例,利用优化求解工具对所建模型进行仿真计算,对比分析不同碳交易情景下系统的运行成本、能源利用情况及碳排放水平,验证所建模型和调度方法的合理性与有效性。\t\n设计原始资料\n综合能源系统仿真软件\n参考文献及其他资料\t\n三、设计完成后提交的文件和图表\n1.计算说明书部分\n1)任务书\n2)开题报告\n3)英文翻译\n4)论文正文\t\n2.图纸部分:\n无\t\n四、毕业设计进程安排\n序号 设计(论文)各阶段名称 日期(教学周)\n1 收集资料、调整确定题目 1\n2 阅读资料、确定整体研究设计方案 2-3\n3 设备调试并完成开题报告 4\n4 模型设计与构建 5-7\n5 软件学习 8\n6 优化方法学习 9-11\n7 能源系统优化 12-13\n8 材料整理、论文撰写 14-15\n 评审、毕业答辩 16\t\nLI Xiaozhu,WANG Weiqing,WANG Haiyun. Hybrid time-scale energy optimal scheduling strategy for integrated energy system with bilateral interaction with supply and demand[J]. Applied Energy,2021,285:116458.\n. WANG Yongli,WANG Yudong,HUANG Yujing,et al. Operation optimization of regional integrated energy system based on the modeling of electricity-thermal-natural gas network[J].Applied Energy,2019,251:113410.\nJI Ling,LIANG Xiaolin,XIE Yulei,et al. Optimal design and sensitivity analysis of the stand-alone hybrid energy system with PV and biomass-CHP for remote villages[J]. Energy,2021,225:120323.\nWANG Jiawei,YOU Shi,ZONG Yi,et al. Flexibility of combined heat and power plants:a review of technologies and operation strategies[J]. Applied Energy,2019,252:113445."
}
]
}
],
"stream": true,
"stream_options": {
"include_usage": true
}
}
##️ 预防措施
GET /v1/models端点查询可用模型列表,避免使用无效名称。 MODEL_NAME=deepseek-chat)。 推荐工具:Postman(测试API请求参数)、Swagger UI(可视化API文档)。