Documentation
¶
Overview ¶
Package heartbeat defines state file prefixes and filenames for the heartbeat subsystem.
Index ¶
Constants ¶
View Source
const ( // HeartbeatCounterPrefix is the state file prefix for per-session // heartbeat prompt counters. HeartbeatCounterPrefix = "heartbeat-" // HeartbeatMtimePrefix is the state file prefix for per-session // heartbeat context mtime tracking. HeartbeatMtimePrefix = "heartbeat-mtime-" // HeartbeatLogFile is the log filename for heartbeat events. HeartbeatLogFile = "heartbeat.log" )
Heartbeat state file prefixes.
View Source
const ( // VarPromptCount is the heartbeat field for prompt count. VarPromptCount = "prompt_count" // VarSessionID is the heartbeat field for session identifier. VarSessionID = "session_id" // VarContextModified is the heartbeat field for context modification flag. VarContextModified = "context_modified" // VarTokens is the heartbeat field for token count. VarTokens = "tokens" // VarContextWindow is the heartbeat field for context window size. VarContextWindow = "context_window" // VarUsagePct is the heartbeat field for usage percentage. VarUsagePct = "usage_pct" )
Template variable keys for heartbeat payloads.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.