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

Enhancement: Support for Vertex AI model 'gemini-1.5-pro-002' #4440

Open
1 task done
schnaker85 opened this issue Oct 17, 2024 · 3 comments
Open
1 task done

Enhancement: Support for Vertex AI model 'gemini-1.5-pro-002' #4440

schnaker85 opened this issue Oct 17, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@schnaker85
Copy link

What features would you like to see added?

hi guys,

Currently, the supported models are for Vertex AI are

# Vertex AI
# GOOGLE_MODELS=gemini-1.5-flash-preview-0514,gemini-1.5-pro-preview-0514,gemini-1.0-pro-vision-001,gemini-1.0-pro-002,gemini-1.0-pro-001,gemini-pro-vision,gemini-1.0-pro,gemini-1.5-pro-001

We would like to use the gemini-1.5-pro-002. We already tried and it resulted in an error while processing the response. (We simply switched the model from gemini-1.5-pro-001 to gemini-1.5-pro-002).
See the attached Screenshot and the log entries.

Thanks and Cheers
dani

More details

Log Output:

2024-10-17T08:11:11.229Z debug: Creating VertexAI client
2024-10-17T08:11:11.236Z debug: [saveConvo] api/app/clients/BaseClient.js - saveMessageToDatabase #saveConvo
2024-10-17T08:11:18.338Z error: [handleAbortError] AI response error; aborting request: Aborted
2024-10-17T08:11:18.339Z warn: AI Response error for conversation a6f672c3-713e-4510-84d2-9b045d40a7e5 likely caused by Google censor/filter
2024-10-17T08:11:18.339Z error: [handleAbortError] error while trying to abort message Cannot set headers after they are sent to the client

Which components are impacted by your request?

No response

Pictures

image

Code of Conduct

  • I agree to follow this project's Code of Conduct
@schnaker85 schnaker85 added the enhancement New feature or request label Oct 17, 2024
@Dual-0
Copy link

Dual-0 commented Oct 22, 2024

works on my site:

image

@JeongJuhyeon
Copy link

works on my site:

image

Try with a longer prompt that will generate a longer completion. As you can in see the original post it works until a certain point where it stops generating.

I can confirm that I am seeing the same issue: #4283

Similar here: #4358

@djuillard
Copy link

I confirm I experience the same issue through Vertex AI. This is strange because when I use the exact same API with same json conf file with another API client (n8n), it works. I am not a developer, so I guess that there are some different ways to query the APIs....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants