-
Notifications
You must be signed in to change notification settings - Fork 236
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
Re-raise LLM exceptions instead of raising new exception #94
Comments
@bruvduroiu so it should |
@simjak yes, |
Hey, great project. I'm looking to contribute (and generally getting started with contributing to OS), is this issue still unassigned? |
Yes, you could contribute if you can 🙏 |
…trace fix: issue #94 raise from exceptions
fix: issue #94 added from clause to the exception statement in
In Python, re-raising exceptions (
raise
instead ofraise Exception(e)
preserves the original stack trace, helping with debugging.Change the LLM
__call__
exception handling to re-raise errors happening during generationsemantic-router/semantic_router/llms/openai.py
Line 53 in f8fcd43
The text was updated successfully, but these errors were encountered: