Skip to content

feat: add provider_name column to aibridge interceptions (#23960)#23965

Open
ssncferreira wants to merge 1 commit intorelease/2.32from
ssncf/2.32-backport-23960
Open

feat: add provider_name column to aibridge interceptions (#23960)#23965
ssncferreira wants to merge 1 commit intorelease/2.32from
ssncf/2.32-backport-23960

Conversation

@ssncferreira
Copy link
Copy Markdown
Contributor

Related to PR: #23960

(cherry picked from commit fb78853)

## Description

Adds `provider_name` to aibridge interceptions to store the provider
instance name alongside the provider type. This allows distinguishing
between multiple instances of the same provider type (e.g. `copilot` vs
`copilot-business`).

## Changes

* Add `provider_name` column to `aibridge_interceptions` table with
backfill from `provider`.
* Add `provider_name` field to the proto `RecordInterceptionRequest`
message.
* Add `ProviderName` to the `codersdk.AIBridgeInterception` API
response.

_Disclaimer: initially produced by Claude Opus 4.6, modified and
reviewed by @ssncferreira ._

(cherry picked from commit fb78853)
@ssncferreira ssncferreira self-assigned this Apr 2, 2026
@github-actions github-actions bot added the community Pull Requests and issues created by the community. label Apr 2, 2026
@ssncferreira ssncferreira removed the community Pull Requests and issues created by the community. label Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants