feat(gemini): add 3.7 Flash with Grok 4.6 and Gemini evals - #238
Merged
Conversation
teamchong
force-pushed
the
eval/grok-4.6-high
branch
from
August 17, 2026 17:31
e5bbc04 to
5863fdd
Compare
teamchong
force-pushed
the
eval/grok-4.6-high
branch
from
August 17, 2026 20:06
5863fdd to
e800c7b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Gemini 2.5/3.x rejects replayed multi-turn tool calls when a preceding
functionCallloses itsthoughtSignature. Long sessions also fail to compact reliably: signed turns become opaque barriers, history collapse can stop atlatestPlainUser, and oversized image history can abort collapse instead of fitting the image budget. We also lacked current Grok 4.6 and Gemini 3.7 evaluation receipts for these paths.Mechanism / Fix
maxImagesinstead of abandoning compression.Before vs After
Eval Results
Grok 4.6
The live
grok-4.6profile resolved with high reasoning effort. Dense hex recall remained 0.4 on the shared corpus, matching the prior Grok 4.5 result.Gemini 3.7 Flash
The Gemini runners were added and exercised, but the configured Cloudflare AI Gateway catalog did not expose
gemini-3.7-flashas a Google AI Studio model. The similarly named Workers AI model is a GLM text-only endpoint, so it cannot provide a valid image-model receipt. Existing Gemini 3.6 receipts remain unchanged.Verify
mainpnpm testandpnpm typecheckpass