mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-05 06:42:12 +03:00
#3358 added the gemini-2.5-flash model spec with its real 65536 max-output cap (previously the model had no spec and fell to an 8192 default). The Claude→Gemini clamp test still asserted 8192, so it failed deterministically — the single real failure behind the v3.8.14 CI red (Unit Tests 3/8, Coverage Shard 3/8, Node 24/26 Compatibility 1/2 all hit this one test; E2E 5/6 was fail-fast collateral).
This commit is contained in:
committed by
GitHub
parent
591084052a
commit
67447d1969
@@ -116,7 +116,9 @@ test("Claude -> Gemini clamps maxOutputTokens to the model cap", () => {
|
||||
false
|
||||
);
|
||||
|
||||
assert.equal(result.generationConfig.maxOutputTokens, 8192);
|
||||
// #3358 added the gemini-2.5-flash model spec (real cap 65536, not the old
|
||||
// 8192 default). An over-cap request clamps to the model's true max output.
|
||||
assert.equal(result.generationConfig.maxOutputTokens, 65536);
|
||||
});
|
||||
|
||||
test("Claude -> Gemini converts text and base64 images to Gemini parts", () => {
|
||||
|
||||
Reference in New Issue
Block a user