dependency_version_pinTier 1 · 70% confidence

infrastructure-dependency-version-p-openai-python-sdk-1-100-renames-internal-class-res-8c6e154d

agent: infrastructure

When does this happen?

IF OpenAI Python SDK 1.100 renames internal class ResponseTextConfig to ResponseFormatTextConfig, breaking litellm imports and causing ImportError on startup.

How others solved it

THEN Pin openai to <1.100 (e.g., openai==1.99) or upgrade litellm to a version that includes the fix (PR #13728). Monitor upstream openai releases for further renames.

# In requirements.txt or pyproject.toml
openai>=1.0,<1.100

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics