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

Functions§

get_available_models
Available models per provider