Replies: 3 comments 1 reply
-
Gemini 2.5 is supported since it came out. Also you can simply refresh the model registry is you have an old version of it. |
Beta Was this translation helpful? Give feedback.
-
@crmne When I try to use "gemini-2.5-flash" with version 1.3.1 of the gem, I get a ModelNotFoundError saying "Unknown model: gemini-2.5-flash" which I traced back to lib/ruby_llm/models.rb. Looking at the supported models in aliases.json in version 1.3.1 of the ruby_llm gem, I do not see gemini-2.5-flash listed with the other supported gemini models -- there is Gemini 2.5 Flash Preview and Gemini 2.5 Pro but no Gemini 2.5 Flash. I do see that Gemini 2.5 Flash specifically was added last week to aliases.json which is why I was asking if it was possible to cut a patch release either from HEAD (if it is ready) or branching from the SHA where 1.3.1 is currently at (I can open a PR if that works).
How would I refresh the model registry? I'm sure I am missing something, but it looks like the supported models are written into the source code in aliases.json |
Beta Was this translation helpful? Give feedback.
-
@crmne Forgot to close the loop. Thank you, calling |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @crmne! Huge fan of this project. I was getting my hands dirty with Gemini 2.0 Flash, but I now need to upgrade to Gemini 2.5 Flash.
I see that you committed support for Gemini 2.5 Flash last week. When do you plan on cutting a new release to include it? Would you mind releasing a patch?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions