Skip to content

Conversation

seratch
Copy link
Member

@seratch seratch commented Aug 18, 2025

This pull request ensures Agents SDK to use the latest openai package.

Copy link

changeset-bot bot commented Aug 18, 2025

🦋 Changeset detected

Latest commit: ef7b071

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@openai/agents-openai Patch
@openai/agents-core Patch
@openai/agents Patch
@openai/agents-realtime Patch
@openai/agents-extensions Patch

Not sure what this means? Click here to learn what changesets are.

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

...remainingFunctionData,
},
});
if (tool_call.type === 'function') {
Copy link
Member Author

Choose a reason for hiding this comment

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

custom tools are recently introduced, but both Python and TS Agents SDK do not support the pattern for now.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this the same behavior in the Python one right now? I think we have an unknown type that we could use to return this and potentially stop the loop based on it. That way people could handle it. But if Python doesn't have a similar behavior I'm fine with it for now. Maybe logging it or something would make sense as it seems like a model misbehavior that could really only happen if someone uses prompts

Copy link
Member Author

@seratch seratch Aug 19, 2025

Choose a reason for hiding this comment

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

I made the same change for python and for now we're skipping custom tools. We may support it in the future, but for now this is consistent.

@dkundel-openai dkundel-openai merged commit 2260e21 into main Aug 25, 2025
5 checks passed
@dkundel-openai dkundel-openai deleted the openai-upgrade branch August 25, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file package:agents-core package:agents-openai
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants