[Bug] Antigravity thinking models fail with Google API error #6731

Closed
opened 2026-02-16 18:05:05 -05:00 by yindo · 3 comments
Owner

Originally created by @chindris-mihai-alexandru on GitHub (Jan 18, 2026).

Originally assigned to: @rekram1-node on GitHub.

Bug Description

Antigravity thinking models (e.g., google/antigravity-claude-opus-4-5-thinking) were working until recently but now fail with Google API errors.

Error Message

Invalid JSON payload received. Unknown name "thinking" at 'request.contents[75].parts[0]': Cannot find field.

Debug Info

Environment

  • Plugin: opencode-antigravity-auth@beta
  • OS version: macOS Sequoia 15.7.4
  • OpenCode version: 1.1.25

Expected vs Actual

  • Expected: Thinking models work as before
  • Actual: Google API rejects thinking parameters

Workaround

Non-thinking models still work (e.g., google/antigravity-claude-sonnet-4-5)

This appears to be a recent regression in the Antigravity plugin's Google API integration.

Originally created by @chindris-mihai-alexandru on GitHub (Jan 18, 2026). Originally assigned to: @rekram1-node on GitHub. ## Bug Description Antigravity thinking models (e.g., google/antigravity-claude-opus-4-5-thinking) were working until recently but now fail with Google API errors. ## Error Message Invalid JSON payload received. Unknown name "thinking" at 'request.contents[75].parts[0]': Cannot find field. ## Debug Info - Requested Model: antigravity-claude-opus-4-5-thinking - Endpoint: https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:streamGenerateContent - Status: 400 ## Environment - Plugin: opencode-antigravity-auth@beta - OS version: macOS Sequoia 15.7.4 - OpenCode version: 1.1.25 ## Expected vs Actual - Expected: Thinking models work as before - Actual: Google API rejects thinking parameters ## Workaround Non-thinking models still work (e.g., google/antigravity-claude-sonnet-4-5) This appears to be a recent regression in the Antigravity plugin's Google API integration.
yindo closed this issue 2026-02-16 18:05:05 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 18, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8857: Gemini 3 models fail with "Invalid JSON payload received. Unknown name 'parameters'" error - shares the same root cause (Invalid JSON payload errors from Google API with antigravity plugin)

Both issues report Google API 400 errors with invalid payload formats when using antigravity models. Feel free to ignore if this addresses a specific case with thinking models that isn't covered by #8857.

@github-actions[bot] commented on GitHub (Jan 18, 2026): This issue might be a duplicate of existing issues. Please check: - #8857: Gemini 3 models fail with "Invalid JSON payload received. Unknown name 'parameters'" error - shares the same root cause (Invalid JSON payload errors from Google API with antigravity plugin) Both issues report Google API 400 errors with invalid payload formats when using antigravity models. Feel free to ignore if this addresses a specific case with thinking models that isn't covered by #8857.
Author
Owner

@rekram1-node commented on GitHub (Jan 18, 2026):

Mind closing here since this support most likely is due to ur plugin?

@rekram1-node commented on GitHub (Jan 18, 2026): Mind closing here since this support most likely is due to ur plugin?
Author
Owner

@chindris-mihai-alexandru commented on GitHub (Jan 18, 2026):

done

@chindris-mihai-alexandru commented on GitHub (Jan 18, 2026): done
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6731