Class: Pikuri::Agent::Event::ContextCap
- Inherits:
-
Data
- Object
- Data
- Pikuri::Agent::Event::ContextCap
- Defined in:
- lib/pikuri/agent/event.rb
Overview
Model’s resolved context-window cap. Emitted once by Pikuri::Agent#initialize immediately after ContextWindowDetector runs. Carries nil when no source produced a value (custom local model with no override and no reachable llama.cpp /props). Listeners that care —Listener::TokenLog renders ctx=<used>/<cap> when set, ctx=<used> when nil — pick the value off this event and cache it; non-caring listeners ignore.
Instance Attribute Summary collapse
-
#cap ⇒ Object
readonly
Returns the value of attribute cap.
Instance Attribute Details
#cap ⇒ Object (readonly)
Returns the value of attribute cap
184 185 186 |
# File 'lib/pikuri/agent/event.rb', line 184 def cap @cap end |