-
Notifications
You must be signed in to change notification settings - Fork 780
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
MistralAPIStatusException: Cannot stream response. Status: 429 #177
Comments
Do you have a Mistral account? Currently the configuration for Mistral requires a Mistral API key |
I did have the API key.
|
Closing this issue as non-reproducible. Our integration test runs against Mistral on every merge and nobody else has reported this issue: https://github.com/vanna-ai/vanna/actions/runs/8180364867/job/22368242743#step:5:35 |
This happened to me because my monthly usage limit had reached on the platform. Increasing the limit fixed it. But if this was the case, then I think the error description needs to be more clear and explicit regarding what caused it. |
Thanks @varunsingh3000 and @ttkrpink -- This type of error comes directly from the API provider (Mistral). I think the right thing to do is to keep the raw error as is. It's really Mistral that should provide more context about the error via their package: https://github.com/mistralai/client-python I think once we get into the business of "interpreting" API errors, it's going to get unmanageable for us very quickly, especially if the underlying Mistral package changes its error handling/messages. |
I put one training question/sql pair into the model.
I trained the model using vn.train().
The vn.ask return with 429 error.
The text was updated successfully, but these errors were encountered: