You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add AI config block to ddev config model (DataDog#23894)
* Add ai block to ddev config model for Anthropic API key and flow dirs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Add changelog for ddev AI config
* Cover ddev AI config display
* Fix changelog filename to match PR DataDog#23894.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Move get_anthropic_api_key to top of model.py and add precedence test
Move get_anthropic_api_key() next to get_github_token() so all module-level
env-var helpers are grouped before any class definitions. Add a test verifying
config-file value takes precedence over DD_ANTHROPIC_API_KEY env var.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor(ddev/config): replace hardcoded scrub_config with glob-based _scrub_path helper
- Extract _scrub_path to scrub arbitrary nested config paths using dot-notation globs
- Replace per-field scrub_config logic with a SCRUBBED_GLOBS-driven loop
Rationale: makes adding new sensitive fields trivial without touching scrubbing logic
This commit made by [/dd:git:commit:quick](https://github.com/DataDog/claude-marketplace/tree/main/dd/commands/git/commit/quick.md)
* Add unit tests for scrub_config traversal semantics
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Use app.config.ai.anthropic_api_key in dynamicd command
* Mention DD_ANTHROPIC_API_KEY in missing-key error message
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments