feat(core): add ChatBaseten to serializable mapping (#36510)

Register `ChatBaseten` from `langchain_baseten` in the core
serialization mapping so it can round-trip through `loads`/`dumps`.
Without this entry, serialized `ChatBaseten` objects fail to
deserialize.
This commit is contained in:
Mason Daugherty
2026-04-03 18:46:58 -04:00
committed by GitHub
parent deb85b6c4c
commit e94cd41fee

View File

@@ -283,6 +283,11 @@ SERIALIZABLE_MAPPING: dict[tuple[str, ...], tuple[str, ...]] = {
"chat_models",
"ChatXAI",
),
("langchain_baseten", "chat_models", "ChatBaseten"): (
"langchain_baseten",
"chat_models",
"ChatBaseten",
),
("langchain", "chat_models", "fireworks", "ChatFireworks"): (
"langchain_fireworks",
"chat_models",