◐ Shell
clean mode source ↗

feat!: default `CODER_AI_GATEWAY_ENABLED` to true by dannykopping · Pull Request #25575 · coder/coder

@dannykopping mentioned this pull request

May 21, 2026

This was referenced

May 21, 2026

This was referenced

May 21, 2026

@dannykopping dannykopping changed the title feat(codersdk): default CODER_AIBRIDGE_ENABLED to true feat: default CODER_AI_GATEWAY_ENABLED to true

May 21, 2026

@dannykopping dannykopping changed the title feat: default CODER_AI_GATEWAY_ENABLED to true feat!: default CODER_AI_GATEWAY_ENABLED to true

May 21, 2026

johnstcn

@dannykopping dannykopping changed the base branch from dk/aibridge-providers-env-migration to graphite-base/25575

May 22, 2026 06:37

@dannykopping dannykopping changed the base branch from graphite-base/25575 to main

May 22, 2026 06:37
Now that the aibridged daemon has moved to AGPL and chatd routes its LLM traffic through the in-process roundtripper, the bridge is on the hot path for every chat. Defaulting the flag to false made every deployment hit upstream providers directly, bypassing recording, BYOK rules, and per-user pooling.

Flips the default to true for both CODER_AIBRIDGE_ENABLED (deprecated) and CODER_AI_GATEWAY_ENABLED (current). Operators that want to keep the previous behaviour can set the flag to false explicitly.

Regenerates the CLI golden files and docs that embed the default value.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>