Module session

Module session 

Source
Expand description

Interactive chat session with /model and /provider commands

Provides a rich REPL experience similar to Claude Code with:

  • /model - Select from available models based on configured API keys
  • /provider - Switch provider (prompts for API key if not set)
  • /cost - Show token usage and estimated cost
  • /help - Show available commands
  • /clear - Clear conversation history
  • /exit or /quit - Exit the session

Structs§

ChatSession
Chat session state
IncompletePlan
Information about an incomplete plan

Enums§

PlanMode
Planning mode state - toggles between standard and plan mode

Functions§

find_incomplete_plans
Find incomplete plans in the plans/ directory
get_available_models
Available models per provider