MCPcopy Index your code
hub / github.com/coder/coder / GetAIBridgeInterceptionByID

Method GetAIBridgeInterceptionByID

coderd/database/querier.go:259–259  ·  view source on GitHub ↗
(ctx context.Context, id uuid.UUID)

Source from the content-addressed store, hash-verified

257 // and returns the preset with the most parameters (largest subset).
258 FindMatchingPresetID(ctx context.Context, arg FindMatchingPresetIDParams) (uuid.UUID, error)
259 GetAIBridgeInterceptionByID(ctx context.Context, id uuid.UUID) (AIBridgeInterception, error)
260 // Look up the parent interception and the root of the thread by finding
261 // which interception recorded a tool usage with the given tool call ID.
262 // COALESCE ensures that if the parent has no thread_root_id (i.e. it IS

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 3

TestAIBridgeMethod · 0.52