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

Function CompactionThresholdKey

codersdk/chats.go:81–83  ·  view source on GitHub ↗

CompactionThresholdKey returns the user-config key for a specific model configuration's compaction threshold.

(modelConfigID uuid.UUID)

Source from the content-addressed store, hash-verified

79// CompactionThresholdKey returns the user-config key for a specific
80// model configuration's compaction threshold.
81func CompactionThresholdKey(modelConfigID uuid.UUID) string {
82 return ChatCompactionThresholdKeyPrefix + modelConfigID.String()
83}
84
85// ChatStatus represents the status of a chat.
86type ChatStatus string

Calls 1

StringMethod · 0.45

Tested by 1