Repository navigation
docs: say which clients would gain from OpenAI's server-side search (#876) - #954
Merged
Merged
Conversation
…876) Assisted-By: Claude Opus 5.5 Signed-off-by: DAVID AMID <[email protected]>
amiddavid
commented
Nov 8, 2026
amiddavid
left a comment
Collaborator
Author
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.319 | offload-review skill, @amiddavid's session | fresh | 2 of 2 | 1 of 2 | 75a9f5defc91 |
blocking |
Verdict: blocking
Findings
- docs/tool-search-matrix.md:25 — the new table contradicts row 14 of the main table about Codex on gpt-5.6
- What fails: a reader looks up Codex on gpt-5.6. The main table (line 14) says the search tool is
"Codex's owntool_search", answered by Codex. The new table (line 25) says "None needed",
because Codex sends notools. The page now gives two different answers for the same client. - Proof: line 14 vs. line 25. Issue #876's step-2 probe measured it: on gpt-5.6 Codex sends
tools: []and "Notool_searchat all". The closing comment on #876 says the same. The PR
body also says "Codex on gpt-5.6 sends notools". So row 14's "Search tool" and "Who answers"
cells are stale. They predate the probe (row present since #900, commit 44f8318). This PR adds
the correct facts one section below but leaves the stale row in place. - Fix: in row 14, set "Search tool" to
Noneand "Who answers" to-. Keep the rest of the row.
- What fails: a reader looks up Codex on gpt-5.6. The main table (line 14) says the search tool is
Non-blocking
- Line 25 says Codex "sends no
tools". Codex sends an emptytoolsarray (tools: []). The
meaning is the same for a reader. Optional wording fix. - Line 26 bolds two parts of the client cell and leaves "(the OpenAI SDK, an agent framework)"
plain. This matches the owner's text in #876, so I left it alone.
What I checked
- The full diff: one file,
docs/tool-search-matrix.md, +14/-2. No code change. - Issue #876 in full: body and all comments. The new table transcribes the owner's priority
decision of 2026-11-08 word for word. - Row 27 ("the app declares its own
tool_search"): verified in code.NativeSearch
(tooldefer/clientsearch.go:714) makes the proxy add nothing for such a request. - Row 26 (an app on Responses, no search of its own, uses
context_guru_toolstoday): verified in
code. The gate order attooldefer/clientsearch.go:311-333passes a non-Claude, no-native-search
Responses request to our search tool. - Rows 24 and 28 against the main table rows 13 and 15, and against issue #876. They agree.
- "The tool stays in
toolsinstead of being removed and added back": agrees with
docs/tool-search-matrix.md:141-143and with issue #876's cache analysis. - The PR needs no
mkdocs.ymlchange: it edits an existing page only. - Data dependence and behavior: no change. The PR touches docs only.
amiddavid
commented
Nov 8, 2026
amiddavid
left a comment
Collaborator
Author
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.319 | offload-review skill, @amiddavid's session | fresh | 1 of 2 | 1 of 2 | 75a9f5defc91 |
blocking |
Verdict: blocking
Findings
- docs/tool-search-matrix.md:25 — the new table contradicts line 14 for Codex on gpt-5.6
- What fails: a reader asks "which search tool does Codex on gpt-5.6 use?". Line 14 answers
"Codex's owntool_search, answered by Codex". Line 25 answers "None needed". The page now
gives two different answers to the same question, 11 lines apart. - Proof: the measurement in #876 (comment, 2026-11-08): on gpt-5.6 Codex puts its tools in an
additional_toolsinput item, sendstools: [], and "the proxy sees notool_searchand no
per-tool declaration". So line 14's cells describe gpt-5.5 behavior, not gpt-5.6. The code
agrees:NativeSearchreads onlytools(tooldefer/clientsearch.go:714-724), and a request
with notoolsarray stops atno_tools(tooldefer/clientsearch.go:337). The new table is
the correct side; line 14 is stale. - Fix: in line 14, change the "Search tool" and "Who answers" cells for the gpt-5.6 row to
match the new table (for example: "None needed — Codex sendsadditional_toolsand no
tools", who answers "-"). The contradiction is created by this PR, so the fix belongs here,
not in a separate issue.
- What fails: a reader asks "which search tool does Codex on gpt-5.6 use?". Line 14 answers
Non-blocking
- Line 31, "OpenAI charges for each search": no source in the repo or in #876's issue body. It
appears only in the owner's priority comment. Keep it only with a link to the pricing. - Lines 30-31: "Even there the gain is small" is followed by a benefit ("the tool stays in
tools"), then a cost. Split the two, so the reader sees which is which.
What I checked
- The full diff: one file,
docs/tool-search-matrix.md, +14 −2. One commit (75a9f5d). No code,
config, or data-dependence change, so no test is due and nodocs/data-dependence.mdrow moves. - The whole page, and each new claim against the code:
- "Codex on gpt-5.5: the proxy keeps Codex's search and defers nothing" —
ApplySearchreturns
native_searchbefore any rewrite (tooldefer/clientsearch.go:327-333). Matches #897. - "Codex on gpt-5.6: nothing to defer" —
ApplySearchstops atno_toolswhentoolsis not
an array (tooldefer/clientsearch.go:337-339);NativeSearchscanstoolsonly. Matches the
#876 measurement (tools: [], tools inadditional_tools). - "A direct Responses app with no search of its own uses our
context_guru_tools" — matches the
main table's last row and theApplySearchpath for non-Anthropic models with no native
search. - "The same app with its own
tool_search: no, native first" — matches the page's own rule
(line 3) and theNativeSearchgate. - "Chat Completions: no, #876 is Responses only" — matches #876 ("Responses only") and
NativeSearch'sIsResponsescheck. - "The tool stays in
toolsinstead of being removed and added back" — matches #876's mechanism
(defer_loading: trueplus{"type":"tool_search"}intools; no removal, no add-back). - "It is the only case" — I enumerated the clients on gpt-5.6+ Responses (Codex 5.5, Codex 5.6,
a direct app with and without its own search) and Chat Completions. Only the direct app
without its own search gains. The enumeration is complete.
- "Codex on gpt-5.5: the proxy keeps Codex's search and defers nothing" —
- The new table and the closing paragraph match the owner's priority comment on #876
(2026-11-08, "Priority: low") word for word, including "(low priority)" in the heading line. - The main table rows 13-16 against the new table: all agree except line 14 (finding 1).
Assisted-By: Claude Opus 5.5 Signed-off-by: DAVID AMID <[email protected]>
Collaborator
Author
|
Fixed in b7ff241:
🤖 Generated with Claude Code |
amiddavid
commented
Nov 8, 2026
amiddavid
left a comment
Collaborator
Author
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.319 | offload-review skill, @amiddavid's session | resumed | 2 of 2 | 2 of 2 | b7ff2412d790 |
approve |
Verdict: approve
Findings
None.
Earlier findings
- My round-1 finding (row 14 contradicted the new table on Codex gpt-5.6): fixed. Row 14 now
says the search tool is "None", with "Codex sends an emptytoolsarray and puts its tools in
additional_tools". "Who answers" is "-". Row 14 and the new table row now agree. Both match
the #876 probe: on gpt-5.6 Codex sendstools: []and notool_search. The code agrees:
NativeSearchscanstoolsonly (tooldefer/clientsearch.go:714-724), and an emptytools
array stops atno_tools(tooldefer/clientsearch.go:337-339). - Reviewer 1's round-1 finding (the same contradiction): fixed by the same change. I checked
it myself; the proof is above. I add no new proof. - My non-blocking note ("sends no
tools" vs.tools: []): fixed. Both places now say "an
emptytoolsarray". - Reviewer 1's non-blocking notes: fixed. Gain and cost are now two labeled bullets. The cost
bullet says "a paid tool call on the OpenAI side" and states no price, so it needs no pricing
link.
Non-blocking
- None.
What I checked
- Last review: round 1, 75a9f5d, 2026-11-08T14:50:54Z.
- New commits read: 1 (b7ff241 "docs: Codex on gpt-5.6 uses no search tool; split the #876 gain
and cost"). - Read in full: 2 reviews, 1 comment, 0 inline comments (from the three files).
- New items since my last review: the fix commit b7ff241, and the author's comment of
2026-11-08T14:54:25Z that lists three fixes. I verified each one against the diff and the code. - The full fix diff: one file,
docs/tool-search-matrix.md, +8/-4. No code change, so no test is
due and nodocs/data-dependence.mdrow moves. - The new gain bullet ("the tool stays in
toolswithdefer_loading") against issue #876's
mechanism:defer_loading: trueplus one{"type":"tool_search"}, no removal and no add-back.
It agrees. - Row 14's new cells against the new table row and issue #876's probe: all three agree.
- The rest of the page: the fix touches only rows 14 and 25 and the closing paragraph. Nothing
else drifted.
amiddavid
commented
Nov 8, 2026
amiddavid
left a comment
Collaborator
Author
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.319 | offload-review skill, @amiddavid's session | resumed | 1 of 2 | 2 of 2 | b7ff2412d790 |
approve |
Verdict: approve
Findings
None.
Earlier findings
- Mine, round 1 (line 14 vs. line 25, Codex on gpt-5.6): fixed in b7ff241. Line 14 now says
the search tool is "None (Codex sends an emptytoolsarray and puts its tools in
additional_tools)" and "Who answers" is "-". Line 25 says the same. The two tables agree, and
both match the #876 measurement (gpt-5.6:tools: [], tools inadditional_tools, no
tool_search). - Reviewer 2, round 1 (same contradiction): fixed by the same commit. I checked it myself;
the proof is above. I add nothing to it. - My non-blocking notes: addressed. The gain and the cost are now two bullets. The cost line
says "each server-side search is a paid tool call on the OpenAI side" and states no price. - Reviewer 2's non-blocking note (
tools: []wording): fixed. Both places now say "an empty
toolsarray".
Non-blocking
- None.
What I checked
- Last review: round 1, 75a9f5d, 2026-11-08T14:53:20Z
- New commits read: 1 (b7ff241 "docs: Codex on gpt-5.6 uses no search tool; split the #876 gain
and cost") - Read in full: 2 reviews, 1 comment, 0 inline comments (from the three files)
- New items since my last review:
- Commit b7ff241 (docs/tool-search-matrix.md, +8 −4): read the full diff and the file around
each change. Verified each new claim below. - Author comment at 2026-11-08T14:54:25Z: lists the three fixes. All three are in the commit.
- Reviewer 2's round-1 review (14:50:54Z, before my last review): read in full now. Its finding
matches mine; its non-blocking notes are addressed.
- Commit b7ff241 (docs/tool-search-matrix.md, +8 −4): read the full diff and the file around
- The new commit's claims against the code and the issues:
- "Codex sends an empty
toolsarray": withtools: [],ApplySearchpasses theno_tools
gate (the field is an array), decides over zero tools, and defers nothing
(tooldefer/clientsearch.go:337-383). The row's "Nothing. There is nothing to defer" holds. - "Its tools go in
additional_tools": matches the #876 step-2 probe (23 KBadditional_tools
item, no per-tool declaration intools). - "The tool stays in
toolswithdefer_loading": matches #876's mechanism
(defer_loading: trueplus{"type":"tool_search"}intools).
- "Codex sends an empty
- The cumulative diff base..HEAD is the round-1 change plus this fix. Nothing else changed. No
code, config, or data-dependence change, so no test is due and nodocs/data-dependence.mdrow
moves.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/tool-search-matrix.md, the "Planned, not built" note about OpenAI's server-side search (feat(tooldefer): native tool search for gpt-5.6+ on the Responses API #876) now has a table. The table shows which clients would gain from it.How it was checked
main. Codex keeps its owntool_search(fix(tooldefer): never add our search to a Responses request that has its own (#876) #897). Codex on gpt-5.6 sends notools. Chat and Responses clients with no search of their own usecontext_guru_tools. feat(tooldefer): native tool search for gpt-5.6+ on the Responses API #876 covers the Responses API only.mkdocs.ymldoes not change.🤖 Generated with Claude Code