models/gemini-pro
is currently an alias for gemini-1.0-pro
. To explicitly use version 1.0 and avoid any future issues if the alias changes, we should use models/gemini-1.0-pro
. Hope this helps anyone else looking to explicitly set their model version.