这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@modimansi
Copy link

Fix for Issue #3600

This PR fixes two issues:

  1. Adds support for the Gemini 2.5 Pro Preview model (gemini-2.5-pro-preview-03-25) which was returning an error. The changes include:

    • Added gemini-2.5-pro-preview-03-25 to the experimental models list in defaultModels.js
    • Added gemini-2.5-pro-preview-03-25 to the v1BetaModels list since it's a preview model
    • Added context window size for the model in modelMap.js (using 2_097_152 which is the same as other pro models)
  2. Corrects the spelling of the LearnLM model:

This fix allows users to use the latest Gemini 2.5 Pro Preview model without encountering API errors and ensures the LearnLM model name is spelled correctly.

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