Загрузка данных
{ // Схема для проверки/автодополнения в редакторе "$schema": "https://opencode.ai/config.json", // Модель по умолчанию: <провайдер>/<id модели> "model": "xerosharc/claude-sonnet-5-5", "providers": { // Имя провайдера = префикс в ссылке на модель "xerosharc": { "name": "Xerosharc", "package": "@opencode/ai/providers/openai-compatible", "settings": { "baseURL": "https://xerosharc.site/v1", "apiKey": "sk-eF37fksWLTiEPMEloWZ0DjBmS5Wgzp9uOUCiwGFEujDeiCHx" }, "models": { "claude-sonnet-5-5": { "name": "Claude Sonnet 5.5", "capabilities": { "tools": true, "input": ["text", "image"], "output": ["text"] }, "limit": { "context": 200000, "output": 32000 } }, // Рабочая замена, если Sonnet 5.5 отвечает 503 (нет мощности на сервере) "claude-sonnet-5": { "name": "Claude Sonnet 5", "capabilities": { "tools": true, "input": ["text", "image"], "output": ["text"] }, "limit": { "context": 200000, "output": 32000 } } // Другие модели этого прокси — убери // чтобы включить: // "claude-opus-5-5": { "name": "Claude Opus 5.5", "capabilities": { "tools": true, "input": ["text", "image"], "output": ["text"] }, "limit": { "context": 200000, "output": 32000 } }, // "gpt-5.5": { "name": "GPT-5.5", "capabilities": { "tools": true, "input": ["text", "image"], "output": ["text"] }, "limit": { "context": 200000, "output": 32000 } } } } } }