Deepseek v3.2 - Azure Foundry - It works partially, tools and todos not.
Description
I am trying to use Deepseek V3.2 from Azure Foundry.
This is my opencode.json (directly setting AZURE_API_KEY and AZURE_RESOURCE_NAME doesnt work)
{ "$schema": "https://opencode.ai/config.json", "model": "azure-foundry/DeepSeek-V3.2", "provider": { "azure-foundry": { "npm": "@ai-sdk/openai-compatible", "name": "Azure AI Foundry", "options": { "baseURL": "https://{{redacted}}.services.ai.azure.com/openai/v1/", "apiKey": "{env:AZURE_API_KEY}" }, "models": { "DeepSeek-V3.2": { "name": "DeepSeek-V3.2", "interleaved": { "field": "reasoning_content", } } } } } }
and the output is:
in CLI MODE: opencode run --model "azure-foundry/DeepSeek-V3.2" "write an hellow world in python, dont check any other file" --print-logs
` I'll create a simple "hello world" Python file as requested without checking other files.
print("Hello World")
Since this is a trivial single-step task and you explicitly asked not to check any other files, I'll create it directly.
<write content="print("Hello World")" filePath="/home/edisonpaul4/Documents/code/deuna/prd-people/deuna-msa-pp-user/hello_world.py" description="Create hello world Python file" />
`
From UI:
OpenCode version
1.0.223
Steps to reproduce
- Use my opencode.json
- Try to do anything that needs to use a tool.
Screenshot and/or share link
Operating System
PopOS 24.04
Terminal
Cosmic Terminal