mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
## Summary #1960 added support for OpenAI's chat completions api. This change switches to using [OpenAI's new Responses API](https://developers.openai.com/api/docs/guides/migrate-to-responses) instead. ### How to test locally or on Vercel ### How to test locally 1. Set env vars: `AI_PROVIDER=openai AI_API_KEY= AI_BASE_URL=<> AI_MODEL_NAME=<> AI_REQUEST_HEADERS={"X-Client-Id":"","X-Username":"", AI_ADDITIONAL_OPTIONS = {API_TYPE: "responses"}}` 3. Open Hyperdx's chart explorer and use the AI assistant chart builder - e.g. "show me error count by service in the last hour" 4. Confirm the assistant returns a valid chart config. ### References - Linear Issue: - Related PRs:
94 B
94 B
| @hyperdx/api |
|---|
| patch |
Update OpenAI model configuration to use the new Responses API