Skip to content

Conversation

@seratch
Copy link
Member

@seratch seratch commented Dec 15, 2025

This pull request resolves #762 by adding turnInput to agent_start event handlers. This is fully backward-compatible, so all the existing agent_start event hooks work without any migration.

Regarding the same change to the Python SDK, the Python SDK's agent/run hooks are not flexible enough to add new arguments. So, we'll consider enabling the hooks to accept both current set of arguments and a single dict object containing all the possible properties. This TS SDK may introduce a similar argument data pattern in the future, but we won't make such larger changes this time.

@changeset-bot
Copy link

changeset-bot bot commented Dec 15, 2025

🦋 Changeset detected

Latest commit: c1cd6b4

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-realtime Patch
@openai/agents-core Patch
@openai/agents Patch
@openai/agents-extensions Patch
@openai/agents-openai 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

@seratch seratch merged commit 2a4a696 into main Dec 15, 2025
5 checks passed
@seratch seratch deleted the issue-762-turnInput-in-agent-start-hooks branch December 15, 2025 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I hope to obtain the agent's input during the agent_start event

2 participants