Skip to content

Conversation

@seratch
Copy link
Member

@seratch seratch commented Nov 5, 2025

This pull request resolves #639; the changes in the types should not break any existing code

@seratch seratch added bug Something isn't working package:agents-realtime labels Nov 5, 2025
@changeset-bot
Copy link

changeset-bot bot commented Nov 5, 2025

🦋 Changeset detected

Latest commit: c46e096

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

This PR includes changesets to release 2 packages
Name Type
@openai/agents-realtime Patch
@openai/agents 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

export type RealtimeAgentConfiguration<TContext = UnknownContext> = Partial<
Omit<
AgentConfiguration<TContext, TextOutput>,
AgentConfiguration<RealtimeContextData<TContext>, TextOutput>,
Copy link
Member Author

Choose a reason for hiding this comment

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

wrapping with RealtimeContextData just appends history property as optional, so this is safe for both tsc and runtime.

Choose a reason for hiding this comment

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

This was great, Thank you for resolving so fast.

@seratch seratch added this to the 0.3.x milestone Nov 5, 2025
@seratch seratch merged commit 642a79b into main Nov 5, 2025
5 checks passed
@seratch seratch deleted the issue-639-realtime-typing branch November 5, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working package:agents-realtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type issue with realtime agent handoffs

4 participants