You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by yw791772 February 21, 2024
Hi, I'm following the astream method in the langserve client code, and I have a try catch around the async sse code.
For testing purpose, I use an api key that has no quota, and I can see the 429 errors from the langserve app logs.
But when I looking at the decoded message from it on the client side, I only see 500 with internal server error.
Any guidance on how I can surface the 429 errors on the client side, so I can build specific around this error
The text was updated successfully, but these errors were encountered:
Expose exception translation capability to allow users to provide their own logic for translating server side errors into client side errors
langserve/langserve/api_handler.py
Line 1214 in e1cec83
Discussed in #473
Originally posted by yw791772 February 21, 2024
Hi, I'm following the astream method in the langserve client code, and I have a try catch around the async sse code.
For testing purpose, I use an api key that has no quota, and I can see the 429 errors from the langserve app logs.
But when I looking at the decoded message from it on the client side, I only see 500 with internal server error.
Any guidance on how I can surface the 429 errors on the client side, so I can build specific around this error
The text was updated successfully, but these errors were encountered: