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

Method GetChatDebugRunByID

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

Source from the content-addressed store, hash-verified

360 // Chat debug run retention window in days. 0 disables.
361 GetChatDebugRetentionDays(ctx context.Context, defaultDebugRetentionDays int32) (int32, error)
362 GetChatDebugRunByID(ctx context.Context, id uuid.UUID) (ChatDebugRun, error)
363 // Returns the most recent debug runs for a chat, ordered newest-first.
364 // Callers must supply an explicit limit to avoid unbounded result sets.
365 GetChatDebugRunsByChatID(ctx context.Context, arg GetChatDebugRunsByChatIDParams) ([]ChatDebugRun, error)

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