Skip to content

The agent engineering platform.

fix(model-profiles): add typing-extensions as explicit dep (#33762)

ccurmeb06bd6a913f7
diff --git a/libs/model-profiles/langchain_model_profiles/data/models.json b/libs/model-profiles/langchain_model_profiles/data/models.json
index 1dc9d778d1..3fed45989a 100644
--- a/libs/model-profiles/langchain_model_profiles/data/models.json
+++ b/libs/model-profiles/langchain_model_profiles/data/models.json
@@ -2782,6 +2782,35 @@
"release_date": "2025-07-23",
"temperature": true,
"tool_call": true
+ },
+ "zai-glm-4.6": {
+ "attachment": false,
+ "cost": {
+ "cache_read": 0,
+ "cache_write": 0,
+ "input": 0,
+ "output": 0
+ },
+ "id": "zai-glm-4.6",
+ "last_updated": "2025-11-05",
+ "limit": {
+ "context": 131072,
+ "output": 40960
+ },
+ "modalities": {
+ "input": [
+ "text"
+ ],
+ "output": [
+ "text"
+ ]
+ },
+ "name": "Z.AI GLM-4.6",
+ "open_weights": true,
+ "reasoning": false,
+ "release_date": "2025-11-05",
+ "temperature": true,
+ "tool_call": true
}
},
"name": "Cerebras",
@@ -6710,7 +6739,7 @@
"tool_call": true
}
},
- "name": "Vertex",
+ "name": "Vertex (Anthropic)",
"npm": "@ai-sdk/google-vertex"
},
"groq": {
diff --git a/libs/model-profiles/pyproject.toml b/libs/model-profiles/pyproject.toml
index d692e54cb2..f047757fb3 100644
--- a/libs/model-profiles/pyproject.toml
+++ b/libs/model-profiles/pyproject.toml
@@ -8,6 +8,7 @@ license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"tomli>=2.0.0,<3.0.0; python_version < '3.11'",
+ "typing-extensions>=4.7.0,<5.0.0",
]
name = "langchain-model-profiles"
diff --git a/libs/model-profiles/scripts/refresh_data.py b/libs/model-profiles/scripts/refresh_data.py
index 636ae5438d..53af341c07 100755
--- a/libs/model-profiles/scripts/refresh_data.py
+++ b/libs/model-profiles/scripts/refresh_data.py
@@ -42,7 +42,7 @@ PROVIDER_SUBSET = [
def main() -> None:
"""Download and save the latest model data from models.dev."""
api_url = "https://models.dev/api.json"
- output_dir = Path(__file__).parent.parent / "langchain" / "model_profiles" / "data"
+ output_dir = Path(__file__).parent.parent / "langchain_model_profiles" / "data"
output_file = output_dir / "models.json"
print(f"Downloading data from {api_url}...") # noqa: T201
diff --git a/libs/model-profiles/uv.lock b/libs/model-profiles/uv.lock
index 819d8e5f23..f45f4364d6 100644
--- a/libs/model-profiles/uv.lock
+++ b/libs/model-profiles/uv.lock
@@ -588,6 +588,7 @@ version = "0.0.1"
source = { editable = "." }
dependencies = [
{ name = "tomli", marker = "python_full_version < '3.11'" },
+ { name = "typing-extensions" },
]
[package.dev-dependencies]
@@ -620,7 +621,10 @@ typing = [
]
[package.metadata]
-requires-dist = [{ name = "tomli", marker = "python_full_version < '3.11'", specifier = ">=2.0.0,<3.0.0" }]
+requires-dist = [
+ { name = "tomli", marker = "python_full_version < '3.11'", specifier = ">=2.0.0,<3.0.0" },
+ { name = "typing-extensions", specifier = ">=4.7.0,<5.0.0" },
+]
[package.metadata.requires-dev]
dev = [{ name = "httpx", specifier = ">=0.23.0,<1" }]