bug: Error: Azure OpenAI API error
"I'm sure the model name 'gpt-4.1' and the URL are correct, but it's still throwing an error and I don't understand why.
Following the official recommendation, I updated Task Master to version 0.2 in Cursor, but I'm still unable to successfully invoke mcp
Can I see your config.json
我可以看看你的 config.json 吗
{ "models": { "main": { "provider": "azure", "modelId": "gpt-4.1", "maxTokens": 64000, "temperature": 0.2 }, "research": { "provider": "azure", "modelId": "gpt-4.1", "maxTokens": 8700, "temperature": 0.1 }, "fallback": { "provider": "azure", "modelId": "gpt-4.1", "maxTokens": 8192, "temperature": 0.2 } }, "global": { "logLevel": "info", "debug": false, "defaultNumTasks": 10, "defaultSubtasks": 5, "defaultPriority": "medium", "projectName": "Task Master", "ollamaBaseURL": "http://localhost:11434/api", "bedrockBaseURL": "https://bedrock.us-east-1.amazonaws.com", "responseLanguage": "English", "defaultTag": "master", "azureBaseURL": "https://admin-m9jmde1e-eastus2.cognitiveservices.azure.com/", "userId": "1234567890" }, "claudeCode": {} }
Hello, @xiaotang-12-ops : are you sure the name is "azureBaseURL", I have "azureOpenaiBaseURL" on my side... @Crunchyman-ralph : can you confirm please ? I'm using azure openai models, I don't find how to make it works... some help ? Thank you by advance.
UPDATE: Finally I take URI cible of the model (not the ai service) and remove the end of URI into /deployments and use it config.json EX: https://xxxxxxxxxxxxxxx.openai.azure.com/openai/deployments
你好, @xiaotang-12-ops:你确定名字是“azureBaseURL”吗,我这边有“azureOpenaiBaseURL”...... @Crunchyman-ralph:请问您能确认一下吗? 我正在使用 Azure OpenAI 模型,但不知道该如何操作……能帮忙吗? 提前谢谢您。
更新: 最后我采用模型的 URI 定义(不是 ai 服务)并将 URI 的末尾删除到 /deployments 中并使用它 config.json EX:https://xxxxxxxxxxxxxxx.openai.azure.com/openai/deployments
I haven't been successful either, nor have I waited for an official reply from me
Found 3 possible duplicate issues:
- https://github.com/eyaltoledano/claude-task-master/issues/638
- https://github.com/eyaltoledano/claude-task-master/issues/627
- https://github.com/eyaltoledano/claude-task-master/issues/816
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with [Task Master Bot]
@xiaotang-12-ops closing this for now, if anyone can create a post on the taskmaster discord in the #troubleshooting channel that way we can debug and hop on a call and solve together since I don't have an azure account, I would have to test my fixes with someone who does have an azure account.