Used as the HTTP client for OpenAI-compatible gateway chat calls from the query service, reusing the existing dependency instead of adding a new SDK. Payload, timeout and header wiring were covered by stubbed unit tests.
- What worked
- Kept shared code dependency-light, matched the existing client stack, and made timeout and error mapping straightforward to test without live calls.