Chat/README.mdmarkdown

Chat

User-facing chat loop, conversation management, and slash commands.

Lilith.Chat.cs

  • ChatAsync — streams a user message (optional images), logs token usage, and returns the assistant reply (for console TTS).
  • NewConversation / SaveConversation / LoadConversation — session persistence via Agent-Core chat history.
  • HandleInputAsync — parses commands (exit, /new, /history, etc.) or forwards text to ChatAsync; returns whether to keep running and any assistant reply to speak.