Documentation
¶
Overview ¶
Package policy contains shared host mapping defaults and session-key rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeRecallMode ¶
NormalizeRecallMode canonicalizes supported recall modes.
func NormalizeSessionStrategy ¶
NormalizeSessionStrategy canonicalizes supported strategy labels.
func SessionKeyForStrategy ¶
func SessionKeyForStrategy(host, strategy string, input contracts.Input, unsupported *[]contracts.UnsupportedMapping) string
SessionKeyForStrategy builds a host-scoped durable session key or records why the selected strategy cannot be used safely.
Types ¶
type HostDefaults ¶
type HostDefaults struct {
Workspace string
AIPeer string
SessionStrategy string
RecallMode string
}
HostDefaults are host-specific fallback mapping decisions.
func DefaultsForHost ¶
func DefaultsForHost(host string) (HostDefaults, bool)
DefaultsForHost returns the documented defaults for a supported host.
Click to show internal directories.
Click to hide internal directories.