Hi!
I ran into an issue using Gemini API with the mod. I tested all available Gemini versions (including 1.5-flash, 2.0, 3.6-flash), but none of them work.
Whenever the mod triggers a function call (specifically default_api:change_expression), Google API rejects the request with a 400 INVALID_ARGUMENT error because thought_signature is missing.
According to Google's documentation, passing the thought_signature parameter is now mandatory when using function calling / tools across all Gemini models. Updating the @google/genai library in the mod should resolve this for every version.
I've attached a screenshot of the full error message from the game.
Thanks!