sbx: add OpenRouter provider to agent authentication docs#25276
Open
dvdksn wants to merge 1 commit into
Open
Conversation
Adds `sbx secret set -g openrouter` and `OPENROUTER_API_KEY` to the Authentication sections of docker-agent.md and opencode.md, matching the openrouter support added in docker/sandboxes#3244. Also corrects the Google env var in opencode.md from `GOOGLE_API_KEY` to `GOOGLE_GENERATIVE_AI_API_KEY`, which is the name OpenCode actually uses. Fixes docker#25273 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
docker-agent
reviewed
Jun 5, 2026
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
The changes are accurate and well-scoped. Adding sbx secret set -g openrouter and OPENROUTER_API_KEY to both files is consistent with the existing pattern for other providers. The correction of GOOGLE_API_KEY → GOOGLE_GENERATIVE_AI_API_KEY in opencode.md is a valid accuracy fix matching what OpenCode actually uses.
No style, formatting, or content issues found in the added lines.
akristen
approved these changes
Jun 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
sbx secret set -g openrouterandOPENROUTER_API_KEYto the Authentication sections ofdocker-agent.mdandopencode.md, matching the OpenRouter support added in docker/sandboxes#3244. Also corrects the Google env var inopencode.mdfromGOOGLE_API_KEYtoGOOGLE_GENERATIVE_AI_API_KEY, which is the name OpenCode actually uses.Closes #25273
Generated by Claude Code