πŸ› fix: match Nano Banana 2 Lite model id to NanoBanana icon

The NanoBanana regex required flash/pro to be immediately followed by
`-image-preview`, so `gemini-3.1-flash-lite-image` (Nano Banana 2 Lite)
fell through to the generic Gemini icon.
This commit is contained in:
yutengjing
2026-07-01 17:12:37 +08:00
parent 0f89c7f6af
commit dd5a8180d1
+1 -1
View File
@@ -175,7 +175,7 @@ export const modelMappings: ModelMapping[] = [
keywords: [
'gemini-3.1-flash-image-preview',
'gemini-3-pro-image-preview',
'gemini-\\d+(?:\\.\\d+)?-(?:flash|pro)-image-preview$',
'gemini-\\d+(?:\\.\\d+)?-(?:flash(?:-lite)?|pro)-image(?:-preview)?',
'nanobanana',
'nano-banana',
],