langchain
a4d85f7f - [Fix #3365]: Changed regex to cover new line before action serious (#3367)

Commit
2 years ago
[Fix #3365]: Changed regex to cover new line before action serious (#3367) Fix for: [Changed regex to cover new line before action serious.](https://github.com/hwchase17/langchain/issues/3365) --- This PR fixes the issue where `ValueError: Could not parse LLM output:` was thrown on seems to be valid input. Changed regex to cover new lines before action serious (after the keywords "Action:" and "Action Input:"). regex101: https://regex101.com/r/CXl1kB/1 --------- Co-authored-by: msarskus <msarskus@cisco.com>
Author
My- My-
Parents
Loading