🔍 API报错解决方案大全

程序员必备 · 错误查询手册 · AI智能解答

🏠 返回首页

1,293

已收录的API报错解决方案

错误信息: Unsupported value: 'reasoning_effort' does not support 'minimal' with this model. Supported values are: 'none', 'low', 'medium', 'high', and 'xhigh'. 堆栈信息: AI_APICallError: Unsupported value: 'reasoning_effort' does not support 'minimal' with this model. Supported values are: 'none', 'low', 'medium', 'high', and 'xhigh'. at file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/dist-gixTQuVo.js:5132:11 at async postToApi (file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/dist-gixTQuVo.js:5028:24) at async OpenAICompatibleChatLanguageModel$1.doStream (file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:243247:48) at async wrapStream (file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:38758:31) at async fn (file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:36943:17) at async file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:34321:19 at async _retryWithExponentialBackoff (file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:34423:10) at async streamStep (file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:36911:108) at async fn (file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:37190:5) at async file:///E:/CherryStudio/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:34321:19 错误原因: "[undefined]" 状态码: 400 请求路径: https://www.dmxapi.cn/v1/chat/completions 请求体: { "model": "gpt-5.2-2025-12-11", "user": "[undefined]", "max_tokens": "[undefined]", "temperature": "[undefined]", "top_p": "[undefined]", "frequency_penalty": "[undefined]", "presence_penalty": "[undefined]", "response_format": "[undefined]", "stop": "[undefined]", "seed": "[undefined]", "serviceTier": "[undefined]", "reasoning_effort": "minimal", "verbosity": "medium", "messages": [ { "role": "user", "content": "你好" }, { "role": "user", "content": "1" } ], "tools": [ { "type": "function", "function": { "name": "builtin_memory_search", "description": "Search through conversation memories and stored facts for relevant context", "parameters": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "query": { "description": "Search query to find relevant memories", "type": "string" }, "limit": { "description": "Maximum number of memories to return", "default": 5, "type": "number", "minimum": 1, "maximum": 20 } }, "required": [ "query", "limit" ], "additionalProperties": false } } } ], "tool_choice": "auto", "stream": true, "stream_options": { "include_usage": true } } 响应首部: { "cache-control": "no-cache", "content-type": "text/event-stream", "date": "Fri, 12 Dec 2025 06:49:16 GMT", "document-policy": "include-js-call-stacks-in-crash-reports", "server": "nginx", "x-rixapi-request-id": "202512121449128098620277bEFYMDe" } 响应内容: { "error": { "message": "Unsupported value: 'reasoning_effort' does not support 'minimal' with this model. Supported values are: 'none', 'low', 'medium', 'high', and 'xhigh'.", "type": "rix_api_error", "param": "reasoning_effort", "code": "unsupported_value" } } 数据: { "error": { "message": "Unsupported value: 'reasoning_effort' does not support 'minimal' with this model. Supported values are: 'none', 'low', 'medium', 'high', and 'xhigh'.", "type": "rix_api_error", "param": "reasoning_effort", "code": "unsupported_value" } }

15天前