Skip to content

[Bug]: Antigravity Provider Error - enum[0]: cannot be empty #36591

Closed as not planned

Description

@CEikermann

Before submitting

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

Area

apps/desktop

Steps to reproduce

Nightly: Version 0.1.10-nightly.20261114.4669 (db2cc20)

  • Use managed runtime of antigravity 1.5.9
  • Start any new thread with hello
⚠ INVALID_ARGUMENT (code 400): * GenerateContentRequest.tools[54].function_declarations[0].parameters.properties[theme].properties[version].enum[0]: cannot be empty

Antigravity stopped this turn because of an error.

Expected behavior

Antigravity working

Actual behavior

Antigravity provider returns 400

Impact

Blocks work completely

Version or commit

No response

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Activity

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

    @juliusmarminge
    Member

    I tried to reproduce this on the current build and could not.

    Antigravity is not available on any worker, so a real Gemini turn could not be run. On origin/main 2f2730c I took the root-cause test from factory/repro-36508 (apps/server/src/mcp/advertisedJsonSchema.test.ts: a tool with parameters { theme: { version: Schema.Literal(1) } }, the shape EnvironmentThemeFile gives t3_theme_set, asserting every advertised enum value is a string). vp test run src/mcp/advertisedJsonSchema.test.ts fails with expected [ 1 ] to deeply equal []: the advertised MCP input schema still holds the numeric enum [1]. That matches the cached t3_theme_set.json ("version": {"enum": [1], "type": "number"}) that #36508's reporter found, and Google's 400 ...properties[theme].properties[version].enum[0]: cannot be empty. contracts still declare version: Schema.optional(Schema.Literal(1)). Committed and pushed as factory/repro-36591 (15354de).

    Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.

  3. CEikermann commented on Nov 14, 2026

    @CEikermann
    Author

    This issue is still happening with the actual nightly build Version 0.1.10-nightly.20261114.4669 (db2cc20)

    I have just updated to latest nightly, afterwards antigravity was not working anymore

    Just reinstalled the managed antigravity runtime, still the error

  4. CEikermann commented on Nov 14, 2026

    @CEikermann
    Author

    Using t3code Version 0.1.9 (24e7747) and its managed antigravity 1.4.5 works fine

  5. super148666 commented on Nov 14, 2026

    @super148666

    I am having this exact same issue, from all of my machines (mac and omarchy)

  6. CEikermann commented on Nov 15, 2026

    @CEikermann
    Author

    Version 0.1.10-nightly.20261115.4723 (11c425b) with Antigravity 1.5.9 works again

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