Skip to content

Update to newer google genai#1

Open
adityakaushal5nov wants to merge 4 commits into
behitek:mainfrom
adityakaushal5nov:update-to-newer-google-genai
Open

Update to newer google genai#1
adityakaushal5nov wants to merge 4 commits into
behitek:mainfrom
adityakaushal5nov:update-to-newer-google-genai

Conversation

@adityakaushal5nov

Copy link
Copy Markdown
  1. Removed the top-level import of google.generativeai, so Ollama scripts no longer trigger the warning.
  2. Migrated GeminiLLM to the new google-genai SDK (from google import genai), with lazy imports only when Gemini is actually used.
  3. Updated dependencies in requirements.txt, setup.py, and pyproject.toml — replaced google-generativeai with google-genai.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 14 complexity · 0 duplication

Metric Results
Complexity 14
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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.

1 participant