Skip to content

fix: allow GA computer tools without display metadata#1078

Merged
seratch merged 1 commit intomainfrom
fix/ga-computer-metadata-optional
Mar 9, 2026
Merged

fix: allow GA computer tools without display metadata#1078
seratch merged 1 commit intomainfrom
fix/ga-computer-metadata-optional

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented Mar 9, 2026

This pull request fixes a runtime mismatch introduced by the GA computer tool shape. The core SDK now allows local Computer implementations to omit environment and dimensions when the request is targeting the GA {"type":"computer"} wire format, while keeping preview-only validation in the OpenAI Responses adapter. It also makes the AI SDK adapter fail explicitly when preview-style computer metadata is missing, rather than relying on implicit type assumptions.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 9, 2026

🦋 Changeset detected

Latest commit: 9b69b99

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

@github-actions github-actions bot added this to the 0.5.x milestone Mar 9, 2026
@seratch seratch modified the milestones: 0.5.x, 0.6.x Mar 9, 2026
@seratch seratch merged commit 559f3d8 into main Mar 9, 2026
6 checks passed
@seratch seratch deleted the fix/ga-computer-metadata-optional branch March 9, 2026 01:21
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.

1 participant