Documentation
¶
Overview ¶
Package feature provides experimental feature flag definitions and parsing.
Index ¶
Constants ¶
View Source
const (
// FeatureCompact enables smart compact for conversation history.
FeatureCompact = "compact"
)
Variables ¶
View Source
var KnownFeatures = map[string]bool{ FeatureCompact: true, }
KnownFeatures is the set of all recognized experimental features.
Functions ¶
func ParseFeatures ¶
ParseFeatures parses a comma-separated string of feature names into a map. Empty values are ignored. Unknown features are silently ignored. Example: "compact,other" -> {"compact": true, "other": true}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.