Improve error information #124

Open
opened 2026-02-16 00:18:54 -05:00 by yindo · 0 comments
Owner

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

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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langserve#124