Skip to content

feat: upgrade LLM adapters to support Gemini 3, Claude 4.5, and GPT-5…#31

Merged
hashangit merged 1 commit intomainfrom
feature/model-updates-2025-q4
Dec 18, 2025
Merged

feat: upgrade LLM adapters to support Gemini 3, Claude 4.5, and GPT-5…#31
hashangit merged 1 commit intomainfrom
feature/model-updates-2025-q4

Conversation

@hashangit
Copy link
Copy Markdown
Collaborator

[0.4.1] - 2025-12-18

🤖 Next-Gen LLM Adapter Upgrades

  • Gemini 3 Family Support:
    • Full support for Gemini 3 Pro, Flash, and Deep Think models.
    • Implemented native systemInstruction support for improved behavioral steering.
    • Added thinkingLevel control (low, minimal, medium, high) to balance reasoning depth and latency.
    • Updated default model to gemini-3-flash.
  • Claude 4.5 Family Support:
    • Support for Claude 4.5 Opus, Sonnet, and Haiku.
    • Maintained and optimized support for thinking tokens and reasoning blocks.
    • Updated default model to claude-4.5-sonnet.
  • GPT-5 Family Support:
    • Full support for GPT-5, GPT-5.1, and GPT-5.2 (including Instant, Thinking, and Pro variants).
    • Updated default model to gpt-5.2-instant.
  • SDK Dependencies: Upgraded @google/genai, @anthropic-ai/sdk, and openai to their latest December 2025 versions.

🛠 Refactors & Maintenance

  • Improved integration test resilience by ensuring tests skip correctly when API keys are missing.
  • Updated documentation and README to reflect v0.4.1 status.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @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

  • Gemini 3 Family Support: Added comprehensive support for Gemini 3 Pro, Flash, and Deep Think models, including native systemInstruction and thinkingLevel control for granular reasoning depth.
  • Claude 4.5 Family Support: Integrated support for Claude 4.5 Opus, Sonnet, and Haiku models, maintaining optimized thinking token and reasoning block capabilities.
  • GPT-5 Family Support: Implemented full support for the GPT-5, GPT-5.1, and GPT-5.2 variants, including Instant, Thinking, and Pro models.
  • SDK Dependency Upgrades: Updated @google/genai, @anthropic-ai/sdk, and openai to their latest December 2025 versions to ensure compatibility and access to new features.
  • Improved Test Resilience: Enhanced integration tests to correctly skip when API keys are missing, preventing failures in environments without full credentials and improving CI/CD stability.

🧠 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 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.

@hashangit hashangit merged commit 6881a9b into main Dec 18, 2025
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

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.

Comment thread CHANGELOG.md
# Changelog

All notable changes to this project will be documented in this file.
2.
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.

medium

There appears to be a stray 2. on this line which seems to be a typo. It should be removed to maintain the clean formatting of the changelog.

/** 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'). */
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.

medium

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.

Suggested change
/** 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'). */

@hashangit hashangit deleted the feature/model-updates-2025-q4 branch December 24, 2025 07:40
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