-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: add display_message support for errors #111
Conversation
-add display_message where it's possible
Theoretically we could use this approach, that is more like one in vertex and bedrock adapter: But then there is problem with proxing any exception from OpenAI: async def handle_exceptions(call):
try:
return await call
except OpenAIException as e:
return Response(status_code=e.code, headers=e.headers, content=e.body)
... |
/deploy-review
|
/deploy-review
|
/deploy-review
|
/deploy-review
|
3 similar comments
/deploy-review
|
/deploy-review
|
/deploy-review
|
/deploy-review
|
/deploy-review
|
resolves #72