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

Method GetChatDebugRunsByChatID

coderd/database/querier.go:365–365  ·  view source on GitHub ↗

Returns the most recent debug runs for a chat, ordered newest-first. Callers must supply an explicit limit to avoid unbounded result sets.

(ctx context.Context, arg GetChatDebugRunsByChatIDParams)

Source from the content-addressed store, hash-verified

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)
366 GetChatDebugStepsByRunID(ctx context.Context, runID uuid.UUID) ([]ChatDebugStep, error)
367 GetChatDesktopEnabled(ctx context.Context) (bool, error)
368 GetChatDiffStatusByChatID(ctx context.Context, chatID uuid.UUID) (ChatDiffStatus, 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