Expand description
chat-echo — Web chat interface for AI entities.
Provides a WebSocket-based chat relay between a browser frontend and a backend LLM service (via bridge-echo). Includes a Nord-themed responsive web UI with assets embedded in the binary.
§Usage as a library
use chat_echo::{ChatEcho, config::Config};
let config = Config::from_env();
let mut chat = ChatEcho::new(config);
// chat.start().await.expect("server");Modules§
Structs§
- AppState
- Shared application state accessible from all handlers.
- Chat
Echo - The chat-echo plugin. Manages the web chat interface lifecycle.
Functions§
- create
- Factory function — creates a fully initialized chat-echo plugin.