mirror of
https://github.com/teamchong/pxpipe.git
synced 2026-07-22 02:02:51 +02:00
b22c037bed
Server-side tools (e.g. advisor_20260301, web_search_20250305) were getting a description injected and a heading in the imaged Tool Reference, causing Anthropic to 400 with "Extra inputs are not permitted". Guard the rewrite map so any tool with a non-"custom" type passes through byte-identical, mirroring the OpenAI-path isFunctionTool guard. Fixes #43