Skip to content

Update OpenAI and Google models #318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 15, 2025

Conversation

Medenor
Copy link
Contributor

@Medenor Medenor commented Aug 13, 2025

This pull request introduces updates to the project's AI model integration and default configurations.

Key Changes:

  • api.py Update: The default model for API calls has been switched to Google Gemini-2.5-flash. This change aims to leverage the latest advancements and potentially improved performance, cost-efficiency, or feature set offered by Gemini-2.5-flash, making it the primary model used for new requests unless otherwise specified.
  • generator.json Update: This file has been updated to include the latest available models from both OpenAI and Google. This ensures that the application can utilize the newest and most capable models from these providers, potentially offering better results, new functionalities, or access to models that have superseded older versions. This update may involve adding new model IDs, adjusting parameters for existing models, or removing support for deprecated models.
  • README Update: all README files have been updated accordingly.

Purpose:

These updates ensure the application remains current with the rapidly evolving landscape of large language models, providing users with access to state-of-the-art AI capabilities and optimizing the default experience for performance and relevance.

Update api.py: set default to Google Gemini-2.5
Update generator.json: update OpenAI and Google models
Copy link
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.

Summary of Changes

Hello @Medenor, 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 updates the application's integration with OpenAI and Google AI models to ensure it remains current with the latest advancements. It primarily focuses on updating default model configurations and adding support for newer model versions across different providers, along with synchronizing documentation.

Highlights

  • Google Model Updates: The default Google model has been updated to "gemini-2.5-flash" in both the API configuration and the "generator.json" file. Support for "gemini-2.5-flash-lite" and "gemini-2.5-pro" has also been added.
  • OpenAI Model Updates: The default OpenAI model has been changed to "gpt-5-nano" in "generator.json", and new models "gpt-5-nano" and "gpt-5-mini" have been added to the supported list.
  • OpenRouter Default Model: The default model for OpenRouter has been updated to "openai/gpt-5-nano".
  • Documentation Synchronization: All README files across various languages have been updated to reflect the new default Google and OpenAI models.
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

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

Copy link
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 updates the default and available AI models from Google and OpenAI across the application. The default model is now gemini-2.5-flash for Google and gpt-5-nano for OpenAI. The configuration files and all READMEs have been updated to reflect these changes. The changes are mostly correct and align with the goal of using newer models. I've found a minor formatting issue in the JSON configuration that should be addressed for consistency.

Align indentation of gpt-5-nano and gpt-5-mini entries to improve consistency without changing values.
Simplify sampling by removing top_p and standardizing on temperature=1.0 in the OpenAI o4-mini config. #276
@sng-asyncfunc sng-asyncfunc merged commit 196b48f into AsyncFuncAI:main Aug 15, 2025
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