mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-07 13:03:05 +00:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user