Agent._regenerate_code_after_error expects InvalidLLMOutputType exception, but no code ever raises it
#1834
sevdokimov
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that
Agent._regenerate_code_after_erroruses a different prompt when handling theInvalidLLMOutputTypeexception compared to other exceptions. However I don't see whereInvalidLLMOutputTypeis ever raised in the code. When the code returns a wrong result,ResponseParserraisesInvalidOutputValueMismatchorNoResultFoundError.Should
InvalidOutputValueMismatchandNoResultFoundErrorinherit fromInvalidLLMOutputType?Beta Was this translation helpful? Give feedback.
All reactions