Skip to content

Conversation

@dkundel-openai
Copy link
Collaborator

We didn't have a good example of using local file inputs which caused confusion in #87 since the Responses API does not give a detailed error message if the filename property is missing

@changeset-bot
Copy link

changeset-bot bot commented Jun 11, 2025

⚠️ No Changeset found

Latest commit: d27e19d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@seratch seratch added the documentation Improvements or additions to documentation label Jun 11, 2025
Copy link
Member

@seratch seratch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the purpose to add this example, the name local-file.ts is fine, but as we already have local-image.ts in the same directory, we may want to name this local-pdf.ts? Either is fine tho!

@dkundel-openai
Copy link
Collaborator Author

I think since the input type is file local-file makes more sense imo

@dkundel-openai dkundel-openai merged commit 56b3ebe into main Jun 12, 2025
5 checks passed
@dkundel-openai dkundel-openai deleted the file-search-example branch June 12, 2025 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants