Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@chelseacarter29
Copy link
Collaborator

Updating per latest changes to Gemini SDK

Copilot AI review requested due to automatic review settings October 17, 2025 04:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Gemini API integration to use the new Google Generative AI SDK, replacing the deprecated google.genai module with google.generativeai. The changes modernize the API calls and configuration patterns while maintaining the same functionality.

  • Updated import statements and client initialization patterns
  • Replaced client-based approach with direct API configuration
  • Modified embedding API calls to use the new parameter structure

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
code/python/llm_providers/gemini.py Updates LLM provider to use new SDK configuration and model instantiation patterns
code/python/embedding_providers/gemini_embedding.py Updates embedding provider to use new SDK direct API calls and simplified configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@chelseacarter29 chelseacarter29 merged commit 569563a into main Oct 17, 2025
3 checks passed
@chelseacarter29 chelseacarter29 deleted the gemini-bug branch October 17, 2025 04:55
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.

2 participants