Skip to content

fix(antigravity): strip parametersJsonSchema before v1internal requests - #69

Open
mahdiwafy wants to merge 1 commit into
Vanszs:mainfrom
mahdiwafy:pr/antigravity-parameters-schema
Open

fix(antigravity): strip parametersJsonSchema before v1internal requests#69
mahdiwafy wants to merge 1 commit into
Vanszs:mainfrom
mahdiwafy:pr/antigravity-parameters-schema

Conversation

@mahdiwafy

Copy link
Copy Markdown

Summary

  • Removes parametersJsonSchema before sending Antigravity requests to v1internal.

Scope

Focused only on Antigravity request payload compatibility.

Verification

  • npm run lint:undef

…rnal

PR Vanszs#61's Gemini CLI fix converts parameters -> parametersJsonSchema
for Cloud Code Assist. But Antigravity's v1internal API uses the
standard 'parameters' field. The ...fn spread in transformRequest
leaked parametersJsonSchema through while also setting parameters,
causing Google API to reject with:

  parameters_json_schema must not be set when parameters is set.

Delete parametersJsonSchema after building each function declaration
in the antigravity executor tool pipeline.
@mahdiwafy mahdiwafy closed this Jul 30, 2026
@mahdiwafy
mahdiwafy deleted the pr/antigravity-parameters-schema branch July 30, 2026 05:06
@mahdiwafy
mahdiwafy restored the pr/antigravity-parameters-schema branch July 30, 2026 05:15
@mahdiwafy mahdiwafy reopened this Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant