mirror of
https://github.com/sst/opencode.git
synced 2025-09-04 20:20:34 +00:00
docs: add model docs
This commit is contained in:
parent
97a31ddffc
commit
0130190bbd
1 changed files with 1 additions and 3 deletions
|
@ -28,11 +28,9 @@ You can add custom providers by specifying the npm package for the provider and
|
||||||
"$schema": "https://opencode.ai/config.json",
|
"$schema": "https://opencode.ai/config.json",
|
||||||
"provider": {
|
"provider": {
|
||||||
"openrouter": {
|
"openrouter": {
|
||||||
"npm": "@openrouter/ai-sdk-provider",
|
|
||||||
"name": "OpenRouter",
|
"name": "OpenRouter",
|
||||||
"options": {},
|
|
||||||
"models": {
|
"models": {
|
||||||
"anthropic/claude-3.5-sonnet": {
|
"weirdo/some-weird-model": {
|
||||||
"name": "Claude 3.5 Sonnet"
|
"name": "Claude 3.5 Sonnet"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue