Skip to content

Commit

Permalink
core[patch]: support old core namespaces (#16155)
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan authored Jan 17, 2024
1 parent fb940d1 commit 5c73fd5
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 73 deletions.
4 changes: 2 additions & 2 deletions libs/core/langchain_core/load/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from langchain_core._api import beta
from langchain_core.load.mapping import (
_OG_SERIALIZABLE_MAPPING,
OLD_PROMPT_TEMPLATE_FORMATS,
OLD_CORE_NAMESPACES_MAPPING,
SERIALIZABLE_MAPPING,
)
from langchain_core.load.serializable import Serializable
Expand All @@ -15,7 +15,7 @@

ALL_SERIALIZABLE_MAPPINGS = {
**SERIALIZABLE_MAPPING,
**OLD_PROMPT_TEMPLATE_FORMATS,
**OLD_CORE_NAMESPACES_MAPPING,
**_OG_SERIALIZABLE_MAPPING,
}

Expand Down
Loading

0 comments on commit 5c73fd5

Please sign in to comment.