Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/gemini-25-flash-withdrawn.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
---
"@plotday/twister": patch
---

Changed: `AIModel.GEMINI_25_FLASH` is documented as withdrawn rather than
merely superseded, matching the other 2.x members.

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 a model resolving for you is not evidence that it resolves for
everyone. It is remapped to a current model like the rest of the generation.
2 changes: 1 addition & 1 deletion twister/src/tools/ai.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -269,7 +269,7 @@ export enum AIModel {
// rather than failing — but new code should name a 3.x member directly.
/** @deprecated Withdrawn by Google. Use {@link AIModel.GEMINI_31_PRO}. */
GEMINI_25_PRO = "google/gemini-2.5-pro",
/** @deprecated Superseded. Use {@link AIModel.GEMINI_35_FLASH}. */
/** @deprecated Withdrawn by Google. Use {@link AIModel.GEMINI_35_FLASH}. */
GEMINI_25_FLASH = "google/gemini-2.5-flash",
/** @deprecated Withdrawn by Google. Use {@link AIModel.GEMINI_35_FLASH_LITE}. */
GEMINI_25_FLASH_LITE = "google/gemini-2.5-flash-lite",
Expand Down
Loading