support global config for providers

This commit is contained in:
Dax Raad
2025-06-17 12:10:44 -04:00
parent ee91f31313
commit d579c5e8aa
4 changed files with 84 additions and 22 deletions

View File

@@ -1,13 +1,5 @@
{
"$schema": "https://opencode.ai/config.json",
"mcp": {},
"provider": {
"openrouter": {
"npm": "@openrouter/ai-sdk-provider",
"name": "OpenRouter",
"models": {
"anthropic/claude-sonnet-4": {}
}
}
}
"provider": {}
}