Expand description
agent-conversation-state: track state and phase transitions for LLM agents.
use agent_conversation_state::{ConversationState, Phase};
let mut state = ConversationState::new();
assert_eq!(state.phase(), Phase::Idle);
state.transition(Phase::GatheringInfo);
assert_eq!(state.phase(), Phase::GatheringInfo);Structs§
- Conversation
State - Tracks conversation phase and context data.
- Transition
- A state transition record.
Enums§
- Phase
- Phase in the agent conversation lifecycle.