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

Method GetChatUsageLimitUserOverride

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

Source from the content-addressed store, hash-verified

424 GetChatUsageLimitConfig(ctx context.Context) (ChatUsageLimitConfig, error)
425 GetChatUsageLimitGroupOverride(ctx context.Context, groupID uuid.UUID) (GetChatUsageLimitGroupOverrideRow, error)
426 GetChatUsageLimitUserOverride(ctx context.Context, userID uuid.UUID) (GetChatUsageLimitUserOverrideRow, error)
427 // Returns the concatenated text of each user-visible user prompt in a
428 // chat, newest first. Used by the composer to populate the up/down
429 // arrow prompt-history cycle. Non-text parts (tool calls, files,

Callers 4

TestChatsMethod · 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 1

TestChatsMethod · 0.52