Skip to content

Errors with Opus 4.5 through Antigravity that I don't get with Opus 4.5 through Claud Pro #6064

Closed

Description

@bcardarella

Description

These seems to happen from time to time

Edit: to be clear, I can use Opus 4.5 through Antigravity without issue then randomly these errors happen. I cannot continue in that agent with that context history. If I /undo I can continue but of course loose whatever context that had built between those prompts.

The link above is from /share but doesn't seem to be loading. Maybe you all have the data on your end to inspect still?

{"type":"error","error":{"type":"invalid_request_error","message":"messages.3.content.0.type: Expected `thinking` or `redacted_thinking`, but found `text`. When `thinking` is enabled, a final `assistant` message must start with a thinking block (preceeding the lastmost set of `tool_use` and `tool_result` blocks). We recommend you include thinking blocks from previous turns. To avoid this requirement, disable `thinking`. Please consult our documentation at https://docs.claude.com/en/docs/build-with-claude/extended-thinking"},"request_id":"req_vrtx_011CWQKuoNZWVxLby78G47pT"}
[Debug Info]
Requested Model: claude-opus-4-5-thinking
Effective Model: claude-opus-4-5-thinking
Project: groovy-spanner-nxhhm
Endpoint: https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:streamGenerateContent?alt=sse
Status: 400
Request ID: N/A
Tool Debug Missing: 13
Tool Debug Summary: decl=bash,src=functionDeclarations,hasSchema=y | decl=read,src=functionDeclarations,hasSchema=y | decl=glob,src=functionDeclarations,hasSchema=y | decl=grep,src=functionDeclarations,hasSchema=y | decl=list,src=functionDeclarations,hasSchema=y | decl=edit,src=functionDeclarations,hasSchema=y | decl=write,src=functionDeclarations,hasSchema=y | decl=task,src=functionDeclarations,hasSchema=y | decl=webfetch,src=functionDeclarations,hasSchema=y | decl=todowrite,src=functionDeclarations,hasSchema=y | decl=todoread,src=functionDeclarations,hasSchema=n | decl=skill,src=functionDeclarations,hasSchema=y | decl=prune,src=functionDeclarations,hasSchema=y | decl=bd_ready,src=functionDeclarations,hasSchema=y | decl=bd_create,src=functionDeclarations,hasSchema=y | decl=bd_update,src=functionDeclarations,hasSchema=y | decl=bd_close,src=functionDeclarations,hasSchema=y | decl=bd_reopen,src=functionDeclarations,hasSchema=y | decl=bd_show,src=functionDeclarations,hasSchema=y | decl=bd_list,src=functionDeclarations,hasSchema=y
Tool Debug Payload:

OpenCode version

1.0.193

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Dec 23, 2025

    @github-actions
    Contributor

    This issue might be related to similar model provider/integration issues in OpenCode Zen. Please check:

    Feel free to ignore if your specific issue with Opus 4.5 through Antigravity is different from these other model provider errors.

  2. shekohex commented on Dec 23, 2025

    @shekohex
    Contributor

    Can you try https://github.com/shekohex/opencode-google-antigravity-auth plugin instead of the other one? lmk if you still face this issue with that plugin.

  3. bcardarella commented on Dec 23, 2025

    @bcardarella
    Author

    @shekohex that plugin wasn't able to detect my Ultra AI subscription and just put me at free tier.

  4. shekohex commented on Dec 24, 2025

    @shekohex
    Contributor

    @shekohex that plugin wasn't able to detect my Ultra AI subscription and just put me at free tier.

    interesting, can you open a bug report there? I will happily fix it.

  5. rekram1-node commented on Dec 24, 2025

    @rekram1-node
    Collaborator

    I think this may be a bug w/ your plugin rather than one for opencode?

  6. bcardarella commented on Dec 24, 2025

    @bcardarella
    Author

    @rekram1-node perhaps, I'll try there thanks

  7. zeroaddresss commented on Dec 31, 2025

    @zeroaddresss

    @bcardarella what plugin are you using for antigravity to opencode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions