Zed
В Zed два провайдера: anthropic_compatible для Claude и openai_compatible для остальных моделей. Ключ общий.
- 1Откройте настройки: Ctrl/Cmd+Shift+P →
zed: open settings. - 2Добавьте блок
language_models:
json
{
"language_models": {
"anthropic_compatible": {
"wellflow-claude": {
"api_url": "https://api.wellflow.dev",
"available_models": [
{ "name": "claude-sonnet-5", "display_name": "Claude Sonnet 5", "max_tokens": 1000000, "max_output_tokens": 32000,
"capabilities": { "tools": true, "images": true, "prompt_caching": true } }
]
}
},
"openai_compatible": {
"wellflow": {
"api_url": "https://api.wellflow.dev/v1",
"available_models": [
{ "name": "gpt-6-astra", "display_name": "GPT-6 Astra", "max_tokens": 1000000, "max_completion_tokens": 32000,
"capabilities": { "tools": true, "images": true, "prompt_cache_key": true } }
]
}
}
}
}- 3Ключ:
agent: open settings→ LLM Providers → ваш провайдер → вставьте ключ. Или переменныеWELLFLOW_CLAUDE_API_KEYиWELLFLOW_API_KEY. - 4Откройте панель агента (Ctrl/Cmd+?) и выберите модель внизу.
У Claude адрес без /v1. Не убирайте capabilities: без "tools": true агент не может читать и править файлы.