fix(quickstart): mount every cred source and pass every API key#76
Merged
Conversation
Previously quickstart only mounted ~/.aws and wrote AWS_REGION/
AWS_PROFILE when LLM_PROVIDER=bedrock was picked up at start. That
meant switching to Bedrock via the Settings UI later silently failed
— the container had no AWS creds visible.
Always:
- Mount ~/.aws:/root/.aws and ~/.config/gcloud:/root/.config/gcloud
read-only when those dirs exist on the host (boto3 / gcloud find
their configs at the standard paths inside the container).
- Write ANTHROPIC_API_KEY / OPENAI_API_KEY / GOOGLE_API_KEY to
.env.quickstart whenever the host shell has them set, regardless
of which provider triggered the wizard.
- Write AWS_REGION / AWS_PROFILE whenever ~/.aws/ exists.
LLM_PROVIDER itself is still seeded from whichever credential the
wizard latched onto at start, but the operator can toggle it freely
in Settings without re-running quickstart.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
(cherry picked from commit d1d473c)
askumar27
approved these changes
Jun 8, 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.
Cherry-pick of
d1d473c— a standalone quickstart fix, independent of the deepagents work.Problem
Quickstart only mounted
~/.awsand wroteAWS_REGION/AWS_PROFILEwhenLLM_PROVIDER=bedrockwas detected at start. Switching to Bedrock later via the Settings UI silently failed — the container had no AWS creds visible.Fix
Regardless of which provider triggered the wizard,
quickstart.shnow always:~/.aws:/root/.awsand~/.config/gcloud:/root/.config/gcloudread-only when those dirs exist on the host (boto3 / gcloud find their configs at the standard container paths).ANTHROPIC_API_KEY/OPENAI_API_KEY/GOOGLE_API_KEYto.env.quickstartwhenever the host shell has them set.AWS_REGION/AWS_PROFILEwhenever~/.aws/exists.LLM_PROVIDERis still seeded from whichever credential the wizard latched onto at start, but the operator can now toggle providers freely in Settings without re-running quickstart.Touches only
quickstart.sh(+33/-18);bash -nsyntax-checked.🤖 Generated with Claude Code