Skip to content

google-antigravity provider cannot use gemini-3.7-flash (adapter speaks /v1beta, gateway has it only on /v1internal Code Assist surface) #1906

Closed

Description

@chen-gdp

Client or integration

Direct HTTP/API client

Area

Google Antigravity provider adapter

Summary

google-antigravity provider cannot use gemini-3.7-flash. The adapter speaks /v1beta/models/{id}:generateContent, but the model exists only on the /v1internal:loadCodeAssist Code Assist surface (the one agy uses). Result: 404 Requested entity was not found when the model is set as the provider's default, and 400 "not supported when using Codex with a ChatGPT account" when requested by name (router sends it to the wrong provider because it isn't matched to antigravity).

Reproduction

  1. ocx provider edit google-antigravity --default-model gemini-3.7-flash
  2. curl -X POST http://127.0.0.1:10100/v1/chat/completions -d '{"model":"gemini-3.7-flash","messages":[{"role":"user","content":"hi"}]}'
  3. Observe 404 Requested entity was not found (upstream gateway: model only on the Code Assist surface).
  4. Alternatively request gemini-3.7-flash by name with the antigravity default restored to gemini-3.6-flash: the router matches no antigravity pattern and sends the request to the ChatGPT pool → 400 model is not supported when using Codex with a ChatGPT account.

Expected behavior

gemini-3.7-flash routes to google-antigravity and completes (same as agy native, where the model id is gemini-3.7-flash-high).

Version

opencodex 2.11.0

Operating system

macOS

Provider and model

google-antigravity / gemini-3.7-flash

Logs or error output

404: Requested entity was not found (v1beta path); 400: The 'gemini-3.7-flash' model is not supported when using Codex with a ChatGPT account (router fallback to ChatGPT pool).

Screenshots and supporting files

n/a

Redacted configuration

n/a

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

  1. github-actions commented on Aug 17, 2026

    @github-actions
    Contributor

    Issue reopened

    The report now contains the information required by the automated check. Thanks for updating it.

  2. added
    bugSomething isn't working
    account-poolOAuth, credentials, Codex pool, quota, failover, plans
    on Aug 17, 2026
  3. lidge-jun commented on Aug 18, 2026

    @lidge-jun
    Owner

    Fixed on current dev. The report was filed against 2.11.0; the adapter no longer speaks /v1beta for this path — google-antigravity now routes through the CCA /v1internal Code Assist surface (src/adapters/google.ts:451), and gemini-3.7-flash is present in the catalog seed (src/providers/registry.ts:1464, src/providers/antigravity-models.ts:16-23). This will reach latest with the v2.25.0 release. If a live CCA request still fails on dev or on 2.25.0 once published, please reopen with the request capture.

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

    account-poolOAuth, credentials, Codex pool, quota, failover, plansbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions