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.