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

Method GetChatComputerUseProvider

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

Source from the content-addressed store, hash-verified

340 GetChatByID(ctx context.Context, id uuid.UUID) (Chat, error)
341 GetChatByIDForUpdate(ctx context.Context, id uuid.UUID) (Chat, error)
342 GetChatComputerUseProvider(ctx context.Context) (string, error)
343 // Per-root-chat cost breakdown for a single user within a date range.
344 // Groups by root_chat_id so forked chats roll up under their root.
345 // Only counts assistant-role messages.

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

TestChatsMethod · 0.52