TanStackOSS
    ai
    feat(ai-gemini): support Nano Banana 2 Lite (gemini-3.1-flash-lite-image) Add proper support for the Nano Banana 2 Lite native image model. The automated OpenRouter model sync had landed this model mis-classified as a text-only chat model (output: ['text'], in GEMINI_MODELS + chat type maps). Correct it and wire it into the image surface: routed through the generateContent API with output: ['text','image'], template-literal sizes (aspectRatio_resolution), and image-conditioned prompts — matching the other native image models. Also fix scripts/sync-provider-models.ts so native image models that output both text and image are skipped for manual curation (via outputsImage) instead of being inserted as chat models with a bogus output: ['text']. Closes #870. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    nx run-many --targets=build --exclude=examples/**,testing/**
Succeeded
CI Pipeline Execution

nx run-many --targets=build --exclude=examples/**,testing/**

Click to copy
Linux
4 CPU cores
read-write access token used
7b86ef4a874
96%

Cache hits

44 of 46 tasks used cache.

Get faster results

Learn how to enable distribution.

Atomizer enabled

46 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools