Skip to content

Commit 0c38c0f

Browse files
committed
update readme and gemini
1 parent 12a98d6 commit 0c38c0f

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

README.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ A powerful terminal-based AI assistant for developers, providing intelligent cod
1010

1111
OpenCode is a Go-based CLI application that brings AI assistance to your terminal. It provides a TUI (Terminal User Interface) for interacting with various AI models to help with coding tasks, debugging, and more.
1212

13+
<p>For a quick video overview, check out
14+
<a href="https://www.youtube.com/watch?v=P8luPmEa1QI"><img width="25" src="https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg"> OpenCode + Gemini 2.5 Pro: BYE Claude Code! I'm SWITCHING To the FASTEST AI Coder!</a></p>
15+
16+
<a href="https://www.youtube.com/watch?v=P8luPmEa1QI"><img width="550" src="https://i3.ytimg.com/vi/P8luPmEa1QI/maxresdefault.jpg"></a><p>
17+
1318
## Features
1419

1520
- **Interactive TUI**: Built with [Bubble Tea](https://github.com/charmbracelet/bubbletea) for a smooth terminal experience
@@ -273,23 +278,23 @@ By default, a spinner animation is displayed while the model is processing your
273278

274279
OpenCode supports the following output formats in non-interactive mode:
275280

276-
| Format | Description |
277-
| ------ | -------------------------------------- |
278-
| `text` | Plain text output (default) |
279-
| `json` | Output wrapped in a JSON object |
281+
| Format | Description |
282+
| ------ | ------------------------------- |
283+
| `text` | Plain text output (default) |
284+
| `json` | Output wrapped in a JSON object |
280285

281286
The output format is implemented as a strongly-typed `OutputFormat` in the codebase, ensuring type safety and validation when processing outputs.
282287

283288
## Command-line Flags
284289

285-
| Flag | Short | Description |
286-
| ----------------- | ----- | ------------------------------------------------------ |
287-
| `--help` | `-h` | Display help information |
288-
| `--debug` | `-d` | Enable debug mode |
289-
| `--cwd` | `-c` | Set current working directory |
290-
| `--prompt` | `-p` | Run a single prompt in non-interactive mode |
291-
| `--output-format` | `-f` | Output format for non-interactive mode (text, json) |
292-
| `--quiet` | `-q` | Hide spinner in non-interactive mode |
290+
| Flag | Short | Description |
291+
| ----------------- | ----- | --------------------------------------------------- |
292+
| `--help` | `-h` | Display help information |
293+
| `--debug` | `-d` | Enable debug mode |
294+
| `--cwd` | `-c` | Set current working directory |
295+
| `--prompt` | `-p` | Run a single prompt in non-interactive mode |
296+
| `--output-format` | `-f` | Output format for non-interactive mode (text, json) |
297+
| `--quiet` | `-q` | Hide spinner in non-interactive mode |
293298

294299
## Keyboard Shortcuts
295300

@@ -572,7 +577,7 @@ While the LSP client implementation supports the full LSP protocol (including co
572577
OpenCode can also load and use models from a self-hosted (OpenAI-like) provider.
573578
This is useful for developers who want to experiment with custom models.
574579

575-
### Configuring a self-hosted provider
580+
### Configuring a self-hosted provider
576581

577582
You can use a self-hosted model by setting the `LOCAL_ENDPOINT` environment variable.
578583
This will cause OpenCode to load and use the models from the specified endpoint.

internal/llm/models/gemini.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var GeminiModels = map[ModelID]Model{
2828
ID: Gemini25,
2929
Name: "Gemini 2.5 Pro",
3030
Provider: ProviderGemini,
31-
APIModel: "gemini-2.5-pro-preview-03-25",
31+
APIModel: "gemini-2.5-pro-preview-05-06",
3232
CostPer1MIn: 1.25,
3333
CostPer1MInCached: 0,
3434
CostPer1MOutCached: 0,

0 commit comments

Comments
 (0)