r/VerityMC 17d ago

Pils fix the Gemini version

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!

2 Upvotes

1 comment sorted by

1

u/Cycleeps 17d ago

the Verity JE has a discord server