< BACK_TO_SONAR
[ ACTIVE DEPRECATION DETECTED ]

OpenAI API / openai-python-library-v0x-openaichatcompletion

Severity
High
Ecosystem
npm
Release Tag
Latest
Deadline
Immediate
Confidence
100%

>> Is your stack affected?

Paste your package.json below to instantly check if your application relies on this deprecated OpenAI endpoint.

No Card Required
Migration_Guidance
🚨 **Primary Error:** APIRemovedInV1: You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 ✅ **Resolution:** Instantiate client = OpenAI() and call client.chat.completions.create(...); run `openai migrate` or pin openai==0.28 as a stopgap.