diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 7 insertions, 3 deletions
| @@ -56,11 +56,15 @@ export OPENCODE_API_KEY=... # or write it to ~/.config/agent686/key | |||
| 56 | ``` | 56 | ``` |
| 57 | 57 | ||
| 58 | Provider is OpenCode Go, `chat/completions`, model `deepseek-v4.1-flash` by | 58 | Provider is OpenCode Go, `chat/completions`, model `deepseek-v4.1-flash` by |
| 59 | default. Every request carries a stable `x-opencode-session` header, which the | 59 | default; `--provider ollama|openai|openrouter|vllm|llamacpp` switches to another |
| 60 | service uses for routing and prompt caching. | 60 | OpenAI-compatible endpoint, with `--lenient` for servers that omit `[DONE]`. |
| 61 | `HTTPS_PROXY`/`NO_PROXY` are honoured. Every request carries a stable | ||
| 62 | `x-opencode-session` header, which the service uses for routing and prompt caching. | ||
| 61 | 63 | ||
| 62 | In a terminal: up/down walks history, bracketed paste arrives as one block | 64 | In a terminal: up/down walks history, bracketed paste arrives as one block |
| 63 | (multi-line is fine), ctrl-c abandons the line, ctrl-d exits. | 65 | (multi-line is fine), ctrl-c abandons the line, ctrl-d exits. `/undo` reverts the |
| 66 | working tree to before the last turn, `/compact` summarises a long conversation, | ||
| 67 | `/models` and `/model <id>` manage the model, `/forget <id>` prunes sessions. | ||
| 64 | 68 | ||
| 65 | Rate limits and transient failures retry with backoff (four attempts, `Retry-After` | 69 | Rate limits and transient failures retry with backoff (four attempts, `Retry-After` |
| 66 | honoured); a 429 that survives them explains itself instead of dumping JSON. | 70 | honoured); a 429 that survives them explains itself instead of dumping JSON. |
