35539a9341
User pointed out their Google AI Studio dropdown shows gemini-3-pro, gemini-3.1-pro, gemini-3-flash and gemini-2.5-flash — not the longer preview names I shipped in v1.1.0:4. The menu was missing all the Flash variants entirely. Fix: - Add gemini-3.1-pro (short form, what AI Studio shows) - Add gemini-3.1-flash + gemini-3.1-flash-lite (the cheapest 3.x) - Add gemini-3-pro + gemini-3-flash (older tier, still available) - Pricing entries for all of the above (~$0.50/$3 per M for Flash) Pure data fix; no schema or behavior changes.
35 lines
1.5 KiB
TypeScript
35 lines
1.5 KiB
TypeScript
import { IMPOSSIBLE, VersionInfo } from '@start9labs/start-sdk'
|
|
|
|
/**
|
|
* v1.1.0:5 — Gemini model menu correctness.
|
|
*
|
|
* Driven by a user pointing out that their Google AI Studio dropdown
|
|
* showed `gemini-3-pro` and `gemini-3-flash` (no `.0`), neither of
|
|
* which were in our v1.1.0:4 dropdown. The menu I shipped only had
|
|
* `gemini-3.1-pro-preview` and missed the Flash variants entirely.
|
|
*
|
|
* What changed:
|
|
* - Add `gemini-3.1-pro` (short form, what AI Studio shows) — both
|
|
* short and long-preview names work via the API; we now ship the
|
|
* short form because it matches the Studio UI.
|
|
* - Add `gemini-3.1-flash` (~$0.50/$3 per M) and
|
|
* `gemini-3.1-flash-lite` (the cheapest 3.x).
|
|
* - Add `gemini-3-pro` and `gemini-3-flash` — older tier, both still
|
|
* available in many accounts.
|
|
* - Pricing table grows entries for all of the above so the cost
|
|
* estimator works correctly when the user picks any of them.
|
|
*
|
|
* No code changes elsewhere. Pure data fix.
|
|
*/
|
|
export const v_1_1_0_5 = VersionInfo.of({
|
|
version: '1.1.0:5',
|
|
releaseNotes: {
|
|
en_US:
|
|
'Gemini model dropdown corrected: adds gemini-3.1-pro (the short name AI Studio uses), gemini-3.1-flash, gemini-3.1-flash-lite, gemini-3-pro, and gemini-3-flash — all the names that show up in your Google AI Studio dropdown. Pricing table updated to match (Flash ~$0.50/$3 per M, Flash-Lite even cheaper). Pure data fix; no schema or behavior changes.',
|
|
},
|
|
migrations: {
|
|
up: async () => {},
|
|
down: IMPOSSIBLE,
|
|
},
|
|
})
|