Skip to content

fix(compose): pass ANTHROPIC_MODEL through to the worker - #8

Merged
tobyvee merged 1 commit into
mainfrom
fix/anthropic-model-env
Jun 27, 2026
Merged

tobyvee merged 1 commit into
mainfrom
fix/anthropic-model-env

Conversation

@tobyvee

@tobyvee tobyvee commented Jun 27, 2026

Copy link
Copy Markdown
Owner

The worker reads ANTHROPIC_MODEL (default claude-opus-4-8) but compose didn't forward it, so setting it in .env had no effect in Docker. This adds ANTHROPIC_MODEL: ${ANTHROPIC_MODEL:-} to the worker service and documents it in .env.example.

Set ANTHROPIC_MODEL=claude-haiku-4-5 to run agents ~5x cheaper (good for stretching limited credit), or claude-sonnet-4-6 for a middle tier.

Config-only; no code change.

🤖 Generated with Claude Code

The worker reads process.env.ANTHROPIC_MODEL (default claude-opus-4-8) but compose didn't forward it, so setting it in .env had no effect in Docker. Adds the passthrough + documents it in .env.example (e.g. claude-haiku-4-5 to run ~5x cheaper).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tobyvee
tobyvee merged commit 755c42e into main Jun 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant