fix(agents): declare each tool name once per request #96
Owner
- Fixed Bug two sources could claim one name, a room's user tool called search_web beside the agent's own, and Gemini refuses such a request with 400 "Duplicate function declaration found", failing the round
- Added Redundancy the first registration wins, so a user tool cannot quietly replace what the agent already serves under that name, and the dropped one is logged
- Added Function a test that a colliding user tool leaves exactly one declaration standing
- Fixed Bug two sources could claim one name, a room's user tool called search_web beside the agent's own, and Gemini refuses such a request with 400 "Duplicate function declaration found", failing the round
- Added Redundancy the first registration wins, so a user tool cannot quietly replace what the agent already serves under that name, and the dropped one is logged
- Added Function a test that a colliding user tool leaves exactly one declaration standing
peersky
added 1 commit 2026-09-05 03:52:42 +00:00
All checks were successful
CI / Dependency Age Check (pull_request) Successful in 3s
Details
CI / Lint & Audit (pull_request) Successful in 1m45s
Details
CI / Spell Check (pull_request) Successful in 5s
Details
Commit Lint / Validate PR Title (pull_request) Successful in 3s
Details
CI / Test (pull_request) Successful in 7m44s
Details
peersky
added 1 commit 2026-09-05 04:12:03 +00:00
All checks were successful
CI / Dependency Age Check (pull_request) Successful in 4s
Details
CI / Lint & Audit (pull_request) Successful in 1m8s
Details
CI / Spell Check (pull_request) Successful in 5s
Details
Commit Lint / Validate PR Title (pull_request) Successful in 3s
Details
Publish Release / Create Tag & Sync (pull_request) Has been skipped
Details
Publish Release / Publish to crates.io (pull_request) Has been skipped
Details
Publish Release / Publish dry-run (no side effects) (pull_request) Has been skipped
Details
Publish Release / Create GitHub Release (pull_request) Has been skipped
Details
CI / Test (pull_request) Successful in 5m23s
Details
Merge pull request 'fix(agents): declare each tool name once per request' (#96) from fix/duplicate-tool-declaration into dev
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/duplicate-tool-declaration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?