Commit 8472a68
authored
chore!: remove env-based AI provider configuration (#29053)
> AI tools were used to create this PR
Removes deprecated AI provider configuration through environment
variables, CLI flags, and YAML.
Deletion includes indexed providers and legacy OpenAI, Anthropic, and
Bedrock options under both AI Gateway and AI Bridge branding, eg.
`CODER_AI_GATEWAY_PROVIDER_<N>_*` or `CODER_AI_GATEWAY_ANTHROPIC_KEY`.
Removes the associated startup-seeding code.
Updates tests and documentation.
**Breaking change:** Remove [obsolete AI provider CLI flags and YAML
keys](https://coder.com/docs/ai-coder/ai-gateway/providers#database-management-of-providers)
before upgrading, otherwise Coder will fail to start with an `unknown
flag` or `unknown option` error. Provider environment variables are
ignored and no longer seed the database. Existing database-stored
provider configuration is preserved.1 parent 6e2b0ab commit 8472a68
31 files changed
Lines changed: 214 additions & 3812 deletions
File tree
- cli
- testdata
- coderd
- aibridgedserver
- apidoc
- database
- codersdk
- docs
- admin/setup
- ai-coder/ai-gateway
- reference
- api
- cli
- enterprise/cli
- testdata
- site/src/api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
0 commit comments