Merge branch 'dev' into opentui

This commit is contained in:
Dax Raad 2025-10-13 13:28:47 -04:00
commit 31266f7fbc
5 changed files with 21 additions and 12 deletions

View file

@ -98,6 +98,7 @@ It's very similar to Claude Code in terms of capability. Here are the key differ
- 100% open source
- Not coupled to any provider. Although Anthropic is recommended, OpenCode can be used with OpenAI, Google or even local models. As models evolve the gaps between them will close and pricing will drop so being provider-agnostic is important.
- Out of the box LSP support
- A focus on TUI. OpenCode is built by neovim users and the creators of [terminal.shop](https://terminal.shop); we are going to push the limits of what's possible in the terminal.
- A client/server architecture. This for example can allow OpenCode to run on your computer, while you can drive it remotely from a mobile app. Meaning that the TUI frontend is just one of the possible clients.

View file

@ -106,3 +106,4 @@
| 2025-10-09 | 479,203 (+4,560) | 400,526 (+6,387) | 879,729 (+10,947) |
| 2025-10-10 | 484,374 (+5,171) | 406,015 (+5,489) | 890,389 (+10,660) |
| 2025-10-11 | 488,427 (+4,053) | 414,699 (+8,684) | 903,126 (+12,737) |
| 2025-10-12 | 492,125 (+3,698) | 418,745 (+4,046) | 910,870 (+7,744) |

View file

@ -1 +1 @@
Lists files and directories in a given path. The path parameter must be an absolute path, not a relative path. You can optionally provide an array of glob patterns to ignore with the ignore parameter. You should generally prefer the Glob and Grep tools, if you know which directories to search.
Lists files and directories in a given path. The path parameter must be absolute; omit it to use the current workspace directory. You can optionally provide an array of glob patterns to ignore with the ignore parameter. You should generally prefer the Glob and Grep tools, if you know which directories to search.

View file

@ -33,11 +33,14 @@ There are a lot of models out there, with new models coming out every week.
Consider using one of the models we recommend.
:::
However, there are a only a few of them that are good at both generating code and tool calling.
However, there are only a few of them that are good at both generating code and tool calling.
Here are the ones we recommend with OpenCode:
Here are several models, in no particular order, that work well with OpenCode (to name a few):
- GPT 5
- GPT 5 Codex
- Claude Sonnet 4.5
- Claude Sonnet 4
- Claude Opus 4.1
- Kimi K2
- Qwen3 Coder
@ -100,7 +103,7 @@ You can globally configure a model's options through the config.
}
```
Here we're configuring global settings for two built-in models: `gpt-5` when accessed via the `openai` provider, and `claude-sonnet-4-20250514` when accessed via the `anthropic` provider.
Here we're configuring global settings for two built-in models: `gpt-5` when accessed via the `openai` provider, and `claude-sonnet-4-20250514` when accessed via the `anthropic` provider.
The built-in provider and model names can be found on [Models.dev](https://models.dev).
You can also configure these options for any agents that you are using. The agent config overrides any global options here. [Learn more](/docs/agents/#additional).
@ -118,20 +121,20 @@ You can also define custom models that extend built-in ones and can optionally u
"options": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
"reasoningSummary": "auto",
},
},
"gpt-5-low": {
"id": "gpt-5",
"options": {
"reasoningEffort": "low",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
}
}
}
}
"reasoningSummary": "auto",
},
},
},
},
},
}
```

View file

@ -526,6 +526,10 @@ In this example:
- `options.baseURL` is the endpoint for the local server.
- `models` is a map of model IDs to their configurations. The model name will be displayed in the model selection list.
:::tip
If tool calls aren't working, try increasing `num_ctx` in Ollama. Start around 16k - 32k.
:::
---
### OpenAI