Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(replay-vision): align frontend model strings with backend ScannerModel (#60128)

Tue Haulundb9596d59e3b9
diff --git a/products/replay_vision/frontend/replay_scanners/replayScannersLogic.test.ts b/products/replay_vision/frontend/replay_scanners/replayScannersLogic.test.ts
index d7b63da06db6..e10acbb960e7 100644
--- a/products/replay_vision/frontend/replay_scanners/replayScannersLogic.test.ts
+++ b/products/replay_vision/frontend/replay_scanners/replayScannersLogic.test.ts
@@ -29,7 +29,7 @@ function makeScanner(overrides: Partial<ReplayScanner> = {}): ReplayScanner {
sampling_rate: 0.1,
query: null,
provider: 'google',
- model: 'gemini-3-flash',
+ model: 'gemini-3-flash-preview',
emits_signals: false,
scanner_version: 1,
last_swept_at: '2026-05-12T00:00:00Z',
diff --git a/products/replay_vision/frontend/replay_scanners/types.ts b/products/replay_vision/frontend/replay_scanners/types.ts
index ea3a2d285f04..ddcb70857c01 100644
--- a/products/replay_vision/frontend/replay_scanners/types.ts
+++ b/products/replay_vision/frontend/replay_scanners/types.ts
@@ -83,7 +83,7 @@ export function failureKindDescription(kind: FailureKind): string {
}
export const DEFAULT_PROVIDER = 'google'
-export const DEFAULT_MODEL = 'gemini-3-flash'
+export const DEFAULT_MODEL = 'gemini-3-flash-preview'
export const ENABLED_OPTIONS: { value: EnabledFilter; label: string }[] = [
{ value: 'enabled', label: 'Enabled' },
@@ -91,8 +91,8 @@ export const ENABLED_OPTIONS: { value: EnabledFilter; label: string }[] = [
]
export const MODEL_OPTIONS: { value: string; label: string }[] = [
- { value: 'gemini-3-flash', label: 'Gemini 3 Flash' },
- { value: 'gemini-3-flash-lite', label: 'Gemini 3 Flash Lite' },
+ { value: 'gemini-3-flash-preview', label: 'Gemini 3 Flash' },
+ { value: 'gemini-3.1-flash-lite-preview', label: 'Gemini 3 Flash Lite' },
]
export const SCANNER_TYPE_OPTIONS: { value: ScannerType; label: string; description: string }[] = [