@@ -104,6 +104,7 @@ You can configure OpenCode using environment variables:
104104OpenCode supports a variety of AI models from different providers:
105105
106106### OpenAI
107+
107108- GPT-4.1 family (gpt-4.1, gpt-4.1-mini, gpt-4.1-nano)
108109- GPT-4.5 Preview
109110- GPT-4o family (gpt-4o, gpt-4o-mini)
@@ -112,19 +113,22 @@ OpenCode supports a variety of AI models from different providers:
112113- O4 Mini
113114
114115### Anthropic
116+
115117- Claude 3.5 Sonnet
116118- Claude 3.5 Haiku
117119- Claude 3.7 Sonnet
118120- Claude 3 Haiku
119121- Claude 3 Opus
120122
121123### Google
124+
122125- Gemini 2.5
123126- Gemini 2.5 Flash
124127- Gemini 2.0 Flash
125128- Gemini 2.0 Flash Lite
126129
127130### AWS Bedrock
131+
128132- Claude 3.7 Sonnet
129133
130134## Usage
@@ -152,14 +156,15 @@ opencode -c /path/to/project
152156
153157### Global Shortcuts
154158
155- | Shortcut | Action |
156- | --------- | ------------------------------------------------------- |
157- | ` Ctrl+C ` | Quit application |
158- | ` Ctrl+? ` | Toggle help dialog |
159- | ` ? ` | Toggle help dialog (when not in editing mode) |
160- | ` Ctrl+L ` | View logs |
161- | ` Ctrl+A ` | Switch session |
162- | ` Esc ` | Close current overlay/dialog or return to previous mode |
159+ | Shortcut | Action |
160+ | -------- | ------------------------------------------------------- |
161+ | ` Ctrl+C ` | Quit application |
162+ | ` Ctrl+? ` | Toggle help dialog |
163+ | ` ? ` | Toggle help dialog (when not in editing mode) |
164+ | ` Ctrl+L ` | View logs |
165+ | ` Ctrl+A ` | Switch session |
166+ | ` Ctrl+K ` | Command dialog |
167+ | ` Esc ` | Close current overlay/dialog or return to previous mode |
163168
164169### Chat Page Shortcuts
165170
@@ -181,28 +186,28 @@ opencode -c /path/to/project
181186
182187### Session Dialog Shortcuts
183188
184- | Shortcut | Action |
185- | ------------- | ---------------- |
186- | ` ↑ ` or ` k ` | Previous session |
187- | ` ↓ ` or ` j ` | Next session |
188- | ` Enter ` | Select session |
189- | ` Esc ` | Close dialog |
189+ | Shortcut | Action |
190+ | ---------- | ---------------- |
191+ | ` ↑ ` or ` k ` | Previous session |
192+ | ` ↓ ` or ` j ` | Next session |
193+ | ` Enter ` | Select session |
194+ | ` Esc ` | Close dialog |
190195
191196### Permission Dialog Shortcuts
192197
193- | Shortcut | Action |
194- | ------------------------- | ----------------------- |
195- | ` ← ` or ` left ` | Switch options left |
196- | ` → ` or ` right ` or ` tab ` | Switch options right |
197- | ` Enter ` or ` space ` | Confirm selection |
198- | ` a ` | Allow permission |
199- | ` A ` | Allow permission for session |
200- | ` d ` | Deny permission |
198+ | Shortcut | Action |
199+ | ----------------------- | ----- ----------------------- |
200+ | ` ← ` or ` left ` | Switch options left |
201+ | ` → ` or ` right ` or ` tab ` | Switch options right |
202+ | ` Enter ` or ` space ` | Confirm selection |
203+ | ` a ` | Allow permission |
204+ | ` A ` | Allow permission for session |
205+ | ` d ` | Deny permission |
201206
202207### Logs Page Shortcuts
203208
204- | Shortcut | Action |
205- | ---------------- | ------------------- |
209+ | Shortcut | Action |
210+ | ------------------ | ------------------- |
206211| ` Backspace ` or ` q ` | Return to chat page |
207212
208213## AI Assistant Tools
@@ -369,4 +374,4 @@ Contributions are welcome! Here's how you can contribute:
3693744 . Push to the branch (` git push origin feature/amazing-feature ` )
3703755 . Open a Pull Request
371376
372- Please make sure to update tests as appropriate and follow the existing code style.
377+ Please make sure to update tests as appropriate and follow the existing code style.
0 commit comments