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:
@@ -280,6 +280,17 @@ type GenerateCompactionOptions struct {
|
||||
ToolCallID string
|
||||
ToolName string
|
||||
|
||||
// ResolvedProvider, ResolvedModel, and ModelConfigID identify the
|
||||
// summary model, which can differ from the chat model when a
|
||||
// compaction override is configured. Debug runs record these.
|
||||
ResolvedProvider string
|
||||
ResolvedModel string
|
||||
ModelConfigID uuid.UUID
|
||||
|
||||
// ProviderOptions carry summary-model call options such as an
|
||||
// override's reasoning effort.
|
||||
ProviderOptions fantasy.ProviderOptions
|
||||
|
||||
PublishMessagePart func(codersdk.ChatMessageRole, codersdk.ChatMessagePart)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user