Skip to content

Commit b361b41

Browse files
mirrobot-agent[bot]mirrobot-agent[bot]
andauthored
fix(antigravity): add propertyNames to incompatible schema keywords (#52)
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>
1 parent 42ed1f1 commit b361b41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/rotator_library/providers/antigravity_provider.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ def _clean_claude_schema(schema: Any, for_gemini: bool = False) -> Any:
549549
"format",
550550
"minProperties",
551551
"maxProperties",
552+
"propertyNames",
552553
"contentEncoding",
553554
"contentMediaType",
554555
"contentSchema",

0 commit comments

Comments
 (0)