mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: allow admins to override the chat compaction model (#27151)
This commit is contained in:
Generated
+2
@@ -373,6 +373,7 @@ type sqlcQuerier interface {
|
||||
GetChatByID(ctx context.Context, id uuid.UUID) (Chat, error)
|
||||
GetChatByIDForShare(ctx context.Context, id uuid.UUID) (Chat, error)
|
||||
GetChatByIDForUpdate(ctx context.Context, id uuid.UUID) (Chat, error)
|
||||
GetChatCompactionModelOverride(ctx context.Context) (string, error)
|
||||
GetChatComputerUseProvider(ctx context.Context) (string, error)
|
||||
// Per-root-chat cost breakdown for a single user within a date range.
|
||||
// Groups by root_chat_id so forked chats roll up under their root.
|
||||
@@ -1531,6 +1532,7 @@ type sqlcQuerier interface {
|
||||
// to JSON before invoking this query.
|
||||
UpsertChatAdvisorConfig(ctx context.Context, value string) error
|
||||
UpsertChatAutoArchiveDays(ctx context.Context, autoArchiveDays int32) error
|
||||
UpsertChatCompactionModelOverride(ctx context.Context, value string) error
|
||||
UpsertChatComputerUseProvider(ctx context.Context, provider string) error
|
||||
// UpsertChatDebugLoggingAllowUsers updates the runtime admin setting that
|
||||
// allows users to opt into chat debug logging.
|
||||
|
||||
Reference in New Issue
Block a user