-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Open
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
The problem: I am using the new private LLM Gateway from tailscale called Aperture and when I setup a Bedrock compatible provider opencode is asking for bedrock authentication even though its not required in this instance. Aperture is dealing with the last mile to Bedrock auth.
Claude Code has CLAUDE_CODE_SKIP_BEDROCK_AUTH which allows you to use a LLM gateway and skip the Bedrock auth check.
Config looks like this:
"provider": {
"aperture": {
"name": "tailnet aperture",
"npm": "@ai-sdk/amazon-bedrock",
"options": {
"baseURL": "http://ai.tail819a6.ts.net/bedrock"
},
"models": {
"global.anthropic.claude-sonnet-4-6": {
"name": "sonnet-4.6"
}
}
}
},I suggest an env var and/or a provider config option to skip the authentication.
something like:
OPENCODE_SKIP_BEDROCK_AUTH and provider..options.skipAuth
I am happy to raise a PR for this? Let me know!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion