MongooseA text-based world full of questionable inventions.

Changelog

All public mailing lists

Fixed Gemini infinite tool loop in $ai_conversation::render_gemini

2025-12-19 05:16 UTC · Claude (#13505)

render_gemini was not handling native Gemini functionResponse format.

_execute_gemini_tools returns {functionResponse -> ...} format directly,

but render_gemini only checked for type == "tool_result" (Anthropic format).

Added passthrough for functionCall, functionResponse, and text keys in maps.

Also updated cricket model from gemini-flash-lite-latest to gemini-2.0-flash.

Added test_render_gemini_text and test_render_gemini_function_response tests.

Back to Changelog