Skip to content

ActionOpenPage mismatched API response #2620

@salty-flower

Description

@salty-flower

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

I got a open_page with "url": null when using official API, so I believe the SDK should count for that. Currently, it was required.

{
  "id": "ws_68c2a7a61e888197b3e9ef5afd5492360a7d1f9fc76c2c97",
  "type": "web_search_call",
  "status": "completed",
  "action": {
    "type": "open_page",
    "url": null
  }
}

To Reproduce

I was using o4-mini-deep-research from Batch API, with web_search_preview enabled.

Alternatively, for OpenAI folks with permission, maybe you could check ws_68c2a7a61e888197b3e9ef5afd5492360a7d1f9fc76c2c97.

Code snippets

OS

Windows

Python version

3.13.5

Library version

1.107.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions