Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chat ¶
type Chat struct {
// contains filtered or unexported fields
}
Chat registers WebSocket and REST API routes for the web chat. It handles all WebSocket I/O (connect, read, write, disconnect) and delegates to the go-agent-sdk Agent for the actual LLM work.
func (*Chat) HandleWebSocket ¶
HandleWebSocket is the entry point for web WebSocket connections. Each connection gets a unique session ID; all chat messages within one connection share the same conversation context.
Click to show internal directories.
Click to hide internal directories.