-
I would like to be able to add specific error messages to the streamed responses so my client can respond appropriately. Currently it seems that any exception is purposefully hardcoded to return:
Is there any way to change this behaviour? To give some wider context, say I have a Chain which scrapes a URL provided by the client and then passes that response content to the LLM with some prompt:
If the URL is invalid, or returns an error response, I want to stop the chain and return a useful message to the client. I can currently do this with the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Here's an issue for this: #481 Duplicate of #473 |
Beta Was this translation helpful? Give feedback.
Here's an issue for this: #481
Duplicate of #473