langchain
5064890f - BUGFIX: handle tool message type when converting to string (#13626)

Commit
2 years ago
BUGFIX: handle tool message type when converting to string (#13626) **Description:** Currently, if we pass in a ToolMessage back to the chain, it crashes with error `Got unsupported message type: ` This fixes it. Tested locally --------- Co-authored-by: Bagatur <baskaryan@gmail.com>
Parents
Loading