Skip to content

feat(ai): add Gemini provider support #884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 7, 2025
Merged

Conversation

chhoumann
Copy link
Owner

@chhoumann chhoumann commented Aug 7, 2025

Summary

  • Add Google Gemini provider to default providers list
  • Implement request routing to Gemini generateContent API
  • Map supported params (temperature, top_p); omit unsupported ones that caused 400s
  • Update docs to describe setup and compatibility

Test plan

  • Manual: Verified prompts work against gemini-2.5-pro with system prompts and temperature settings
  • Confirmed no 400s for unsupported params
  • Build + tests pass

Resolves #731

Add Google Gemini as an AI provider with default models and implement request handling via generateContent API. Map supported params (temperature, top_p) and avoid unsupported ones causing 400s.
Add Gemini (Google AI) provider details, setup steps, supported params, and notes to AI Assistant docs.
Copy link

vercel bot commented Aug 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quickadd ✅ Ready (Inspect) Visit Preview Aug 7, 2025 10:33pm

@chhoumann chhoumann merged commit c649e7d into master Aug 7, 2025
2 checks passed
@chhoumann chhoumann deleted the feat/gemini-provider branch August 7, 2025 22:35
github-actions bot pushed a commit that referenced this pull request Aug 7, 2025
# [2.1.0](2.0.2...2.1.0) (2025-08-07)

### Features

* **ai:** add Gemini provider support ([#884](#884)) ([c649e7d](c649e7d))
* **ai:** model directory, provider presets, and responsive modals ([a37cf83](a37cf83))
Copy link

github-actions bot commented Aug 7, 2025

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Google's Gemini API as a provider for AI Assistant?
1 participant