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

Method GetChatDesktopEnabled

coderd/database/querier.go:367–367  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

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)
369 // Returns aggregate PR counts across all agent chats for telemetry.
370 // Deduplicates by PR URL so forked chats referencing the same pull

Callers 6

TestChatDesktopEnabledFunction · 0.65
getChatDesktopEnabledMethod · 0.65
GetChatDesktopEnabledMethod · 0.65
GetChatDesktopEnabledMethod · 0.65
TestChatsMethod · 0.65
isDesktopEnabledMethod · 0.65

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 2

TestChatDesktopEnabledFunction · 0.52
TestChatsMethod · 0.52