Skip to content

feat: add support to custom embeddings - #2241

Merged
mattbit merged 14 commits into
mainfrom
chore/upgrade-deps-2026-02-v2
Feb 10, 2026
Merged

feat: add support to custom embeddings#2241
mattbit merged 14 commits into
mainfrom
chore/upgrade-deps-2026-02-v2

Conversation

@henchaves

@henchaves henchaves commented Feb 9, 2026

Copy link
Copy Markdown
Member

Description

This PR updates LiteLLM constraints to enable support for custom embeddings. It also updates the guide on how to set up a custom LLM client, including the embeddings method.

Type of Change

  • 📚 Examples / docs / tutorials / dependencies update
  • 🔧 Bug fix (non-breaking change which fixes an issue)
  • 🥂 Improvement (non-breaking change which improves an existing feature)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🔐 Security fix

@henchaves henchaves added the Lockfile Temporary label to update pdm.lock label Feb 9, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @henchaves, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on maintaining the project's dependencies by upgrading the litellm library. This update is crucial for leveraging the latest improvements and ensuring the stability and security of integrations with various LLM providers.

Highlights

  • Dependency Upgrade: The litellm dependency has been updated to a newer version range, specifically from <1.66.0 to >=1.71.1,<2. This ensures compatibility with recent features and bug fixes in the litellm library.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • pyproject.toml
    • Updated the version constraint for litellm from <1.66.0 to >=1.71.1,<2.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/lock-deps.yml
Activity
  • The pull request was created by henchaves.
  • No other activity (comments, reviews, or approvals) has been recorded yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This PR upgrades the litellm dependency. This is a good maintenance step, but it carries a risk. The new version might be stricter and cause our current implementation for requesting JSON output to fail. I've added a comment with details on the potential issue and where to look. Also, please remember to update the pdm.lock file to reflect this dependency change, as noted in the PR checklist.

Comment thread pyproject.toml Outdated
@github-actions github-actions Bot removed the Lockfile Temporary label to update pdm.lock label Feb 9, 2026
@henchaves henchaves added the Lockfile Temporary label to update pdm.lock label Feb 9, 2026
@github-actions github-actions Bot removed the Lockfile Temporary label to update pdm.lock label Feb 9, 2026
@sonarqubecloud

sonarqubecloud Bot commented Feb 9, 2026

Copy link
Copy Markdown

@henchaves
henchaves marked this pull request as ready for review February 9, 2026 16:41
@henchaves henchaves changed the title chore: upgrade deps 2026 02 v2 chore(deps): update litellm version constraints Feb 9, 2026
@henchaves henchaves changed the title chore(deps): update litellm version constraints feat: add support to custom embeddings Feb 9, 2026
@henchaves henchaves self-assigned this Feb 9, 2026
@henchaves henchaves added the Lockfile Temporary label to update pdm.lock label Feb 9, 2026
@github-actions github-actions Bot removed the Lockfile Temporary label to update pdm.lock label Feb 9, 2026
@sonarqubecloud

sonarqubecloud Bot commented Feb 9, 2026

Copy link
Copy Markdown

@mattbit
mattbit merged commit 1d8e7db into main Feb 10, 2026
18 checks passed
@mattbit
mattbit deleted the chore/upgrade-deps-2026-02-v2 branch February 10, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants