-
Notifications
You must be signed in to change notification settings - Fork 886
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
Vertex AI SDK for Web returns [503 ] The service is currently unavailable. #8232
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @shangyilim, thanks for bringing this to our attention. I’m currently checking this with our engineering team. I’ll update this thread if I have any information to share. |
I'm in a similar situation, but sometimes it works and most of the time it doesn't work (with the same prompt); I couldn't understand the circumstances! |
Hi @bonarjs @shangyilim , thanks for reporting the issue! We believe this is caused by requests to the backend taking too long and being timed out. The fix for this will be going in soon, but in the meantime you can use I will send an update here when this issue is fixed. |
Hi @bonarjs @shangyilim, the timeouts for |
Operating System
Mac OS X: 14.1.0
Browser Version
Chrome/124.0.0.0
Firebase SDK Version
10.11.0-vertexai-preview.1aadc47e
Firebase SDK Product:
VertexAI
Describe your project's tooling
React app with webpack
Describe the problem
When trying out Generate text from multimodal prompts using the Gemini API , when calling
await model.generateContent([prompt, imagePart]);
, an error is returnedHowever, when using
generateContentStream
it works as expected.Steps and code to reproduce issue
simple run the following code from the code sample provided in Generate text from multimodal prompts using the Gemini API , , particularly this line:
When using short prompts, this works as expected. However longer prompts causes the above error to occur. Prompt used:
Click me
The text was updated successfully, but these errors were encountered: