Skip to content

Add support for Google Gemini API #400

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

Open
5 tasks done
sladwig opened this issue May 7, 2025 · 0 comments
Open
5 tasks done

Add support for Google Gemini API #400

sladwig opened this issue May 7, 2025 · 0 comments

Comments

@sladwig
Copy link

sladwig commented May 7, 2025

Feature: Add support for Google Gemini API

This issue is to add support for Google's Gemini AI models to MyCoder.

Implementation details:

  • Add a new GeminiProvider class that implements the LLMProvider interface
  • Install @google/generative-ai package as a dependency
  • Register the provider in the provider registry
  • Update configuration examples and documentation
  • Add appropriate token context window sizes for Gemini models

Tasks:

  • Create gemini.ts provider implementation
  • Add Gemini to provider registry
  • Update README.md to mention Gemini support
  • Create documentation for the Gemini provider
  • Update configuration examples

Notes:

  • Gemini API differs from OpenAI and Anthropic in how it handles messages and function calling
  • Token usage reporting is estimated as Gemini doesn't provide exact token counts
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

No branches or pull requests

1 participant