gemini-php icon indicating copy to clipboard operation
gemini-php copied to clipboard

RegionName and modelName outdated ?

Open nicolas-tougouchi opened this issue 1 year ago • 3 comments

Hello,

I've just try this package, and Prompt works fine, thanks. But the VALID_REGIONS and VALID_MODELS are a little outdated.

It would be interesting to have :

  • VALID_REGIONS "europe-xxxxx" (for example europe-west3, europe-west9, ...)
  • VALID_MODELS "gemini-1.0-pro-vision-001" (the last model available)

Maybe the job is just to add these items in const VALID_REGIONS and const VALID_MODELS ? Or maybe other things in code depends on these items ?

Regards,

nicolas-tougouchi avatar Mar 26 '24 09:03 nicolas-tougouchi

Same here. Also topK isn't mandatory for latest preview models.

4i-helpynet avatar Apr 22 '24 16:04 4i-helpynet

Same. It would be great to get the latest models / regions added in

danwomersley avatar Apr 30 '24 12:04 danwomersley

created a pull request to fix the latest models

robson83 avatar Jul 22 '24 19:07 robson83