Should not happen.
Using API in Zed cause infinite loop.
"language_models": {
"openai_compatible": {
"Cmd": {
"api_url": "https://api.commandcode.ai/provider/v1",
"available_models": [
{
"name": "deepseek/deepseek-v4-flash",
"max_tokens": 1000000,
"max_output_tokens": 384000,
"max_completion_tokens": 384000,
"capabilities": {
"tools": true,
"images": false,
"parallel_tool_calls": true,
"prompt_cache_key": true,
"chat_completions": true,
"interleaved_reasoning": false,
"max_tokens_parameter": true
}
}
]
}
},
}
and play around with it.
Summary
Expected Behavior
Should not happen.
Actual Behavior
Using API in Zed cause infinite loop.
Steps to reproduce the issue
Use this Zed config
and play around with it.
Command Code Version
Using API
Operating System
macOS
Terminal/IDE
Zed
Shell
No response
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response