mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-29 16:20:27 +00:00
The Antigravity native Gemini route (generateContent) expects each contents entry to carry an explicit "user" role, matching the request shape used by the established Antigravity account-test flow. Without it the probe body is rejected with 400 INVALID_ARGUMENT, so Gemini channel monitors report false failures. Add the explicit role to the Gemini provider adapter body and cover it with a regression test that parses the generated request body.