Skip to content

Conversation

@jxxghp
Copy link
Owner

@jxxghp jxxghp commented Nov 18, 2025

Update ChatGPT plugins to be compatible with OpenAI API >=1.0.0.

This PR fixes the openai.ChatCompletion not supported error by migrating API calls to use the openai.OpenAI() client instance and client.chat.completions.create(), updating exception handling, and configuring proxies via httpx.Client.


Open in Cursor Open in Web

@jxxghp jxxghp marked this pull request as ready for review November 18, 2025 23:08
@jxxghp jxxghp merged commit 6629aea into main Nov 18, 2025
1 check passed
@jxxghp jxxghp deleted the cursor/update-openai-library-for-chatgpt-plugin-2cf9 branch November 18, 2025 23:08
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.

3 participants