Automatic session detection
Wheninit() is called, a SessionManager is created that tracks sessions via message fingerprinting. For LLM requests, it hashes the first user message content (SHA-256, first 12 hex chars). If the fingerprint changes between requests, a new session ID is generated.
Explicit sessions
- TypeScript
- Python