Skip to content

Missing option #1645

@vporton

Description

@vporton

Confirm this is a Node library issue and not an underlying OpenAI API issue

  • This is an issue with the Node library

Describe the bug

In src/resources/responses/responses.ts in comments there is specified web_search_call.action.sources, but it is missing in the actual type:

export type ResponseIncludable =
  | 'file_search_call.results'
  | 'message.input_image.image_url'
  | 'computer_call_output.output.image_url'
  | 'reasoning.encrypted_content'
  | 'code_interpreter_call.outputs';

To Reproduce

See openai@5.20.1.

Code snippets

OS

Ubuntu

Node version

v22.1.0

Library version

openai@5.20.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopenapi

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions