Skip to content

Add support for new Responses API and web search #956

Open
@LizzyG

Description

@LizzyG

Your issue may already be reported!
Please search on the issue tracker before creating one.

Is your feature request related to a problem? Please describe.
I'm able to call the normal ChatCompletionRequest with an array of tools, however I'm not able to use the built in web_search tool that was announced with the Responses API this week.

Describe the solution you'd like
I'd like to be able to specify the built in web_search_preview tool along with my custom tools.

Describe alternatives you've considered
I tried putting web_search_preview as the name of a tool but that failed. I tried specifying it in my prompt, that also did not work.

Additional context
I'm currently using the ChatCompletionRequest with custom tools and ideally I'd like to be able to just add on web search without migrating to a new Responses specific type since I don't need the managed context. But I'm happy to migrate to a new ResponsesRequest or whatever to get web search capability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions