mirrobot-agent[bot] mirrobot-agent[bot] commited on
Commit
92db52f
·
unverified ·
1 Parent(s): 9c5dbdf

fix(antigravity): add propertyNames to incompatible schema keywords (#52)

Browse files

Adds 'propertyNames' to the list of JSON Schema validation keywords that are stripped from tool schemas when converting for Claude via the Antigravity provider. This keyword is not supported by Google's Proto-based API and was causing 400 Bad Request errors with nested object schemas.

Closes #48

Co-authored-by: mirrobot-agent[bot] <2140342+mirrobot-agent@users.noreply.github.com>

src/rotator_library/providers/antigravity_provider.py CHANGED
@@ -549,6 +549,7 @@ def _clean_claude_schema(schema: Any, for_gemini: bool = False) -> Any:
549
  "format",
550
  "minProperties",
551
  "maxProperties",
 
552
  "contentEncoding",
553
  "contentMediaType",
554
  "contentSchema",
 
549
  "format",
550
  "minProperties",
551
  "maxProperties",
552
+ "propertyNames",
553
  "contentEncoding",
554
  "contentMediaType",
555
  "contentSchema",