Skip to content

feat!: default CODER_AI_GATEWAY_ENABLED to true#25575

Merged
dannykopping merged 1 commit into
mainfrom
dk/aibridge-enable-default
May 22, 2026
Merged

feat!: default CODER_AI_GATEWAY_ENABLED to true#25575
dannykopping merged 1 commit into
mainfrom
dk/aibridge-enable-default

Conversation

@dannykopping
Copy link
Copy Markdown
Contributor

@dannykopping dannykopping commented May 21, 2026

CODER_AI_GATEWAY_ENABLED / CODER_AIBRIDGE_ENABLED is now being defaulted to true now that it will be used by Coder Agents.

If you previously had this value disabled explicitly, that value will persist.

@github-actions
Copy link
Copy Markdown

Docs preview

📖 View docs preview for docs/reference/cli/server.md

Copy link
Copy Markdown
Contributor Author

dannykopping commented 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
@dannykopping dannykopping marked this pull request as ready for review May 21, 2026 15:33
@github-actions github-actions Bot added the release/breaking This label is applied to PRs to detect breaking changes as part of the release process label May 21, 2026
@dannykopping dannykopping force-pushed the dk/aibridge-enable-default branch from dc4e5d1 to 1183a22 Compare May 21, 2026 16:31
@dannykopping dannykopping force-pushed the dk/aibridge-providers-env-migration branch from b3f39e5 to dbd70f6 Compare May 21, 2026 18:38
@dannykopping dannykopping force-pushed the dk/aibridge-enable-default branch from 1183a22 to 0982edf Compare May 21, 2026 18:38
Copy link
Copy Markdown
Contributor Author

dannykopping commented May 22, 2026

Merge activity

  • May 22, 6:37 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 22, 6:39 AM UTC: Graphite rebased this pull request as part of a merge.
  • May 22, 6:57 AM UTC: @dannykopping merged this pull request with Graphite.

@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>
@dannykopping dannykopping force-pushed the dk/aibridge-enable-default branch from 0982edf to 44c7719 Compare May 22, 2026 06:38
@dannykopping dannykopping merged commit c50b0e8 into main May 22, 2026
48 of 50 checks passed
@dannykopping dannykopping deleted the dk/aibridge-enable-default branch May 22, 2026 06:57
@github-actions github-actions Bot locked and limited conversation to collaborators May 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release/breaking This label is applied to PRs to detect breaking changes as part of the release process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants