opencode go的deepseek不能用工具了

Karl 2026-06-28 22:12 1

一直報錯,連帶claude也不能用deepseek了;

Error from provider (DeepSeek): Thinking mode does not support this tool_choice

重試


輸入

{

“apiType”: “openai-compatible”,

“baseUrl”: “https://opencode.ai/zen/go”,

“modelId”: “deepseek-v4-flash”,

“prompt”: “Call the verify_tool tool once. Reply with a short sentence that includes the returned time.”,

“tool”: {

“name”: “verify_tool”,

“description”: “Return a timestamp string.”,

“inputSchema”: {

“type”: “object”,

“properties”: {}

}

},

“toolChoice”: “required”

}


輸出

{

“inferredHttpStatus”: 400

}


最新回复 (1)
  • HavenLiew 06-28 22:51
    1

    我这边好像也不行了,是直接不让接了?

* 帖子来源Linux.do
返回