mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-09-18 03:49:10 +02:00
Add claude images and clean up screenshot references
This commit is contained in:
+1
-17
@@ -37,14 +37,6 @@ To undo it:
|
||||
pangolin configure opencode --reset
|
||||
```
|
||||
|
||||
{/*
|
||||
Screenshot: `/images/ai/opencode-cli-tab.png`
|
||||
The OpenCode card on a resource's Keys page, expanded, with the CLI tab selected showing the `pangolin configure opencode` command.
|
||||
<Frame>
|
||||
<img src="/images/ai/opencode-cli-tab.png" alt="OpenCode CLI setup" />
|
||||
</Frame>
|
||||
*/}
|
||||
|
||||
## Manual setup
|
||||
|
||||
Merge this into your global `opencode.json` (`~/.config/opencode/opencode.json`, or `$XDG_CONFIG_HOME/opencode/opencode.json` if set):
|
||||
@@ -86,12 +78,4 @@ Then merge your key into `auth.json` (`~/.local/share/opencode/auth.json`, or `$
|
||||
`auth.json` is required even for a private resource. OpenCode refuses to start a provider with no key at all and fails with `OpenAI API key is missing. Pass it using the 'apiKey' parameter or the OPENAI_API_KEY environment variable.` Set the key to `none` rather than leaving the entry out.
|
||||
</Warning>
|
||||
|
||||
Only add entries for the providers your resource actually supports. To point a different OpenCode provider (`openrouter`, `google`, `groq`, etc.) at this gateway, add a matching block under `provider` in `opencode.json` and a matching key in `auth.json`.
|
||||
|
||||
{/*
|
||||
Screenshot: `/images/ai/opencode-manual-tab.png`
|
||||
The same card with the Manual tab selected, showing the opencode.json/auth.json snippets.
|
||||
<Frame>
|
||||
<img src="/images/ai/opencode-manual-tab.png" alt="OpenCode manual setup" />
|
||||
</Frame>
|
||||
*/}
|
||||
Only add entries for the providers your resource actually supports. To point a different OpenCode provider (`openrouter`, `google`, `groq`, etc.) at this gateway, add a matching block under `provider` in `opencode.json` and a matching key in `auth.json`.
|
||||
Reference in New Issue
Block a user