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

Method GetUserChatCompactionThreshold

coderd/database/querier.go:773–773  ·  view source on GitHub ↗
(ctx context.Context, arg GetUserChatCompactionThresholdParams)

Source from the content-addressed store, hash-verified

771 GetUserByEmailOrUsername(ctx context.Context, arg GetUserByEmailOrUsernameParams) (User, error)
772 GetUserByID(ctx context.Context, id uuid.UUID) (User, error)
773 GetUserChatCompactionThreshold(ctx context.Context, arg GetUserChatCompactionThresholdParams) (string, error)
774 GetUserChatCustomPrompt(ctx context.Context, userID uuid.UUID) (string, error)
775 GetUserChatDebugLoggingEnabled(ctx context.Context, userID uuid.UUID) (bool, error)
776 GetUserChatPersonalModelOverride(ctx context.Context, arg GetUserChatPersonalModelOverrideParams) (string, 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

Tested by 2

TestUserMethod · 0.52