Skip to content

sbx: add OpenRouter provider to agent authentication docs#25276

Open
dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:worktree-eventual-whistling-church
Open

sbx: add OpenRouter provider to agent authentication docs#25276
dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:worktree-eventual-whistling-church

Conversation

@dvdksn
Copy link
Copy Markdown
Contributor

@dvdksn dvdksn commented Jun 5, 2026

Summary

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.

Closes #25273

Generated by Claude Code

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>
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 5, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit c955185
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a22b762c6e3190008db5599
😎 Deploy Preview https://deploy-preview-25276--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dvdksn dvdksn added the status/review Pull requests that are ready for review label Jun 5, 2026
@dvdksn dvdksn requested a review from a team June 5, 2026 11:47
@dvdksn dvdksn added this to the sbx/v0.32.0 milestone Jun 5, 2026
Copy link
Copy Markdown

@docker-agent docker-agent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_KEYGOOGLE_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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ai status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address environment variable drift and document OpenRouter support for opencode and docker-agent

3 participants