-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Confirm this is an issue with the Python library and not an underlying OpenAI API
- This is an issue with the Python library
Describe the bug
ImportError: cannot import name 'ResponseTextConfigParam' from 'openai.types.responses'
from agents import Agent, Runner, RunResult
File "/Users/.venv/lib/python3.13/site-packages/agents/__init__.py", line 52, in <module>
from .models.multi_provider import MultiProvider
File "/Users/.venv/lib/python3.13/site-packages/agents/models/multi_provider.py", line 7, in <module>
from .openai_provider import OpenAIProvider
File "/Users/.venv/lib/python3.13/site-packages/agents/models/openai_provider.py", line 8, in <module>
from .openai_chatcompletions import OpenAIChatCompletionsModel
File "/Users/.venv/lib/python3.13/site-packages/agents/models/openai_chatcompletions.py", line 31, in <module>
from .openai_responses import Converter as OpenAIResponsesConverter
File "/Users/.venv/lib/python3.13/site-packages/agents/models/openai_responses.py", line 10, in <module>
from openai.types.responses import (
...<8 lines>...
)
ImportError: cannot import name 'ResponseTextConfigParam' from 'openai.types.responses' (/Users/.venv/lib/python3.13/site-packages/openai/types/responses/__init__.py)
To Reproduce
from agents import Agent, Runner, RunResult
Code snippets
OS
macOS
Python version
Python v3.13.2
Library version
openai v1.100.0
bocytko, jldec, thiagogcm, lievan, YlmzCmlttn and 22 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working