feat(codex): parse custom tool call items with labels - #133
Draft
Ariestar wants to merge 1 commit into
Draft
Conversation
Support the custom_tool_call / custom_tool_call_output response items: tool calls and outputs now carry a label (tool name) linked by call_id, and the content view renders structure runs as marker-only lines with xN counts for identical labels. Bump the agent cache version since the parsed block layout changed.
Ariestar
marked this pull request as draft
August 12, 2026 10:05
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Deploying sivtr with
|
| Latest commit: |
74fdb3e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2594908e.sivtr.pages.dev |
| Branch Preview URL: | https://feat-codex-custom-tool-calls.sivtr.pages.dev |
Collaborator
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
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.
Support Codex's
custom_tool_call/custom_tool_call_outputresponse items, which the newer API uses for tool invocations.Changes
custom_tool_callandcustom_tool_call_output; tool calls and outputs now carry a label (tool name) and are linked bycall_id<:tool:name call:>) withxNcounts for identical labelsAGENT_CACHE_VERSIONsince the parsed block layout changedValidation
cargo fmt --all -- --check✅cargo clippy --workspace --all-targets -- -D warnings✅cargo test --workspace✅ (exit 0)Summary by CodeRabbit
New Features
Bug Fixes
Tests