πŸ› fix: sync NanoBanana regex to React Native model mapping

Address Codex review feedback on #347 β€” the RN package maintains its
own copy of modelMappings and was missed by the previous fix.
This commit is contained in:
yutengjing
2026-07-01 17:18:45 +08:00
parent dd5a8180d1
commit bb17a9a0bc
@@ -173,7 +173,7 @@ export const rnModelMappings: RNModelMapping[] = [
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',
],