Files
OmniRoute/tests
Diego Rodrigues de Sa e Souza 70a3330815 fix(translator): keep a tool property named 'pattern' through Gemini schema sanitization (#4339)
The Gemini/Antigravity schema sanitizer strips JSON-Schema constraint
keywords Gemini rejects (pattern, minLength, ...) at every nesting level,
but it also deleted any tool property literally NAMED one of those keywords.
glob/grep tools declare a property called `pattern`, so on ag/* backends
that argument (and its `required` entry) was silently dropped, breaking the
tools. Keyword stripping is now position-aware: constraint keywords are only
removed at the schema-node level, never against the user-defined names inside
a `properties` map. A genuine string-level `pattern` constraint is still
stripped.

Reported-by: youthanh (https://github.com/decolua/9router/issues/1368)

Co-authored-by: youthanh <74104625+youthanh@users.noreply.github.com>
2026-06-19 23:24:23 -03:00
..
2026-06-17 19:26:32 -03:00
2026-05-23 01:46:59 -03:00
2026-06-19 06:49:01 -03:00
2026-06-10 13:49:08 -03:00
2026-06-13 17:27:40 -03:00