Repository navigation
fix: accept Codex parallel tool policy with built-ins - #191
Merged
Merged
Conversation
Signed-off-by: Francisco Javier Arceo <[email protected]>
franciscojavierarceo
marked this pull request as ready for review
August 20, 2026 19:45
franciscojavierarceo
requested review from
bbrowning,
jiahuei,
leseb,
maralbahari,
noobHappylife,
qandrew and
tjtanaa
as code owners
August 20, 2026 19:45
There was a problem hiding this comment.
Pull request overview
Preserves callers’ parallel_tool_calls policy when built-in tools are normalized for vLLM.
Changes:
- Removes built-in-tool rejection and forced serial defaults.
- Adds coverage for true, false, omitted, built-in-only, and mixed tools.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Signed-off-by: Francisco Javier Arceo <[email protected]>
This was referenced Aug 21, 2026
franciscojavierarceo
added a commit
that referenced
this pull request
Aug 21, 2026
franciscojavierarceo
added a commit
that referenced
this pull request
Aug 21, 2026
- restore the clippy allows for Rust 1.98 that the #191 revert removed (main is red on `cargo clippy -D warnings` without them) - advertise supports_parallel_tool_calls=false in the Codex catalog again, since the gateway rejects it with built-in tools after the revert Co-Authored-By: Claude Fable 5 <[email protected]> Signed-off-by: Francisco Javier Arceo <[email protected]>
franciscojavierarceo
added a commit
that referenced
this pull request
Aug 21, 2026
Reference #197 (serialized parallel tool calls) instead of the reverted #191 in the Codex catalog comment and the harness testing guide. Co-Authored-By: Claude Fable 5 <[email protected]> Signed-off-by: Francisco Javier Arceo <[email protected]>
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
parallel_tool_callsvalue when built-in tools are declaredRelated issue: #190
Codex normally sends
parallel_tool_calls: true. OpenAI's parallel function-calling contract allows supported models to parallel-call functions while built-in tools are available; a built-in tool simply cannot be included in the same parallel function-call batch. Agentic API already routes gateway-executed built-ins separately, so rejecting the request at normalization is unnecessarily stricter than the wire contract.Test Plan
cargo fmt --all -- --checkcargo test -p agentic-server-core --quietcargo test --workspacecargo clippy --all-targets -- -D warningsuv run --with pre-commit pre-commit run --all-filesAll listed checks passed locally. The full core suite reported 358 passed and 3 ignored tests; the workspace suite reported zero failures.