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