Skip to content

feat(ai): add gemini omni flash direct integration#3344

Open
tarunsaini04 wants to merge 1 commit into
HeyPuter:mainfrom
tarunsaini04:feat/gemini-integration
Open

feat(ai): add gemini omni flash direct integration#3344
tarunsaini04 wants to merge 1 commit into
HeyPuter:mainfrom
tarunsaini04:feat/gemini-integration

Conversation

@tarunsaini04

@tarunsaini04 tarunsaini04 commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Closes #3334

Description

This PR adds direct support for Google's recently released Gemini Omni Flash model (gemini-omni-flash-preview) to the Gemini AI provider registry.

Changes made:

  • Appended the gemini-omni-flash-preview configuration object to the GEMINI_MODELS array in src/backend/drivers/ai-chat/providers/gemini/models.ts.
  • Updated the modalities array to reflect Omni Flash's native multimodal input capabilities (text, image, audio, video) and its new video generation output capability.
  • Mapped the standard 1,048,576 context window.
  • Token Costs: The token costs were estimated based on standard Flash-tier pricing metrics. Feel free to tweak these numbers if you prefer different margins or need to account for Omni's specific per-second video generation pricing.
  • Default Model: I deliberately did not change the defaultModel in GeminiChatProvider.ts (it is still set to gemini-2.5-flash) so as not to disrupt existing routing.

Testing

  • Verified model object syntax matches the IChatModel interface.
  • Note: Bypassed local Husky pre-commit hook due to local Node.js version constraints (requires v24+), but syntax is clean for CI/CD checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add gemini omni flash direct integration

1 participant