feat: upgrade LLM adapters to support Gemini 3, Claude 4.5, and GPT-5…#31
feat: upgrade LLM adapters to support Gemini 3, Claude 4.5, and GPT-5…#31
Conversation
Summary of ChangesHello @hashangit, 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 significantly expands the framework's capabilities by integrating the latest generations of leading Large Language Models (LLMs) from Google, Anthropic, and OpenAI. These upgrades enable developers to leverage advanced features like native system instructions and granular control over reasoning processes, ensuring the framework remains at the forefront of agentic AI development. The update also includes essential SDK dependency bumps and minor maintenance to improve overall stability and developer experience. Highlights
🧠 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. Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this comment.
Code Review
This pull request effectively upgrades the LLM adapters to support new models from Google, Anthropic, and OpenAI, including Gemini 3, Claude 4.5, and the GPT-5 family. The changes align well with the description, notably the refactoring of the Gemini adapter to leverage native systemInstruction support, which is a significant improvement. The dependency upgrades and enhancements to integration test resilience are also valuable additions. I've included a couple of minor suggestions to fix a typo in the changelog and improve comment consistency in the Anthropic adapter. Overall, this is a well-executed update.
| # Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
| 2. |
| /** Your Anthropic API key. Handle securely. */ | ||
| apiKey: string; | ||
| /** The default Anthropic model ID to use (e.g., 'claude-3-opus-20240229', 'claude-3-5-sonnet-20240620'). */ | ||
| /** The default Anthropic model ID to use (e.g., 'claude_4.5_sonnet', 'claude_4.5_opus'). */ |
There was a problem hiding this comment.
The example model IDs in this comment use underscores (e.g., claude_4.5_sonnet), which is inconsistent with the default model ID defined on line 15 (claude-4.5-sonnet) and Anthropic's typical model naming convention, which uses hyphens. Using hyphens in the examples would improve consistency and reduce potential confusion for developers.
| /** The default Anthropic model ID to use (e.g., 'claude_4.5_sonnet', 'claude_4.5_opus'). */ | |
| /** The default Anthropic model ID to use (e.g., 'claude-4.5-sonnet', 'claude-4.5-opus'). */ |
[0.4.1] - 2025-12-18
🤖 Next-Gen LLM Adapter Upgrades
systemInstructionsupport for improved behavioral steering.thinkingLevelcontrol (low, minimal, medium, high) to balance reasoning depth and latency.gemini-3-flash.claude-4.5-sonnet.gpt-5.2-instant.@google/genai,@anthropic-ai/sdk, andopenaito their latest December 2025 versions.🛠 Refactors & Maintenance