Skip to content

Conversation

Programmer-RD-AI
Copy link

@Programmer-RD-AI Programmer-RD-AI commented Mar 22, 2025

This PR introduces an alias import for ComputerCallOutput in the openai.types.responses module by importing it from the response_input_param module. This change provides a unified and accessible entry point via the package’s __init__.py.

Context

Some users have encountered the following error when attempting to import ComputerCallOutput from openai.types.responses:

ImportError: cannot import name 'ComputerCallOutput' from 'openai.types.responses'

This issue is tracked in [GitHub issue #2231](#2231).

Changes

  • Added an alias import in __init__.py of the openai.types.responses module:
    from .response_input_param import ComputerCallOutput as ComputerCallOutput
  • (Note: The duplicate definition of ComputerCallOutput in src/openai/types/responses/response_input_item_param.py remains unchanged for now.)

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.

1 participant