Skip to content

Support loading ANTHROPIC_API_KEY from a .env file - #2

Open
feibeck wants to merge 1 commit into
mayflower:mainfrom
feibeck:feat/dotenv-support
Open

Support loading ANTHROPIC_API_KEY from a .env file#2
feibeck wants to merge 1 commit into
mayflower:mainfrom
feibeck:feat/dotenv-support

Conversation

@feibeck

@feibeck feibeck commented Jul 2, 2026

Copy link
Copy Markdown

Wire up .env file support for ANTHROPIC_API_KEY (and other env vars).

python-dotenv was already a declared dependency but was never wired up.
Call load_dotenv() at CLI startup so the key (and other vars) can live in
a git-ignored .env file instead of requiring a shell export. Shell env
still takes precedence. Documents the option in the README.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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