You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/core/langchain_core/messages
tanujtiwari-at 5064890fcf
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>
10 months ago
..
__init__.py BUGFIX: handle tool message type when converting to string (#13626) 10 months ago
ai.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
base.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
chat.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
function.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
human.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
system.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
tool.py REFACTOR: Refactor langchain_core (#13627) 10 months ago