summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorKujtim Hoxha <[email protected]>2025-04-21 19:48:36 +0200
committerKujtim Hoxha <[email protected]>2025-04-21 19:53:55 +0200
commit3a6a26981a8074b6ab0eaadb520db986e04799ff (patch)
tree4fe2c022305f13775f2cab3cdd80cd808259765b /README.md
parentd7569d79c6da1437fe46343ed13810df6c8cae1f (diff)
downloadopencode-3a6a26981a8074b6ab0eaadb520db986e04799ff.tar.gz
opencode-3a6a26981a8074b6ab0eaadb520db986e04799ff.zip
init command
Diffstat (limited to 'README.md')
-rw-r--r--README.md55
1 files changed, 30 insertions, 25 deletions
diff --git a/README.md b/README.md
index 7e8c2791b..145a881f5 100644
--- a/README.md
+++ b/README.md
@@ -104,6 +104,7 @@ You can configure OpenCode using environment variables:
OpenCode supports a variety of AI models from different providers:
### OpenAI
+
- GPT-4.1 family (gpt-4.1, gpt-4.1-mini, gpt-4.1-nano)
- GPT-4.5 Preview
- GPT-4o family (gpt-4o, gpt-4o-mini)
@@ -112,6 +113,7 @@ OpenCode supports a variety of AI models from different providers:
- O4 Mini
### Anthropic
+
- Claude 3.5 Sonnet
- Claude 3.5 Haiku
- Claude 3.7 Sonnet
@@ -119,12 +121,14 @@ OpenCode supports a variety of AI models from different providers:
- Claude 3 Opus
### Google
+
- Gemini 2.5
- Gemini 2.5 Flash
- Gemini 2.0 Flash
- Gemini 2.0 Flash Lite
### AWS Bedrock
+
- Claude 3.7 Sonnet
## Usage
@@ -152,14 +156,15 @@ opencode -c /path/to/project
### Global Shortcuts
-| Shortcut | Action |
-| --------- | ------------------------------------------------------- |
-| `Ctrl+C` | Quit application |
-| `Ctrl+?` | Toggle help dialog |
-| `?` | Toggle help dialog (when not in editing mode) |
-| `Ctrl+L` | View logs |
-| `Ctrl+A` | Switch session |
-| `Esc` | Close current overlay/dialog or return to previous mode |
+| Shortcut | Action |
+| -------- | ------------------------------------------------------- |
+| `Ctrl+C` | Quit application |
+| `Ctrl+?` | Toggle help dialog |
+| `?` | Toggle help dialog (when not in editing mode) |
+| `Ctrl+L` | View logs |
+| `Ctrl+A` | Switch session |
+| `Ctrl+K` | Command dialog |
+| `Esc` | Close current overlay/dialog or return to previous mode |
### Chat Page Shortcuts
@@ -181,28 +186,28 @@ opencode -c /path/to/project
### Session Dialog Shortcuts
-| Shortcut | Action |
-| ------------- | ---------------- |
-| `↑` or `k` | Previous session |
-| `↓` or `j` | Next session |
-| `Enter` | Select session |
-| `Esc` | Close dialog |
+| Shortcut | Action |
+| ---------- | ---------------- |
+| `↑` or `k` | Previous session |
+| `↓` or `j` | Next session |
+| `Enter` | Select session |
+| `Esc` | Close dialog |
### Permission Dialog Shortcuts
-| Shortcut | Action |
-| ------------------------- | ----------------------- |
-| `←` or `left` | Switch options left |
-| `→` or `right` or `tab` | Switch options right |
-| `Enter` or `space` | Confirm selection |
-| `a` | Allow permission |
-| `A` | Allow permission for session |
-| `d` | Deny permission |
+| Shortcut | Action |
+| ----------------------- | ---------------------------- |
+| `←` or `left` | Switch options left |
+| `→` or `right` or `tab` | Switch options right |
+| `Enter` or `space` | Confirm selection |
+| `a` | Allow permission |
+| `A` | Allow permission for session |
+| `d` | Deny permission |
### Logs Page Shortcuts
-| Shortcut | Action |
-| ---------------- | ------------------- |
+| Shortcut | Action |
+| ------------------ | ------------------- |
| `Backspace` or `q` | Return to chat page |
## AI Assistant Tools
@@ -369,4 +374,4 @@ Contributions are welcome! Here's how you can contribute:
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
-Please make sure to update tests as appropriate and follow the existing code style. \ No newline at end of file
+Please make sure to update tests as appropriate and follow the existing code style.