Skip to content

Commit 6890653

Browse files
KrisBraunclaude
andauthored
Document gemini-2.5-flash as withdrawn rather than superseded (#367)
Gemini availability is scoped to the calling project. This model still answers for some long-lived keys while returning "no longer available to new users" for others, so it was described as superseded-but-working on the strength of a key that could still reach it — which says nothing about anyone else's project. Aligns its deprecation note with the rest of the 2.x members. Behaviour is unchanged: a hint naming it already resolves to a current model. Claude-Session: https://claude.ai/code/session_01Y9GNwKEBkEAoLYzkTngfGk Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent b3f4ff1 commit 6890653

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@plotday/twister": patch
3+
---
4+
5+
Changed: `AIModel.GEMINI_25_FLASH` is documented as withdrawn rather than
6+
merely superseded, matching the other 2.x members.
7+
8+
Gemini availability is scoped to the calling project: this model still answers
9+
for some long-lived keys while returning "no longer available to new users" for
10+
others, so a model resolving for you is not evidence that it resolves for
11+
everyone. It is remapped to a current model like the rest of the generation.

‎twister/src/tools/ai.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export enum AIModel {
269269
// rather than failing — but new code should name a 3.x member directly.
270270
/** @deprecated Withdrawn by Google. Use {@link AIModel.GEMINI_31_PRO}. */
271271
GEMINI_25_PRO = "google/gemini-2.5-pro",
272-
/** @deprecated Superseded. Use {@link AIModel.GEMINI_35_FLASH}. */
272+
/** @deprecated Withdrawn by Google. Use {@link AIModel.GEMINI_35_FLASH}. */
273273
GEMINI_25_FLASH = "google/gemini-2.5-flash",
274274
/** @deprecated Withdrawn by Google. Use {@link AIModel.GEMINI_35_FLASH_LITE}. */
275275
GEMINI_25_FLASH_LITE = "google/gemini-2.5-flash-lite",

0 commit comments

Comments
 (0)