wordcraft icon indicating copy to clipboard operation
wordcraft copied to clipboard

gemini-1.5-flash-latest and gemini-1.5-pro-latest

Open saliksik opened this issue 1 year ago • 1 comments

Hello!

How can I make Wordcraft support the latest Gemini models, "gemini-1.5-flash-latest" and "gemini-1.5-pro-latest"?

saliksik avatar May 24 '24 17:05 saliksik

Hi, @saliksik - you can change the model name on lines 67 & 68 of the app/models/gemini/api.ts file to the Gemini models listed in the docs

https://github.com/PAIR-code/wordcraft/blob/main/app/models/gemini/api.ts#L67

ghchinoy avatar Sep 25 '24 01:09 ghchinoy