Skip to content

The agent engineering platform.

chore(core,infra): nits (#33954)

Mason Daughertyb2e1196e29f1
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index dfefb092aa..659909add7 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -44,7 +44,7 @@ body:
description: |
Which `langchain` package(s) is this bug related to? Select at least one.
- Note that if the package you are reporting for is not listed here, it is not in this repository (e.g. `langchain-google-genai` is in `langchain-ai/langchain`).
+ Note that if the package you are reporting for is not listed here, it is not in this repository (e.g. `langchain-google-genai` is in [`langchain-ai/langchain-google`](https://github.com/langchain-ai/langchain-google/)).
Please report issues for other packages to their respective repositories.
options:
diff --git a/libs/core/langchain_core/load/load.py b/libs/core/langchain_core/load/load.py
index ed832e69db..066d2fa485 100644
--- a/libs/core/langchain_core/load/load.py
+++ b/libs/core/langchain_core/load/load.py
@@ -61,13 +61,15 @@ class Reviver:
"""Initialize the reviver.
Args:
- secrets_map: A map of secrets to load. If a secret is not found in
- the map, it will be loaded from the environment if `secrets_from_env`
- is True.
+ secrets_map: A map of secrets to load.
+
+ If a secret is not found in the map, it will be loaded from the
+ environment if `secrets_from_env` is `True`.
valid_namespaces: A list of additional namespaces (modules)
to allow to be deserialized.
secrets_from_env: Whether to load secrets from the environment.
additional_import_mappings: A dictionary of additional namespace mappings
+
You can use this to override default mappings or add new mappings.
ignore_unserializable_fields: Whether to ignore unserializable fields.
"""
@@ -195,13 +197,15 @@ def loads(
Args:
text: The string to load.
- secrets_map: A map of secrets to load. If a secret is not found in
- the map, it will be loaded from the environment if `secrets_from_env`
- is True.
+ secrets_map: A map of secrets to load.
+
+ If a secret is not found in the map, it will be loaded from the environment
+ if `secrets_from_env` is `True`.
valid_namespaces: A list of additional namespaces (modules)
to allow to be deserialized.
secrets_from_env: Whether to load secrets from the environment.
additional_import_mappings: A dictionary of additional namespace mappings
+
You can use this to override default mappings or add new mappings.
ignore_unserializable_fields: Whether to ignore unserializable fields.
@@ -237,13 +241,15 @@ def load(
Args:
obj: The object to load.
- secrets_map: A map of secrets to load. If a secret is not found in
- the map, it will be loaded from the environment if `secrets_from_env`
- is True.
+ secrets_map: A map of secrets to load.
+
+ If a secret is not found in the map, it will be loaded from the environment
+ if `secrets_from_env` is `True`.
valid_namespaces: A list of additional namespaces (modules)
to allow to be deserialized.
secrets_from_env: Whether to load secrets from the environment.
additional_import_mappings: A dictionary of additional namespace mappings
+
You can use this to override default mappings or add new mappings.
ignore_unserializable_fields: Whether to ignore unserializable fields.
diff --git a/libs/core/uv.lock b/libs/core/uv.lock
index 69dc02d3d0..b9510616ee 100644
--- a/libs/core/uv.lock
+++ b/libs/core/uv.lock
@@ -1,5 +1,5 @@
version = 1
-revision = 2
+revision = 3
requires-python = ">=3.10.0, <4.0.0"
resolution-markers = [
"python_full_version >= '3.14' and platform_python_implementation == 'PyPy'",
@@ -1057,7 +1057,7 @@ typing = [
[[package]]
name = "langchain-model-profiles"
-version = "0.0.3"
+version = "0.0.4"
source = { directory = "../model-profiles" }
dependencies = [
{ name = "tomli", marker = "python_full_version < '3.11'" },