Repository navigation
fix(mcpx): integer params only from complete numeric placeholder tokens (#9557) - #9564
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 39 seconds. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Fixes #9557.
flagParams in pkgs/mcpx/internal/cli/adapter_import.go inferred an integer parameter whenever the value placeholder merely contained int/num/count as a substring - so --endpoint ENDPOINT generated an integer-only parameter and validateToolArgs rejected valid string values (Codex P2 on PR #9161, never addressed).
Fix: integer typing is now inferred only from complete placeholder tokens naming a numeric type (INT, INTEGER, NUM, NUMBER, COUNT as whole tokens, e.g. MAX_COUNT, RETRY-NUM); every other placeholder falls back to string.
Tests (oracle: issue #9557 / the PR #9161 Codex scenario):
Queue: task 16111, lane code-c.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.