Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS] [Regression] Model googleai/gemini-1.5-pro-latest not found #1311

Closed
odbol opened this issue Nov 15, 2024 · 3 comments
Closed

[JS] [Regression] Model googleai/gemini-1.5-pro-latest not found #1311

odbol opened this issue Nov 15, 2024 · 3 comments
Labels
bug Something isn't working js

Comments

@odbol
Copy link

odbol commented Nov 15, 2024

Describe the bug
Set up a .prompt file like this:

---
model: googleai/gemini-1.5-pro-latest
config:
  temperature: 0.85
  candidateCount: 4
input:
...

This used to work before the 0.9 update, but now it's broken.

I tried using the stable version model: googleai/gemini-1.5-pro, but it performs poorly (doesn't return JSON according to my schema). The latest version is much better at respecting the schema.

Please bring back the ability to use the latest versions!

To Reproduce

  1. Run the prompt
  2. Error Model googleai/gemini-1.5-pro-latest not found

Expected behavior
Prompt should complete successfully

Screenshots
If applicable, add screenshots to help explain your problem.

Runtime (please complete the following information):

  • OS: MacOS
  • Version 0.9

** Node version

  • run node --version at paste here
    node --version
    v18.20.5

Additional context
Add any other context about the problem here.

@odbol odbol added bug Something isn't working js labels Nov 15, 2024
@pavelgj
Copy link
Collaborator

pavelgj commented Nov 19, 2024

could you please try:

model: googleai/gemini-1.5-pro

(without the -latest)

@MichaelDoyle
Copy link
Member

Just one point of clarification, the model names have been streamlined a bit; gemini-1.5-pro will always correspond to the current stable version. If you are OK with preview versions, you can still do that as well by providing config.version.

---
model: googleai/gemini-1.5-pro
config:
  version: gemini-1.5-pro-latest
...
---

@MichaelDoyle
Copy link
Member

I'm going to close this as answered, and also opened #1335 to make this clearer in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working js
Projects
Status: Done
Development

No branches or pull requests

3 participants