Skip to content

Use the native OpenAI SDK for OpenAI gateway identities - #372

Merged
chubes4 merged 1 commit into
mainfrom
fix/371-openai-gateway-provider
Aug 16, 2026
Merged

Use the native OpenAI SDK for OpenAI gateway identities#372
chubes4 merged 1 commit into
mainfrom
fix/371-openai-gateway-provider

Conversation

@chubes4

@chubes4 chubes4 commented Aug 16, 2026

Copy link
Copy Markdown
Member

Summary

  • generate @ai-sdk/openai when the visible gateway provider is openai
  • retain @ai-sdk/openai-compatible for custom provider identities
  • repair previously generated OpenAI provider entries

Closes #371.

Verification

  • bash tests/ai-gateway.sh
  • bash tests/external-wordpress-runtime.sh
  • bash -n lib/ai-gateway.sh tests/ai-gateway.sh
  • live OpenCode Responses tool loop through the generated openai/gpt-5.6-sol identity

AI assistance

OpenAI gpt-5.6-sol via OpenCode diagnosed the live SDK mismatch, implemented the generator repair and regression, and verified the corrected runtime. Chris Huber reviewed and remains responsible for every line.

@chubes4
chubes4 merged commit ad37dd2 into main Aug 16, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use native OpenAI SDK for an OpenAI gateway identity

1 participant