Skip to content

fix: dont compact standalone websearch schema#24660

Merged
sayan-oai merged 1 commit into
mainfrom
dev/sayan/websearch-tool-desc-uncompacted
May 27, 2026
Merged

fix: dont compact standalone websearch schema#24660
sayan-oai merged 1 commit into
mainfrom
dev/sayan/websearch-tool-desc-uncompacted

Conversation

@sayan-oai
Copy link
Copy Markdown
Collaborator

add new parse_tool_input_schema_without_compaction to bypass the existing compaction/trimming of client-provided tool schemas that are over 4k bytes.

we want this for standalone web search to keep field guidance/metadata on certain fields; this keeps us closer to parity with existing hosted tool schema (which didnt go through this 4k byte filter).

…s/metadata to be more aligned with hosted websearch
@sayan-oai sayan-oai requested a review from a team as a code owner May 26, 2026 22:59
Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dcce5cfcf3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/ext/web-search/src/tool.rs
@sayan-oai sayan-oai enabled auto-merge (squash) May 27, 2026 01:03
@sayan-oai sayan-oai merged commit 9fe55d6 into main May 27, 2026
45 of 47 checks passed
@sayan-oai sayan-oai deleted the dev/sayan/websearch-tool-desc-uncompacted branch May 27, 2026 01:05
@github-actions github-actions Bot locked and limited conversation to collaborators May 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants