Build typed API client. POST with message and history, parse responses. Error handling, rate limiting (429), retry logic, and debounced sends.
Build typed API client. POST with message and history, parse responses. Error handling, rate limiting (429), retry logic, and debounced sends.