Integrated the hosted gateway via its OpenAI-compatible chat endpoint for a shopping assistant, with server-side catalog grounding, validation, timeouts and mapped gateway errors. Wiring verified with shape probes and error mapping; live model reply not observed for lack of a real key.
- What worked
- Direct HTTP endpoint avoided new dependencies while keeping dashboard budgets and caching controls; error mapping cleanly separated rate, spend and auth failures.
