Support Newer OpenAI Messages/Responses-style Endpoints
complete
Tanner
I'm trying to use OpenCode with the OpenAI compatible provider: https://ai-sdk.dev/providers/openai-compatible-providers in this package: https://www.npmjs.com/package/@ai-sdk/openai-compatible
However, the current API only supports the legacy version of the spec. Supporting the newer versions will allow more tools to work with the API.
J

Julia Carroll
updated the status to
complete
This shipped with AI Gateway! OpenCode, Codex CLI, Claude Code and more can now run through Hatz with the same controls and usage tracking. MSP admins turn it on in Settings → AI Gateway, each client opts in under Settings → Connect a client, and you copy the ready-made OpenCode setup and click Test connection. Here's a quick walkthrough: https://www.youtube.com/watch?v=bX6X6pbRVCk