mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-21 00:55:22 -04:00
Improve error information #124
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eyurtsev on GitHub (Feb 14, 2024).
We're surfacing default error messages from Fast API / pydantic.
These messages are hard to understand; e.g., https://github.com/efriis/langchain-perplexaty/issues/2
We should investigate whether we can add an interceptor for exceptions to re-write the exceptions and make them easier to understand.
This should only affect endpoints that were added using add_routes without affecting any other endpoints