chore: rename user-facing AI Bridge strings to AI Gateway#26700
Conversation
0e25dcc to
e93d281
Compare
Rename all user-facing deployment config Name and Description fields from "AI Bridge" to "AI Gateway". Update error strings and log messages. Update the RBAC subject and role display names for the AI Bridge daemon to "AI Gateway Daemon". Regenerate CLI golden files and docs.
The deprecated alias options must keep their original 'AI Bridge ...' names to remain distinct from the primary 'AI Gateway ...' options. serpent uses the Name field as a unique key during JSON round-tripping, so duplicate names cause UnmarshalJSON failures in the support bundle test.
3cfc62a to
ba4181c
Compare
Docs preview📖 View docs preview for |
| | Coder | coder (referring to the product, no backticks) | | ||
| | `coder` (the CLI, in backticks) | coder (the CLI, no backticks) | | ||
| | AI Bridge | AI bridge, AIBridge | | ||
| | AI Gateway | AI gateway, AIGateway, AI Bridge | |
There was a problem hiding this comment.
nit: AI bridge missing? Although maybe it should not be there in the first place 😅
Should we remove AI Bridge or leave it until it is removed from all comments / docs, eg. notes about it being legacy?
There was a problem hiding this comment.
This column lists the incorrect forms that writers should avoid. Keeping "AI Bridge" there is intentional: new documentation might still use the old name by mistake, so it serves as a reminder to use "AI Gateway" instead. There are still some references to "AI Bridge" in the docs, but I think only in the context of describing it as the legacy name for AI Gateway. I don't expect those to be removed since they provide historical context.
Rename user-facing "AI Bridge" strings to "AI Gateway" in deployment config, RBAC display names, log messages, error strings, docs style guide, and Grafana dashboard README.
Deprecated option names and descriptions (the
--aibridge-*block) are intentionally kept as "AI Bridge". TheNamefield cannot be renamed becauseserpentuses it as a unique key during JSON serialization; duplicating names causesUnmarshalJSONfailures (e.g. in the support bundle). Descriptions also stay as "AI Bridge" to avoid confusion between the deprecated and primary options.Refs https://linear.app/codercom/issue/AIGOV-226