Skip to content

[Bug]: Antigravity: model switch ignored on resumed thread. Still "Usage Limit Reached" while a new thread on the same model works #38312

Closed as not planned

Description

@guiniol

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

Not sure

Steps to reproduce

  1. Run a thread on Carbon (via Antigravity ACP) until it returns "Usage Limit Reached".
  2. Switch that thread to Opus (via the Antigravity ACP quota) and send a message.
  3. The turn ends in about 5s with "Usage Limit Reached".
  4. Start a new thread with Opus via the Antigravity ACP quota.
  5. See that thread work.

Expected behavior

The thread should start using the Opus quota since that is a different bucket that is not exhausted.

Actual behavior

The turn ends in about 5 s. session/prompt returns success, and the assistant text is "Usage Limit Reached … reset in 4 days, 3 hours". T3 then adds an error item: "You have reached your Antigravity quota for this period."
The run records show model: "claude-opus-4-6", but executedModel is null on every run, so there is no confirmation of which model Antigravity actually used.

extra info obtained via the Opus model in the new thread.

Impact

Blocks work completely

Version or commit

0.1.8

Environment

headless t3code 0.1.8 (nixpkgs-unstable), Antigravity provider (ACP), local t3code is 0.1.9 (archlinux), connection via local network (connecting from the android phone showed the same issue, version 2.3.0)

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Suspected cause: when an existing Antigravity conversation is resumed or loaded, the model change sent through session/set_config_option isn't applied or honored. The conversation keeps the original model's quota, or returns a cached error.

Workaround: starting a new provider session works (context handoff or fresh-context send), but this loses the native conversation state.

Activity

  1. added
    bug
    needs-triage
    on Nov 17, 2026
  2. juliusmarminge commented on Nov 20, 2026

    @juliusmarminge
    Member

    Tried to reproduce on main @ 29b42d4 (Linux x86_64, native agy 1.5.12). Not reproduced.

    To exhaust exactly one model without burning real quota, I put a small local proxy between the Antigravity instance (Gemini API-key mode) and its upstream. It answers 429 RESOURCE_EXHAUSTED for every gemini-4-argon request, passes all other models through, and logs which model each request targets.

    1. Live session. New thread on Gemini 4 Argon → agy retries 9 times, all 429 → the turn fails with "Resource has been exhausted" and the thread shows Limited / "Usage limit reached". Switch the same thread to Gemini 3.8 Flash in the composer and send → the proxy logs PASS model=gemini-3.8-flash, and the turn completes ("switched").
    2. Resumed session, the case in this report. Exhaust a second thread on Argon the same way, restart the server, open the thread, switch to Gemini 3.8 Flash and send → the provider log shows session/resume followed by session/set_config_option, the proxy logs PASS model=gemini-3.8-flash, and the turn completes ("resumed").

    So T3 does apply the model change to a resumed Antigravity conversation on agy 1.5.12, and the next request uses the new model. The original report was T3 0.1.8/0.1.9 with the older runtime and Google-account quota buckets ("Usage Limit Reached … reset in 4 days"). If it still happens there, the cause is more likely that runtime or Antigravity's backend applying an account-level limit across models than T3 dropping the switch. Suggest closing unless it reproduces on 1.5.x.

  3. juliusmarminge commented on Nov 20, 2026

    @juliusmarminge
    Member

    Closing: not reproducible on current main (agy 1.5.12); test details above. Reopen with a repro on a current build if it still happens.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions