mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
fix: copy
This commit is contained in:
parent
b6ad9e461f
commit
8b09ac061a
1 changed files with 4 additions and 5 deletions
|
@ -24,7 +24,7 @@ When opencode starts up, it looks for a config file in the current directory or
|
|||
|
||||
## Quick Access
|
||||
|
||||
You can quickly open and edit your opencode configuration file using the `/config` command. The command opens your project config (`opencode.json`) first, falling back to your global config (`~/.config/opencode/config.json`).
|
||||
Use the `/config` command to quickly open and edit your configuration. The command opens your project config (`opencode.json`) first, falling back to your global config (`~/.config/opencode/config.json`).
|
||||
|
||||
---
|
||||
|
||||
|
@ -43,7 +43,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": ""
|
||||
}
|
||||
```
|
||||
|
@ -74,7 +74,7 @@ You can customize your keybinds through the `keybinds` option.
|
|||
```json title="opencode.json"
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"keybinds": {}
|
||||
"keybinds": { }
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -89,7 +89,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": { }
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -109,7 +109,6 @@ 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