v2 message format and upgrade to ai sdk v5 (#743)
Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me> Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com> Co-authored-by: Jay V <air@live.ca> Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
This commit is contained in:
parent
76b2e4539c
commit
f884766445
116 changed files with 4520 additions and 6763 deletions
|
|
@ -39,7 +39,7 @@ You can configure the providers and models you want to use in your opencode conf
|
|||
```json title="opencode.json"
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"provider": { },
|
||||
"provider": {},
|
||||
"model": ""
|
||||
}
|
||||
```
|
||||
|
|
@ -70,7 +70,7 @@ You can customize your keybinds through the `keybinds` option.
|
|||
```json title="opencode.json"
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"keybinds": { }
|
||||
"keybinds": {}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ You can configure MCP servers you want to use through the `mcp` option.
|
|||
```json title="opencode.json"
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"mcp": { }
|
||||
"mcp": {}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -105,6 +105,7 @@ You can disable providers that are loaded automatically through the `disabled_pr
|
|||
```
|
||||
|
||||
The `disabled_providers` option accepts an array of provider IDs. When a provider is disabled:
|
||||
|
||||
- It won't be loaded even if environment variables are set
|
||||
- It won't be loaded even if API keys are configured through `opencode auth login`
|
||||
- The provider's models won't appear in the model selection list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue