Skip to content

[codex] Support search schema on all search types#157

Merged
LiamHz merged 3 commits intomasterfrom
liamhz/search-output-schema-all-types-js
Apr 4, 2026
Merged

[codex] Support search schema on all search types#157
LiamHz merged 3 commits intomasterfrom
liamhz/search-output-schema-all-types-js

Conversation

@LiamHz
Copy link
Copy Markdown
Contributor

@LiamHz LiamHz commented Apr 3, 2026

What changed

This updates the JavaScript SDK search surface so systemPrompt and outputSchema are supported across all search types, adds deep-lite as a deep search variant, and documents that output is returned when outputSchema is provided.

Why

The search API now supports these parameters across every search type instead of only deep and deep-reasoning, and it adds deep-lite alongside the existing deep variants.

Impact

JavaScript SDK consumers can now pass systemPrompt and outputSchema on non-deep searches, use deep-lite, and rely on the documented output field when structured output is requested.

Validation

  • npx vitest run test/unit/search.test.ts
  • npm run build
  • npm run typecheck still has unrelated pre-existing repo errors outside this changed surface

Open with Devin

@LiamHz LiamHz marked this pull request as ready for review April 4, 2026 00:02
@LiamHz LiamHz merged commit d0c1c56 into master Apr 4, 2026
2 of 3 checks passed
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant