t3code icon indicating copy to clipboard operation
t3code copied to clipboard

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

Open CEikermann opened this issue 2 weeks ago • 5 comments

Before submitting

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

Area

apps/desktop

Steps to reproduce

Nightly: Version 0.1.10-nightly.20261114.4669 (db2cc2026427)

  • 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

CEikermann avatar Nov 14 '26 08:11 CEikermann

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 2f2730c113 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 (15354deb5d).

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.

juliusmarminge avatar Nov 14 '26 08:11 juliusmarminge

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

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

Just reinstalled the managed antigravity runtime, still the error

CEikermann avatar Nov 14 '26 08:11 CEikermann

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

CEikermann avatar Nov 14 '26 08:11 CEikermann

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

super148666 avatar Nov 14 '26 12:11 super148666

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

CEikermann avatar Nov 15 '26 06:11 CEikermann