Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bin/bwclaude
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,12 @@ build_claude_env() {
BWRAP_ARGS+=(--setenv CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS 1)
BWRAP_ARGS+=(--setenv CLAUDE_CODE_USE_FOUNDRY 1)

# In foundry mode the haiku model used for background tasks defaults to a
# date-pinned ID that the foundry proxy may not recognise. Override with
# the un-pinned alias unless the caller has already set a preference.
BWRAP_ARGS+=(--setenv ANTHROPIC_DEFAULT_HAIKU_MODEL
"${ANTHROPIC_DEFAULT_HAIKU_MODEL:-claude-haiku-4-5}")

# Debug/diagnostic env vars — passed through if set on the host.
pass_through_if_set ANTHROPIC_LOG
pass_through_if_set NODE_DEBUG
Expand Down