ChatInterface
The chat handle returned by service.chat() lets you build message history and react to messages.
- Building messages — system prompt, adding/reading messages, clearing
- Chat hooks — observe and react to new messages
- Serialization — toJSON / fromJSON