Documentation
¶
Overview ¶
Package state stores small pieces of CLI state that persist between runs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LastAgent ¶
func LastAgent() string
LastAgent returns the agent name used in the previous session, or "".
func RememberedModel ¶
RememberedModel returns the model remembered for an agent, or "".
func SetLastAgent ¶
SetLastAgent records the agent used in this session.
func SetRememberedModel ¶
SetRememberedModel records the model chosen for an agent. An empty model removes the entry, so the agent falls back to its configured model.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.