langchain/libs/core/langchain_core
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>
2023-11-21 18:20:58 -08:00
..
_api REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
callbacks BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
example_selectors REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
globals BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
language_models BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
load Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
messages BUGFIX: handle tool message type when converting to string (#13626) 2023-11-21 18:20:58 -08:00
output_parsers BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
outputs REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
prompts Added partial_variables to BaseStringMessagePromptTemplate.from_template(...) (#13645) 2023-11-21 17:48:38 -08:00
pydantic_v1 Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
runnables REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
tracers BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
utils BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
__init__.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
agents.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
caches.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
chat_history.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
chat_sessions.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
document_transformers.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
documents.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
embeddings.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
env.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
exceptions.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
memory.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
prompt_values.py BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
retrievers.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
stores.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
tools.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
vectorstores.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00