beads/internal/compact
Joseph Bath 33ce6bf091 Support ai.api_key config as fallback for ANTHROPIC_API_KEY env var
The Anthropic API key could only be set via the ANTHROPIC_API_KEY
environment variable. This adds ai.api_key config support (consistent
with the existing ai.model config key) so users can set it via
`bd config set ai.api_key "sk-ant-..."` instead.

Resolution order: ANTHROPIC_API_KEY env var > ai.api_key config > explicit parameter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 00:01:25 -08:00
..
compactor.go chore: clean up stale SQLite references in comments (bd-nlw2m) 2026-02-18 11:50:52 -08:00
compactor_test.go refactor: remove storage factory, memory backend, and provider abstraction (Phase 7) 2026-02-15 11:27:39 -08:00
compactor_unit_test.go cleanup: remove stale golangci suppressions and dead compact methods 2026-02-16 00:53:15 -08:00
git.go feat(context): centralize RepoContext API for git operations (#1102) 2026-01-15 07:55:08 -08:00
git_test.go test: expand routing and compact coverage 2025-12-29 14:18:33 -08:00
haiku.go Support ai.api_key config as fallback for ANTHROPIC_API_KEY env var 2026-03-07 00:01:25 -08:00
haiku_test.go chore: unexport 4 dead symbols in internal/compact 2026-02-07 18:00:22 -08:00