langchain
2984ad39 - updated llm response parsing action (#3058)

Commit
2 years ago
updated llm response parsing action (#3058) Sometimes the LLM response (generated code) tends to miss the ending ticks "```". Therefore causing the text parsing to fail due to not enough values to unpack. The 2 extra `_` don't add value and can cause errors. Suggest to simply update the `_, action, _` to just `action` then with index. Fixes issue #3057
Parents
Loading