mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
fix(core): serialization patch (#34455)
- `allowed_objects` kwarg in `load` - escape lc-ser formatted dicts on `dump` - fix for jinja2 --------- Co-authored-by: Mason Daugherty <github@mdrxy.com>
This commit is contained in:
@@ -274,6 +274,7 @@ def test_groq_serialization() -> None:
|
||||
dump,
|
||||
valid_namespaces=["langchain_groq"],
|
||||
secrets_map={"GROQ_API_KEY": api_key2},
|
||||
allowed_objects="all",
|
||||
)
|
||||
|
||||
assert type(llm2) is ChatGroq
|
||||
|
||||
Reference in New Issue
Block a user