langchain-dev-utils 1.2.14__tar.gz → 1.2.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/PKG-INFO +26 -26
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/README.md +32 -32
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/README_cn.md +32 -32
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/pyproject.toml +50 -47
- langchain_dev_utils-1.2.16/src/langchain_dev_utils/__init__.py +1 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/factory.py +2 -1
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/middleware/format_prompt.py +1 -1
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/middleware/model_router.py +12 -7
- langchain_dev_utils-1.2.16/tests/__init__.py +11 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_router_model.py +8 -0
- langchain_dev_utils-1.2.16/tests/utils/__init__.py +0 -0
- langchain_dev_utils-1.2.16/tests/utils/register.py +36 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/uv.lock +96 -96
- langchain_dev_utils-1.2.14/src/langchain_dev_utils/__init__.py +0 -1
- langchain_dev_utils-1.2.14/tests/__init__.py +0 -36
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/.gitignore +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/.python-version +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/.vscode/settings.json +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/LICENSE +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/_utils.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/__init__.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/file_system.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/middleware/__init__.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/middleware/model_fallback.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/middleware/plan.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/middleware/summarization.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/middleware/tool_call_repair.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/middleware/tool_emulator.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/middleware/tool_selection.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/plan.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/wrap.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/chat_models/__init__.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/chat_models/adapters/__init__.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/chat_models/adapters/openai_compatible.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/chat_models/base.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/chat_models/types.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/embeddings/__init__.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/embeddings/base.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/message_convert/__init__.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/message_convert/content.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/message_convert/format.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/pipeline/__init__.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/pipeline/parallel.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/pipeline/sequential.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/pipeline/types.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/py.typed +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/tool_calling/__init__.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/tool_calling/human_in_the_loop.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/tool_calling/utils.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_agent.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_chat_models.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_human_in_the_loop.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_load_embbeding.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_load_model.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_messages.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_model_tool_emulator.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_pipline.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_plan_middleware.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_tool_call_repair.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_tool_calling.py +0 -0
- {langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/tests/test_wrap_agent.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langchain-dev-utils
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.16
|
|
4
4
|
Summary: A practical utility library for LangChain and LangGraph development
|
|
5
5
|
Project-URL: Source Code, https://github.com/TBice123123/langchain-dev-utils
|
|
6
6
|
Project-URL: repository, https://github.com/TBice123123/langchain-dev-utils
|
|
@@ -54,38 +54,38 @@ Tired of writing repetitive code in LangChain development? `langchain-dev-utils`
|
|
|
54
54
|
|
|
55
55
|
## ⚡ Quick Start
|
|
56
56
|
|
|
57
|
-
1. Install `langchain-dev-utils
|
|
57
|
+
**1. Install `langchain-dev-utils`**
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
```bash
|
|
60
|
+
pip install -U "langchain-dev-utils[standard]"
|
|
61
|
+
```
|
|
62
62
|
|
|
63
|
-
2. Start using
|
|
63
|
+
**2. Start using**
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
```python
|
|
66
|
+
from langchain.tools import tool
|
|
67
|
+
from langchain_core.messages import HumanMessage
|
|
68
|
+
from langchain_dev_utils.chat_models import register_model_provider, load_chat_model
|
|
69
|
+
from langchain_dev_utils.agents import create_agent
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
# Register model provider
|
|
72
|
+
register_model_provider("vllm", "openai-compatible", base_url="http://localhost:8000/v1")
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
@tool
|
|
75
|
+
def get_current_weather(location: str) -> str:
|
|
76
|
+
"""Get the current weather for the specified location"""
|
|
77
|
+
return f"25 degrees, {location}"
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
# Dynamically load model using string
|
|
80
|
+
model = load_chat_model("vllm:qwen3-4b")
|
|
81
|
+
response = model.invoke("Hello")
|
|
82
|
+
print(response)
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
# Create agent
|
|
85
|
+
agent = create_agent("vllm:qwen3-4b", tools=[get_current_weather])
|
|
86
|
+
response = agent.invoke({"messages": [HumanMessage(content="What's the weather like in New York today?")]})
|
|
87
|
+
print(response)
|
|
88
|
+
```
|
|
89
89
|
|
|
90
90
|
**For more features of this library, please visit the [full documentation](https://tbice123123.github.io/langchain-dev-utils/)**
|
|
91
91
|
|
|
@@ -37,38 +37,38 @@ Tired of writing repetitive code in LangChain development? `langchain-dev-utils`
|
|
|
37
37
|
|
|
38
38
|
## ⚡ Quick Start
|
|
39
39
|
|
|
40
|
-
1. Install `langchain-dev-utils
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
2. Start using
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
40
|
+
**1. Install `langchain-dev-utils`**
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
pip install -U "langchain-dev-utils[standard]"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**2. Start using**
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
from langchain.tools import tool
|
|
50
|
+
from langchain_core.messages import HumanMessage
|
|
51
|
+
from langchain_dev_utils.chat_models import register_model_provider, load_chat_model
|
|
52
|
+
from langchain_dev_utils.agents import create_agent
|
|
53
|
+
|
|
54
|
+
# Register model provider
|
|
55
|
+
register_model_provider("vllm", "openai-compatible", base_url="http://localhost:8000/v1")
|
|
56
|
+
|
|
57
|
+
@tool
|
|
58
|
+
def get_current_weather(location: str) -> str:
|
|
59
|
+
"""Get the current weather for the specified location"""
|
|
60
|
+
return f"25 degrees, {location}"
|
|
61
|
+
|
|
62
|
+
# Dynamically load model using string
|
|
63
|
+
model = load_chat_model("vllm:qwen3-4b")
|
|
64
|
+
response = model.invoke("Hello")
|
|
65
|
+
print(response)
|
|
66
|
+
|
|
67
|
+
# Create agent
|
|
68
|
+
agent = create_agent("vllm:qwen3-4b", tools=[get_current_weather])
|
|
69
|
+
response = agent.invoke({"messages": [HumanMessage(content="What's the weather like in New York today?")]})
|
|
70
|
+
print(response)
|
|
71
|
+
```
|
|
72
72
|
|
|
73
73
|
**For more features of this library, please visit the [full documentation](https://tbice123123.github.io/langchain-dev-utils/)**
|
|
74
74
|
|
|
@@ -37,38 +37,38 @@
|
|
|
37
37
|
|
|
38
38
|
## ⚡ 快速开始
|
|
39
39
|
|
|
40
|
-
1. 安装 `langchain-dev-utils
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
2.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
40
|
+
**1. 安装 `langchain-dev-utils`**
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
pip install -U "langchain-dev-utils[standard]"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**2. 开始使用**
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
from langchain.tools import tool
|
|
50
|
+
from langchain_core.messages import HumanMessage
|
|
51
|
+
from langchain_dev_utils.chat_models import register_model_provider, load_chat_model
|
|
52
|
+
from langchain_dev_utils.agents import create_agent
|
|
53
|
+
|
|
54
|
+
# 注册模型提供商
|
|
55
|
+
register_model_provider("vllm", "openai-compatible", base_url="http://localhost:8000/v1")
|
|
56
|
+
|
|
57
|
+
@tool
|
|
58
|
+
def get_current_weather(location: str) -> str:
|
|
59
|
+
"""获取指定地点的当前天气"""
|
|
60
|
+
return f"25度,{location}"
|
|
61
|
+
|
|
62
|
+
# 使用字符串动态加载模型
|
|
63
|
+
model = load_chat_model("vllm:qwen3-4b")
|
|
64
|
+
response = model.invoke("你好")
|
|
65
|
+
print(response)
|
|
66
|
+
|
|
67
|
+
# 创建智能体
|
|
68
|
+
agent = create_agent("vllm:qwen3-4b", tools=[get_current_weather])
|
|
69
|
+
response = agent.invoke({"messages": [HumanMessage(content="今天纽约的天气如何?")]})
|
|
70
|
+
print(response)
|
|
71
|
+
```
|
|
72
72
|
|
|
73
73
|
**获取更多的本库功能,请访问[完整文档](https://tbice123123.github.io/langchain-dev-utils/zh/)**
|
|
74
74
|
|
|
@@ -1,47 +1,50 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "langchain-dev-utils"
|
|
3
|
-
version = "1.2.
|
|
4
|
-
description = "A practical utility library for LangChain and LangGraph development"
|
|
5
|
-
readme = "README.md"
|
|
6
|
-
authors = [{ name = "tiebingice", email = "tiebingice123@outlook.com" }]
|
|
7
|
-
requires-python = ">=3.11"
|
|
8
|
-
dependencies = [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
[
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
[
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
[tool.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
[
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"langchain-
|
|
41
|
-
"langchain-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
1
|
+
[project]
|
|
2
|
+
name = "langchain-dev-utils"
|
|
3
|
+
version = "1.2.16"
|
|
4
|
+
description = "A practical utility library for LangChain and LangGraph development"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [{ name = "tiebingice", email = "tiebingice123@outlook.com" }]
|
|
7
|
+
requires-python = ">=3.11"
|
|
8
|
+
dependencies = [
|
|
9
|
+
"langchain>=1.1.0",
|
|
10
|
+
"langgraph>=1.0.0",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
[project.urls]
|
|
14
|
+
"Source Code" = "https://github.com/TBice123123/langchain-dev-utils"
|
|
15
|
+
repository = "https://github.com/TBice123123/langchain-dev-utils"
|
|
16
|
+
documentation = "https://tbice123123.github.io/langchain-dev-utils"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
[project.optional-dependencies]
|
|
20
|
+
standard = ["json-repair>=0.53.1", "langchain-openai"]
|
|
21
|
+
|
|
22
|
+
[build-system]
|
|
23
|
+
requires = ["hatchling"]
|
|
24
|
+
build-backend = "hatchling.build"
|
|
25
|
+
|
|
26
|
+
[tool.hatch.build]
|
|
27
|
+
exclude = ["/data", "/docs", "mkdocs.yml"]
|
|
28
|
+
|
|
29
|
+
[tool.pytest.ini_options]
|
|
30
|
+
asyncio_mode = "auto"
|
|
31
|
+
testpaths = ["tests"]
|
|
32
|
+
python_files = ["test_*.py"]
|
|
33
|
+
python_functions = ["test_*"]
|
|
34
|
+
|
|
35
|
+
[dependency-groups]
|
|
36
|
+
dev = ["langchain-model-profiles>=0.0.5", "ruff>=0.14.5"]
|
|
37
|
+
docs = ["mkdocs-material>=9.7.0", "mkdocs-static-i18n>=1.3.0"]
|
|
38
|
+
tests = [
|
|
39
|
+
"python-dotenv>=1.1.1",
|
|
40
|
+
"langchain-tests>=1.0.0",
|
|
41
|
+
"langchain-deepseek>=1.0.0",
|
|
42
|
+
"langchain-qwq>=0.3.0",
|
|
43
|
+
"langchain-ollama>=1.0.0",
|
|
44
|
+
"langchain-community>=0.4.1",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
[tool.ruff.lint]
|
|
49
|
+
select = ["E", "F", "I", "PGH003", "T201"]
|
|
50
|
+
ignore = ["E501"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.2.16"
|
{langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/factory.py
RENAMED
|
@@ -7,6 +7,7 @@ from langchain.agents.middleware.types import (
|
|
|
7
7
|
ResponseT,
|
|
8
8
|
_InputAgentState,
|
|
9
9
|
_OutputAgentState,
|
|
10
|
+
StateT_co,
|
|
10
11
|
)
|
|
11
12
|
from langchain.agents.structured_output import ResponseFormat
|
|
12
13
|
from langchain_core.messages import SystemMessage
|
|
@@ -25,8 +26,8 @@ def create_agent( # noqa: PLR0915
|
|
|
25
26
|
tools: Sequence[BaseTool | Callable | dict[str, Any]] | None = None,
|
|
26
27
|
*,
|
|
27
28
|
system_prompt: str | SystemMessage | None = None,
|
|
28
|
-
middleware: Sequence[AgentMiddleware[AgentState[ResponseT], ContextT]] = (),
|
|
29
29
|
response_format: ResponseFormat[ResponseT] | type[ResponseT] | None = None,
|
|
30
|
+
middleware: Sequence[AgentMiddleware[StateT_co, ContextT]] = (),
|
|
30
31
|
state_schema: type[AgentState[ResponseT]] | None = None,
|
|
31
32
|
context_schema: type[ContextT] | None = None,
|
|
32
33
|
checkpointer: Checkpointer | None = None,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from typing import Any, Awaitable, Callable, NotRequired, Optional, cast
|
|
1
|
+
from typing import Annotated, Any, Awaitable, Callable, NotRequired, Optional, cast
|
|
2
2
|
|
|
3
3
|
from langchain.agents import AgentState
|
|
4
4
|
from langchain.agents.middleware import AgentMiddleware, ModelRequest, ModelResponse
|
|
5
|
-
from langchain.agents.middleware.types import ModelCallResult
|
|
5
|
+
from langchain.agents.middleware.types import ModelCallResult, OmitFromInput
|
|
6
6
|
from langchain_core.language_models import BaseChatModel
|
|
7
7
|
from langchain_core.messages import AnyMessage, SystemMessage
|
|
8
8
|
from langchain_core.tools import BaseTool
|
|
@@ -19,6 +19,7 @@ class ModelDict(TypedDict):
|
|
|
19
19
|
model_description: str
|
|
20
20
|
tools: NotRequired[list[BaseTool | dict[str, Any]]]
|
|
21
21
|
model_kwargs: NotRequired[dict[str, Any]]
|
|
22
|
+
model_instance: NotRequired[BaseChatModel]
|
|
22
23
|
model_system_prompt: NotRequired[str]
|
|
23
24
|
|
|
24
25
|
|
|
@@ -64,7 +65,7 @@ Strictly adhere to tool call requirements!
|
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
class ModelRouterState(AgentState):
|
|
67
|
-
router_model_selection: str
|
|
68
|
+
router_model_selection: Annotated[str, OmitFromInput]
|
|
68
69
|
|
|
69
70
|
|
|
70
71
|
class ModelRouterMiddleware(AgentMiddleware):
|
|
@@ -76,7 +77,7 @@ class ModelRouterMiddleware(AgentMiddleware):
|
|
|
76
77
|
model name or a BaseChatModel instance
|
|
77
78
|
model_list: List of available routing models, each containing model_name,
|
|
78
79
|
model_description, tools(Optional), model_kwargs(Optional),
|
|
79
|
-
model_system_prompt(Optional)
|
|
80
|
+
model_instance(Optional), model_system_prompt(Optional)
|
|
80
81
|
router_prompt: Routing prompt template, uses default template if None
|
|
81
82
|
|
|
82
83
|
Examples:
|
|
@@ -155,6 +156,7 @@ class ModelRouterMiddleware(AgentMiddleware):
|
|
|
155
156
|
"tools": item.get("tools", None),
|
|
156
157
|
"kwargs": item.get("model_kwargs", None),
|
|
157
158
|
"system_prompt": item.get("model_system_prompt", None),
|
|
159
|
+
"model_instance": item.get("model_instance", None),
|
|
158
160
|
}
|
|
159
161
|
for item in self.model_list
|
|
160
162
|
}
|
|
@@ -163,10 +165,13 @@ class ModelRouterMiddleware(AgentMiddleware):
|
|
|
163
165
|
override_kwargs = {}
|
|
164
166
|
if select_model_name != "default-model" and select_model_name in model_dict:
|
|
165
167
|
model_values = model_dict.get(select_model_name, {})
|
|
166
|
-
if model_values["
|
|
167
|
-
model =
|
|
168
|
+
if model_values["model_instance"] is not None:
|
|
169
|
+
model = model_values["model_instance"]
|
|
168
170
|
else:
|
|
169
|
-
|
|
171
|
+
if model_values["kwargs"] is not None:
|
|
172
|
+
model = load_chat_model(select_model_name, **model_values["kwargs"])
|
|
173
|
+
else:
|
|
174
|
+
model = load_chat_model(select_model_name)
|
|
170
175
|
override_kwargs["model"] = model
|
|
171
176
|
if model_values["tools"] is not None:
|
|
172
177
|
override_kwargs["tools"] = model_values["tools"]
|
|
@@ -51,6 +51,10 @@ def test_model_router_middleware():
|
|
|
51
51
|
assert response
|
|
52
52
|
assert response["messages"][-1].response_metadata.get("model_name") == "glm-4.5"
|
|
53
53
|
assert isinstance(response["messages"][-2], ToolMessage)
|
|
54
|
+
assert (
|
|
55
|
+
"router_model_selection" in response
|
|
56
|
+
and response["router_model_selection"] == "zai:glm-4.5"
|
|
57
|
+
)
|
|
54
58
|
|
|
55
59
|
|
|
56
60
|
async def test_model_router_middleware_async():
|
|
@@ -93,3 +97,7 @@ async def test_model_router_middleware_async():
|
|
|
93
97
|
assert response
|
|
94
98
|
assert response["messages"][-1].response_metadata.get("model_name") == "glm-4.5"
|
|
95
99
|
assert isinstance(response["messages"][-2], ToolMessage)
|
|
100
|
+
assert (
|
|
101
|
+
"router_model_selection" in response
|
|
102
|
+
and response["router_model_selection"] == "zai:glm-4.5"
|
|
103
|
+
)
|
|
File without changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
from langchain_community.embeddings.dashscope import DashScopeEmbeddings
|
|
2
|
+
from langchain_qwq import ChatQwen
|
|
3
|
+
|
|
4
|
+
from data.alibaba._profiles import _PROFILES as ALI_PROFILES
|
|
5
|
+
from data.zhipuai._profiles import _PROFILES as ZAI_PROFILES
|
|
6
|
+
from langchain_dev_utils.chat_models import batch_register_model_provider
|
|
7
|
+
from langchain_dev_utils.embeddings import batch_register_embeddings_provider
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def register_all_model_providers():
|
|
11
|
+
batch_register_model_provider(
|
|
12
|
+
[
|
|
13
|
+
{
|
|
14
|
+
"provider_name": "dashscope",
|
|
15
|
+
"chat_model": ChatQwen,
|
|
16
|
+
"model_profiles": ALI_PROFILES,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"provider_name": "zai",
|
|
20
|
+
"chat_model": "openai-compatible",
|
|
21
|
+
"model_profiles": ZAI_PROFILES,
|
|
22
|
+
},
|
|
23
|
+
]
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def register_all_embeddings_providers():
|
|
28
|
+
batch_register_embeddings_provider(
|
|
29
|
+
[
|
|
30
|
+
{
|
|
31
|
+
"provider_name": "siliconflow",
|
|
32
|
+
"embeddings_model": "openai-compatible",
|
|
33
|
+
},
|
|
34
|
+
{"provider_name": "dashscope", "embeddings_model": DashScopeEmbeddings},
|
|
35
|
+
]
|
|
36
|
+
)
|
|
@@ -793,7 +793,7 @@ wheels = [
|
|
|
793
793
|
|
|
794
794
|
[[package]]
|
|
795
795
|
name = "langchain-core"
|
|
796
|
-
version = "1.
|
|
796
|
+
version = "1.2.0"
|
|
797
797
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
798
798
|
dependencies = [
|
|
799
799
|
{ name = "jsonpatch" },
|
|
@@ -805,9 +805,9 @@ dependencies = [
|
|
|
805
805
|
{ name = "typing-extensions" },
|
|
806
806
|
{ name = "uuid-utils" },
|
|
807
807
|
]
|
|
808
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
808
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/6f/ae/2041e14c8781b1696bb161b78152f1523b5128bdb16c95199632eb034c6f/langchain_core-1.2.0.tar.gz", hash = "sha256:e3f6450ae88505ec509ffa6f5c7ba3fa377a35b5d73f307b3ba1fc5aeb8a95b1", size = 802332, upload-time = "2025-12-12T18:12:59.327Z" }
|
|
809
809
|
wheels = [
|
|
810
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
810
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/dd/bb/ddac30cba0c246f7c15d81851311a23dc1455b6e908f624e71fa3b82b3d1/langchain_core-1.2.0-py3-none-any.whl", hash = "sha256:ed95ee5cbab0d1188c91ad230bb6a513427bc1e2ed5a8329075ab24412cd7727", size = 475867, upload-time = "2025-12-12T18:12:57.637Z" },
|
|
811
811
|
]
|
|
812
812
|
|
|
813
813
|
[[package]]
|
|
@@ -825,7 +825,7 @@ wheels = [
|
|
|
825
825
|
|
|
826
826
|
[[package]]
|
|
827
827
|
name = "langchain-dev-utils"
|
|
828
|
-
version = "1.2.
|
|
828
|
+
version = "1.2.16"
|
|
829
829
|
source = { editable = "." }
|
|
830
830
|
dependencies = [
|
|
831
831
|
{ name = "langchain" },
|
|
@@ -898,29 +898,29 @@ wheels = [
|
|
|
898
898
|
|
|
899
899
|
[[package]]
|
|
900
900
|
name = "langchain-ollama"
|
|
901
|
-
version = "1.0.
|
|
901
|
+
version = "1.0.1"
|
|
902
902
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
903
903
|
dependencies = [
|
|
904
904
|
{ name = "langchain-core" },
|
|
905
905
|
{ name = "ollama" },
|
|
906
906
|
]
|
|
907
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
907
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/73/51/72cd04d74278f3575f921084f34280e2f837211dc008c9671c268c578afe/langchain_ollama-1.0.1.tar.gz", hash = "sha256:e37880c2f41cdb0895e863b1cfd0c2c840a117868b3f32e44fef42569e367443", size = 153850, upload-time = "2025-12-12T21:48:28.68Z" }
|
|
908
908
|
wheels = [
|
|
909
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
909
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/e3/46/f2907da16dc5a5a6c679f83b7de21176178afad8d2ca635a581429580ef6/langchain_ollama-1.0.1-py3-none-any.whl", hash = "sha256:37eb939a4718a0255fe31e19fbb0def044746c717b01b97d397606ebc3e9b440", size = 29207, upload-time = "2025-12-12T21:48:27.832Z" },
|
|
910
910
|
]
|
|
911
911
|
|
|
912
912
|
[[package]]
|
|
913
913
|
name = "langchain-openai"
|
|
914
|
-
version = "1.1.
|
|
914
|
+
version = "1.1.3"
|
|
915
915
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
916
916
|
dependencies = [
|
|
917
917
|
{ name = "langchain-core" },
|
|
918
918
|
{ name = "openai" },
|
|
919
919
|
{ name = "tiktoken" },
|
|
920
920
|
]
|
|
921
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
921
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/93/67/6126a1c645b34388edee917473e51b2158812af1fcc8fedc23a330478329/langchain_openai-1.1.3.tar.gz", hash = "sha256:d8be85e4d1151258e1d2ed29349179ad971499115948b01364c2a1ab0474b1bf", size = 1038144, upload-time = "2025-12-12T22:28:08.611Z" }
|
|
922
922
|
wheels = [
|
|
923
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
923
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/d1/11/2b3b4973495fc5f0456ed5c8c88a6ded7ca34c8608c72faafa87088acf5a/langchain_openai-1.1.3-py3-none-any.whl", hash = "sha256:58945d9e87c1ab3a91549c3f3744c6c9571511cdc3cf875b8842aaec5b3e32a6", size = 84585, upload-time = "2025-12-12T22:28:07.066Z" },
|
|
924
924
|
]
|
|
925
925
|
|
|
926
926
|
[[package]]
|
|
@@ -939,7 +939,7 @@ wheels = [
|
|
|
939
939
|
|
|
940
940
|
[[package]]
|
|
941
941
|
name = "langchain-tests"
|
|
942
|
-
version = "1.0
|
|
942
|
+
version = "1.1.0"
|
|
943
943
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
944
944
|
dependencies = [
|
|
945
945
|
{ name = "httpx" },
|
|
@@ -954,26 +954,26 @@ dependencies = [
|
|
|
954
954
|
{ name = "syrupy" },
|
|
955
955
|
{ name = "vcrpy" },
|
|
956
956
|
]
|
|
957
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
957
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/f9/04/c5acad79f791b65606fb98ff92dfec6f8237ab9dd7a0468d39e4cb910a72/langchain_tests-1.1.0.tar.gz", hash = "sha256:68fe0b626d617167b182a95980e7b571c7d47ce8178e0f7d918b9b183b0bfb56", size = 178498, upload-time = "2025-12-12T21:57:40.34Z" }
|
|
958
958
|
wheels = [
|
|
959
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
959
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/09/49/9ae563c565e183486945bfaeb0c06f5ab62e573337b1fbe28feaf4ae9777/langchain_tests-1.1.0-py3-none-any.whl", hash = "sha256:6b0a95129e24fa5d7f534df0252e22f9b9cb7f40db6932aa2e7b600432ba6e58", size = 52102, upload-time = "2025-12-12T21:57:39.18Z" },
|
|
960
960
|
]
|
|
961
961
|
|
|
962
962
|
[[package]]
|
|
963
963
|
name = "langchain-text-splitters"
|
|
964
|
-
version = "1.
|
|
964
|
+
version = "1.1.0"
|
|
965
965
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
966
966
|
dependencies = [
|
|
967
967
|
{ name = "langchain-core" },
|
|
968
968
|
]
|
|
969
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
969
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/41/42/c178dcdc157b473330eb7cc30883ea69b8ec60078c7b85e2d521054c4831/langchain_text_splitters-1.1.0.tar.gz", hash = "sha256:75e58acb7585dc9508f3cd9d9809cb14751283226c2d6e21fb3a9ae57582ca22", size = 272230, upload-time = "2025-12-14T01:15:38.659Z" }
|
|
970
970
|
wheels = [
|
|
971
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
971
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/d8/1a/a84ed1c046deecf271356b0179c1b9fba95bfdaa6f934e1849dee26fad7b/langchain_text_splitters-1.1.0-py3-none-any.whl", hash = "sha256:f00341fe883358786104a5f881375ac830a4dd40253ecd42b4c10536c6e4693f", size = 34182, upload-time = "2025-12-14T01:15:37.382Z" },
|
|
972
972
|
]
|
|
973
973
|
|
|
974
974
|
[[package]]
|
|
975
975
|
name = "langgraph"
|
|
976
|
-
version = "1.0.
|
|
976
|
+
version = "1.0.5"
|
|
977
977
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
978
978
|
dependencies = [
|
|
979
979
|
{ name = "langchain-core" },
|
|
@@ -983,9 +983,9 @@ dependencies = [
|
|
|
983
983
|
{ name = "pydantic" },
|
|
984
984
|
{ name = "xxhash" },
|
|
985
985
|
]
|
|
986
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
986
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/7d/47/28f4d4d33d88f69de26f7a54065961ac0c662cec2479b36a2db081ef5cb6/langgraph-1.0.5.tar.gz", hash = "sha256:7f6ae59622386b60fe9fa0ad4c53f42016b668455ed604329e7dc7904adbf3f8", size = 493969, upload-time = "2025-12-12T23:05:48.224Z" }
|
|
987
987
|
wheels = [
|
|
988
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
988
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/23/1b/e318ee76e42d28f515d87356ac5bd7a7acc8bad3b8f54ee377bef62e1cbf/langgraph-1.0.5-py3-none-any.whl", hash = "sha256:b4cfd173dca3c389735b47228ad8b295e6f7b3df779aba3a1e0c23871f81281e", size = 157056, upload-time = "2025-12-12T23:05:46.499Z" },
|
|
989
989
|
]
|
|
990
990
|
|
|
991
991
|
[[package]]
|
|
@@ -1016,20 +1016,20 @@ wheels = [
|
|
|
1016
1016
|
|
|
1017
1017
|
[[package]]
|
|
1018
1018
|
name = "langgraph-sdk"
|
|
1019
|
-
version = "0.
|
|
1019
|
+
version = "0.3.0"
|
|
1020
1020
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
1021
1021
|
dependencies = [
|
|
1022
1022
|
{ name = "httpx" },
|
|
1023
1023
|
{ name = "orjson" },
|
|
1024
1024
|
]
|
|
1025
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1025
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/2b/1b/f328afb4f24f6e18333ff357d9580a3bb5b133ff2c7aae34fef7f5b87f31/langgraph_sdk-0.3.0.tar.gz", hash = "sha256:4145bc3c34feae227ae918341f66d3ba7d1499722c1ef4a8aae5ea828897d1d4", size = 130366, upload-time = "2025-12-12T22:19:30.323Z" }
|
|
1026
1026
|
wheels = [
|
|
1027
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1027
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/69/48/ee4d7afb3c3d38bd2ebe51a4d37f1ed7f1058dd242f35994b562203067aa/langgraph_sdk-0.3.0-py3-none-any.whl", hash = "sha256:c1ade483fba17ae354ee920e4779042b18d5aba875f2a858ba569f62f628f26f", size = 66489, upload-time = "2025-12-12T22:19:29.228Z" },
|
|
1028
1028
|
]
|
|
1029
1029
|
|
|
1030
1030
|
[[package]]
|
|
1031
1031
|
name = "langsmith"
|
|
1032
|
-
version = "0.4.
|
|
1032
|
+
version = "0.4.59"
|
|
1033
1033
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
1034
1034
|
dependencies = [
|
|
1035
1035
|
{ name = "httpx" },
|
|
@@ -1041,9 +1041,9 @@ dependencies = [
|
|
|
1041
1041
|
{ name = "uuid-utils" },
|
|
1042
1042
|
{ name = "zstandard" },
|
|
1043
1043
|
]
|
|
1044
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1044
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/61/71/d61524c3205bde7ec90423d997cf1a228d8adf2811110ec91ed40c8e8a34/langsmith-0.4.59.tar.gz", hash = "sha256:6b143214c2303dafb29ab12dcd05ac50bdfc60dac01c6e0450e50cee1d2415e0", size = 992784, upload-time = "2025-12-11T02:40:52.231Z" }
|
|
1045
1045
|
wheels = [
|
|
1046
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1046
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/63/54/4577ef9424debea2fa08af338489d593276520d2e2f8950575d292be612c/langsmith-0.4.59-py3-none-any.whl", hash = "sha256:97c26399286441a7b7b06b912e2801420fbbf3a049787e609d49dc975ab10bc5", size = 413051, upload-time = "2025-12-11T02:40:50.523Z" },
|
|
1047
1047
|
]
|
|
1048
1048
|
|
|
1049
1049
|
[[package]]
|
|
@@ -1474,7 +1474,7 @@ wheels = [
|
|
|
1474
1474
|
|
|
1475
1475
|
[[package]]
|
|
1476
1476
|
name = "openai"
|
|
1477
|
-
version = "2.
|
|
1477
|
+
version = "2.11.0"
|
|
1478
1478
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
1479
1479
|
dependencies = [
|
|
1480
1480
|
{ name = "anyio" },
|
|
@@ -1486,9 +1486,9 @@ dependencies = [
|
|
|
1486
1486
|
{ name = "tqdm" },
|
|
1487
1487
|
{ name = "typing-extensions" },
|
|
1488
1488
|
]
|
|
1489
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1489
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/f4/8c/aa6aea6072f985ace9d6515046b9088ff00c157f9654da0c7b1e129d9506/openai-2.11.0.tar.gz", hash = "sha256:b3da01d92eda31524930b6ec9d7167c535e843918d7ba8a76b1c38f1104f321e", size = 624540, upload-time = "2025-12-11T19:11:58.539Z" }
|
|
1490
1490
|
wheels = [
|
|
1491
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1491
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/e5/f1/d9251b565fce9f8daeb45611e3e0d2f7f248429e40908dcee3b6fe1b5944/openai-2.11.0-py3-none-any.whl", hash = "sha256:21189da44d2e3d027b08c7a920ba4454b8b7d6d30ae7e64d9de11dbe946d4faa", size = 1064131, upload-time = "2025-12-11T19:11:56.816Z" },
|
|
1492
1492
|
]
|
|
1493
1493
|
|
|
1494
1494
|
[[package]]
|
|
@@ -1561,49 +1561,49 @@ wheels = [
|
|
|
1561
1561
|
|
|
1562
1562
|
[[package]]
|
|
1563
1563
|
name = "ormsgpack"
|
|
1564
|
-
version = "1.12.
|
|
1565
|
-
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
1566
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1567
|
-
wheels = [
|
|
1568
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1569
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1570
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1571
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1572
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1573
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1574
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1575
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1576
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1577
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1578
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1579
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1580
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1581
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1582
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1583
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1584
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1585
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1586
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1587
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1588
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1589
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1590
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1591
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1592
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1593
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1594
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1595
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1596
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1597
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1598
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1599
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1600
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1601
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1602
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1603
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1604
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/b3/
|
|
1605
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1606
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1564
|
+
version = "1.12.1"
|
|
1565
|
+
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
1566
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/fe/96/34c40d621996c2f377a18decbd3c59f031dde73c3ba47d1e1e8f29a05aaa/ormsgpack-1.12.1.tar.gz", hash = "sha256:a3877fde1e4f27a39f92681a0aab6385af3a41d0c25375d33590ae20410ea2ac", size = 39476, upload-time = "2025-12-14T07:57:43.248Z" }
|
|
1567
|
+
wheels = [
|
|
1568
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/57/e2/f5b89365c8dc8025c27d31316038f1c103758ddbf87dc0fa8e3f78f66907/ormsgpack-1.12.1-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:4038f59ae0e19dac5e5d9aae4ec17ff84a79e046342ee73ccdecf3547ecf0d34", size = 376180, upload-time = "2025-12-14T07:56:56.521Z" },
|
|
1569
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/ca/87/3f694e06f5e32c6d65066f53b4a025282a5072b6b336c17560b00e04606d/ormsgpack-1.12.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:16c63b0c5a3eec467e4bb33a14dabba076b7d934dff62898297b5c0b5f7c3cb3", size = 202338, upload-time = "2025-12-14T07:56:57.585Z" },
|
|
1570
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/e5/f5/6d95d7b7c11f97a92522082fc7e5d1ab34537929f1e13f4c369f392f19d0/ormsgpack-1.12.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:74fd6a8e037eb310dda865298e8d122540af00fe5658ec18b97a1d34f4012e4d", size = 210720, upload-time = "2025-12-14T07:56:58.968Z" },
|
|
1571
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/2b/9d/9a49a2686f8b7165dcb2342b8554951263c30c0f0825f1fcc2d56e736a6b/ormsgpack-1.12.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:58ad60308e233dd824a1859eabb5fe092e123e885eafa4ad5789322329c80fb5", size = 211264, upload-time = "2025-12-14T07:57:00.099Z" },
|
|
1572
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/02/31/2fdc36eaeca2182900b96fc7b19755f293283fe681750e3d295733d62f0e/ormsgpack-1.12.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:35127464c941c1219acbe1a220e48d55e7933373d12257202f4042f7044b4c90", size = 386081, upload-time = "2025-12-14T07:57:01.177Z" },
|
|
1573
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/f0/65/0a765432f08ae26b4013c6a9aed97be17a9ef85f1600948a474b518e27dd/ormsgpack-1.12.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:c48d1c50794692d1e6e3f8c3bb65f5c3acfaae9347e506484a65d60b3d91fb50", size = 479572, upload-time = "2025-12-14T07:57:02.738Z" },
|
|
1574
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/4e/4f/f2f15ebef786ad71cea420bf8692448fbddf04d1bf3feaa68bd5ee3172e6/ormsgpack-1.12.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b512b2ad6feaaefdc26e05431ed2843e42483041e354e167c53401afaa83d919", size = 387862, upload-time = "2025-12-14T07:57:03.842Z" },
|
|
1575
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/15/eb/86fbef1d605fa91ecef077f93f9d0e34fc39b23475dfe3ffb92f6c8db28d/ormsgpack-1.12.1-cp311-cp311-win_amd64.whl", hash = "sha256:93f30db95e101a9616323bfc50807ad00e7f6197cea2216d2d24af42afc77d88", size = 115900, upload-time = "2025-12-14T07:57:05.137Z" },
|
|
1576
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/5b/67/7ba1a46e6a6e263fc42a4fafc24afc1ab21a66116553cad670426f0bd9ef/ormsgpack-1.12.1-cp311-cp311-win_arm64.whl", hash = "sha256:d75b5fa14f6abffce2c392ee03b4731199d8a964c81ee8645c4c79af0e80fd50", size = 109868, upload-time = "2025-12-14T07:57:06.834Z" },
|
|
1577
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/17/fe/ab9167ca037406b5703add24049cf3e18021a3b16133ea20615b1f160ea4/ormsgpack-1.12.1-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:4d7fb0e1b6fbc701d75269f7405a4f79230a6ce0063fb1092e4f6577e312f86d", size = 376725, upload-time = "2025-12-14T07:57:07.894Z" },
|
|
1578
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/c7/ea/2820e65f506894c459b840d1091ae6e327fde3d5a3f3b002a11a1b9bdf7d/ormsgpack-1.12.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:43a9353e2db5b024c91a47d864ef15eaa62d81824cfc7740fed4cef7db738694", size = 202466, upload-time = "2025-12-14T07:57:09.049Z" },
|
|
1579
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/45/8b/def01c13339c5bbec2ee1469ef53e7fadd66c8d775df974ee4def1572515/ormsgpack-1.12.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fc8fe866b7706fc25af0adf1f600bc06ece5b15ca44e34641327198b821e5c3c", size = 210748, upload-time = "2025-12-14T07:57:10.074Z" },
|
|
1580
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/5d/d2/bf350c92f7f067dd9484499705f2d8366d8d9008a670e3d1d0add1908f85/ormsgpack-1.12.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:813755b5f598a78242042e05dfd1ada4e769e94b98c9ab82554550f97ff4d641", size = 211510, upload-time = "2025-12-14T07:57:11.165Z" },
|
|
1581
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/74/92/9d689bcb95304a6da26c4d59439c350940c25d1b35f146d402ccc6344c51/ormsgpack-1.12.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8eea2a13536fae45d78f93f2cc846c9765c7160c85f19cfefecc20873c137cdd", size = 386237, upload-time = "2025-12-14T07:57:12.306Z" },
|
|
1582
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/17/fe/bd3107547f8b6129265dd957f40b9cd547d2445db2292aacb13335a7ea89/ormsgpack-1.12.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:7a02ebda1a863cbc604740e76faca8eee1add322db2dcbe6cf32669fffdff65c", size = 479589, upload-time = "2025-12-14T07:57:13.475Z" },
|
|
1583
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/c1/7c/e8e5cc9edb967d44f6f85e9ebdad440b59af3fae00b137a4327dc5aed9bb/ormsgpack-1.12.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3c0bd63897c439931cdf29348e5e6e8c330d529830e848d10767615c0f3d1b82", size = 388077, upload-time = "2025-12-14T07:57:14.551Z" },
|
|
1584
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/35/6b/5031797e43b58506f28a8760b26dc23f2620fb4f2200c4c1b3045603e67e/ormsgpack-1.12.1-cp312-cp312-win_amd64.whl", hash = "sha256:362f2e812f8d7035dc25a009171e09d7cc97cb30d3c9e75a16aeae00ca3c1dcf", size = 116190, upload-time = "2025-12-14T07:57:15.575Z" },
|
|
1585
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/1e/fd/9f43ea6425e383a6b2dbfafebb06fd60e8d68c700ef715adfbcdb499f75d/ormsgpack-1.12.1-cp312-cp312-win_arm64.whl", hash = "sha256:6190281e381db2ed0045052208f47a995ccf61eed48f1215ae3cce3fbccd59c5", size = 109990, upload-time = "2025-12-14T07:57:16.419Z" },
|
|
1586
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/11/42/f110dfe7cf23a52a82e23eb23d9a6a76ae495447d474686dfa758f3d71d6/ormsgpack-1.12.1-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:9663d6b3ecc917c063d61a99169ce196a80f3852e541ae404206836749459279", size = 376746, upload-time = "2025-12-14T07:57:17.699Z" },
|
|
1587
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/11/76/b386e508a8ae207daec240201a81adb26467bf99b163560724e86bd9ff33/ormsgpack-1.12.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:32e85cfbaf01a94a92520e7fe7851cfcfe21a5698299c28ab86194895f9b9233", size = 202489, upload-time = "2025-12-14T07:57:18.807Z" },
|
|
1588
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/ea/0e/5db7a63f387149024572daa3d9512fe8fb14bf4efa0722d6d491bed280e7/ormsgpack-1.12.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:dabfd2c24b59c7c69870a5ecee480dfae914a42a0c2e7c9d971cf531e2ba471a", size = 210757, upload-time = "2025-12-14T07:57:19.893Z" },
|
|
1589
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/64/79/3a9899e57cb57430bd766fc1b4c9ad410cb2ba6070bc8cf6301e7d385768/ormsgpack-1.12.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:51bbf2b64afeded34ccd8e25402e4bca038757913931fa0d693078d75563f6f9", size = 211518, upload-time = "2025-12-14T07:57:20.972Z" },
|
|
1590
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/d7/cd/4f41710ae9fe50d7fcbe476793b3c487746d0e1cc194cc0fee42ff6d989b/ormsgpack-1.12.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:9959a71dde1bd0ced84af17facc06a8afada495a34e9cb1bad8e9b20d4c59cef", size = 386251, upload-time = "2025-12-14T07:57:22.099Z" },
|
|
1591
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/bf/54/ba0c97d6231b1f01daafaa520c8cce1e1b7fceaae6fdc1c763925874a7de/ormsgpack-1.12.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:e9be0e3b62d758f21f5b20e0e06b3a240ec546c4a327bf771f5825462aa74714", size = 479607, upload-time = "2025-12-14T07:57:23.525Z" },
|
|
1592
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/18/75/19a9a97a462776d525baf41cfb7072734528775f0a3d5fbfab3aa7756b9b/ormsgpack-1.12.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a29d49ab7fdd77ea787818e60cb4ef491708105b9c4c9b0f919201625eb036b5", size = 388062, upload-time = "2025-12-14T07:57:24.616Z" },
|
|
1593
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/a8/6a/ec26e3f44e9632ecd2f43638b7b37b500eaea5d79cab984ad0b94be14f82/ormsgpack-1.12.1-cp313-cp313-win_amd64.whl", hash = "sha256:c418390b47a1d367e803f6c187f77e4d67c7ae07ba962e3a4a019001f4b0291a", size = 116195, upload-time = "2025-12-14T07:57:25.626Z" },
|
|
1594
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/7d/64/bfa5f4a34d0f15c6aba1b73e73f7441a66d635bd03249d334a4796b7a924/ormsgpack-1.12.1-cp313-cp313-win_arm64.whl", hash = "sha256:cfa22c91cffc10a7fbd43729baff2de7d9c28cef2509085a704168ae31f02568", size = 109986, upload-time = "2025-12-14T07:57:26.569Z" },
|
|
1595
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/87/0e/78e5697164e3223b9b216c13e99f1acbc1ee9833490d68842b13da8ba883/ormsgpack-1.12.1-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:b93c91efb1a70751a1902a5b43b27bd8fd38e0ca0365cf2cde2716423c15c3a6", size = 376758, upload-time = "2025-12-14T07:57:27.641Z" },
|
|
1596
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/2c/0e/3a3cbb64703263d7bbaed7effa3ce78cb9add360a60aa7c544d7df28b641/ormsgpack-1.12.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3cf0ea0389167b5fa8d2933dd3f33e887ec4ba68f89c25214d7eec4afd746d22", size = 202487, upload-time = "2025-12-14T07:57:29.051Z" },
|
|
1597
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/d7/2c/807ebe2b77995599bbb1dec8c3f450d5d7dddee14ce3e1e71dc60e2e2a74/ormsgpack-1.12.1-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f4c29af837f35af3375070689e781161e7cf019eb2f7cd641734ae45cd001c0d", size = 210853, upload-time = "2025-12-14T07:57:30.508Z" },
|
|
1598
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/25/57/2cdfc354e3ad8e847628f511f4d238799d90e9e090941e50b9d5ba955ae2/ormsgpack-1.12.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:336fc65aa0fe65896a3dabaae31e332a0a98b4a00ad7b0afde21a7505fd23ff3", size = 211545, upload-time = "2025-12-14T07:57:31.585Z" },
|
|
1599
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/76/1d/c6fda560e4a8ff865b3aec8a86f7c95ab53f4532193a6ae4ab9db35f85aa/ormsgpack-1.12.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:940f60aabfefe71dd6b82cb33f4ff10b2e7f5fcfa5f103cdb0a23b6aae4c713c", size = 386333, upload-time = "2025-12-14T07:57:32.957Z" },
|
|
1600
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/fc/3e/715081b36fceb8b497c68b87d384e1cc6d9c9c130ce3b435634d3d785b86/ormsgpack-1.12.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:596ad9e1b6d4c95595c54aaf49b1392609ca68f562ce06f4f74a5bc4053bcda4", size = 479701, upload-time = "2025-12-14T07:57:34.686Z" },
|
|
1601
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/6d/cf/01ad04def42b3970fc1a302c07f4b46339edf62ef9650247097260471f40/ormsgpack-1.12.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:575210e8fcbc7b0375026ba040a5eef223e9f66a4453d9623fc23282ae09c3c8", size = 388148, upload-time = "2025-12-14T07:57:35.771Z" },
|
|
1602
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/15/91/1fff2fc2b5943c740028f339154e7103c8f2edf1a881d9fbba2ce11c3b1d/ormsgpack-1.12.1-cp314-cp314-win_amd64.whl", hash = "sha256:647daa3718572280893456be44c60aea6690b7f2edc54c55648ee66e8f06550f", size = 116201, upload-time = "2025-12-14T07:57:36.763Z" },
|
|
1603
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/ed/66/142b542aed3f96002c7d1c33507ca6e1e0d0a42b9253ab27ef7ed5793bd9/ormsgpack-1.12.1-cp314-cp314-win_arm64.whl", hash = "sha256:a8b3ab762a6deaf1b6490ab46dda0c51528cf8037e0246c40875c6fe9e37b699", size = 110029, upload-time = "2025-12-14T07:57:37.703Z" },
|
|
1604
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/38/b3/ef4494438c90359e1547eaed3c5ec46e2c431d59a3de2af4e70ebd594c49/ormsgpack-1.12.1-cp314-cp314t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:12087214e436c1f6c28491949571abea759a63111908c4f7266586d78144d7a8", size = 376777, upload-time = "2025-12-14T07:57:38.795Z" },
|
|
1605
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/05/a0/1149a7163f8b0dfbc64bf9099b6f16d102ad3b03bcc11afee198d751da2d/ormsgpack-1.12.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e6d54c14cf86ef13f10ccade94d1e7de146aa9b17d371e18b16e95f329393b7", size = 202490, upload-time = "2025-12-14T07:57:40.168Z" },
|
|
1606
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/68/82/f2ec5e758d6a7106645cca9bb7137d98bce5d363789fa94075be6572057c/ormsgpack-1.12.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f3584d07882b7ea2a1a589f795a3af97fe4c2932b739408e6d1d9d286cad862", size = 211733, upload-time = "2025-12-14T07:57:42.253Z" },
|
|
1607
1607
|
]
|
|
1608
1608
|
|
|
1609
1609
|
[[package]]
|
|
@@ -1905,15 +1905,15 @@ wheels = [
|
|
|
1905
1905
|
|
|
1906
1906
|
[[package]]
|
|
1907
1907
|
name = "pymdown-extensions"
|
|
1908
|
-
version = "10.
|
|
1908
|
+
version = "10.19.1"
|
|
1909
1909
|
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
1910
1910
|
dependencies = [
|
|
1911
1911
|
{ name = "markdown" },
|
|
1912
1912
|
{ name = "pyyaml" },
|
|
1913
1913
|
]
|
|
1914
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1914
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/72/2d/9f30cee56d4d6d222430d401e85b0a6a1ae229819362f5786943d1a8c03b/pymdown_extensions-10.19.1.tar.gz", hash = "sha256:4969c691009a389fb1f9712dd8e7bd70dcc418d15a0faf70acb5117d022f7de8", size = 847839, upload-time = "2025-12-14T17:25:24.42Z" }
|
|
1915
1915
|
wheels = [
|
|
1916
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
1916
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/fb/35/b763e8fbcd51968329b9adc52d188fc97859f85f2ee15fe9f379987d99c5/pymdown_extensions-10.19.1-py3-none-any.whl", hash = "sha256:e8698a66055b1dc0dca2a7f2c9d0ea6f5faa7834a9c432e3535ab96c0c4e509b", size = 266693, upload-time = "2025-12-14T17:25:22.999Z" },
|
|
1917
1917
|
]
|
|
1918
1918
|
|
|
1919
1919
|
[[package]]
|
|
@@ -2229,28 +2229,28 @@ wheels = [
|
|
|
2229
2229
|
|
|
2230
2230
|
[[package]]
|
|
2231
2231
|
name = "ruff"
|
|
2232
|
-
version = "0.14.
|
|
2233
|
-
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
2234
|
-
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2235
|
-
wheels = [
|
|
2236
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2237
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2238
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2239
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2240
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2241
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2242
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2243
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2244
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2245
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2246
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2247
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2248
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2249
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2250
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2251
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2252
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2253
|
-
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/
|
|
2232
|
+
version = "0.14.9"
|
|
2233
|
+
source = { registry = "https://pypi.mirrors.ustc.edu.cn/simple/" }
|
|
2234
|
+
sdist = { url = "https://mirrors.ustc.edu.cn/pypi/packages/f6/1b/ab712a9d5044435be8e9a2beb17cbfa4c241aa9b5e4413febac2a8b79ef2/ruff-0.14.9.tar.gz", hash = "sha256:35f85b25dd586381c0cc053f48826109384c81c00ad7ef1bd977bfcc28119d5b", size = 5809165, upload-time = "2025-12-11T21:39:47.381Z" }
|
|
2235
|
+
wheels = [
|
|
2236
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/b8/1c/d1b1bba22cffec02351c78ab9ed4f7d7391876e12720298448b29b7229c1/ruff-0.14.9-py3-none-linux_armv6l.whl", hash = "sha256:f1ec5de1ce150ca6e43691f4a9ef5c04574ad9ca35c8b3b0e18877314aba7e75", size = 13576541, upload-time = "2025-12-11T21:39:14.806Z" },
|
|
2237
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/94/ab/ffe580e6ea1fca67f6337b0af59fc7e683344a43642d2d55d251ff83ceae/ruff-0.14.9-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ed9d7417a299fc6030b4f26333bf1117ed82a61ea91238558c0268c14e00d0c2", size = 13779363, upload-time = "2025-12-11T21:39:20.29Z" },
|
|
2238
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/7d/f8/2be49047f929d6965401855461e697ab185e1a6a683d914c5c19c7962d9e/ruff-0.14.9-py3-none-macosx_11_0_arm64.whl", hash = "sha256:d5dc3473c3f0e4a1008d0ef1d75cee24a48e254c8bed3a7afdd2b4392657ed2c", size = 12925292, upload-time = "2025-12-11T21:39:38.757Z" },
|
|
2239
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/9e/e9/08840ff5127916bb989c86f18924fd568938b06f58b60e206176f327c0fe/ruff-0.14.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:84bf7c698fc8f3cb8278830fb6b5a47f9bcc1ed8cb4f689b9dd02698fa840697", size = 13362894, upload-time = "2025-12-11T21:39:02.524Z" },
|
|
2240
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/31/1c/5b4e8e7750613ef43390bb58658eaf1d862c0cc3352d139cd718a2cea164/ruff-0.14.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:aa733093d1f9d88a5d98988d8834ef5d6f9828d03743bf5e338bf980a19fce27", size = 13311482, upload-time = "2025-12-11T21:39:17.51Z" },
|
|
2241
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/5b/3a/459dce7a8cb35ba1ea3e9c88f19077667a7977234f3b5ab197fad240b404/ruff-0.14.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6a1cfb04eda979b20c8c19550c8b5f498df64ff8da151283311ce3199e8b3648", size = 14016100, upload-time = "2025-12-11T21:39:41.948Z" },
|
|
2242
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/a6/31/f064f4ec32524f9956a0890fc6a944e5cf06c63c554e39957d208c0ffc45/ruff-0.14.9-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:1e5cb521e5ccf0008bd74d5595a4580313844a42b9103b7388eca5a12c970743", size = 15477729, upload-time = "2025-12-11T21:39:23.279Z" },
|
|
2243
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/7a/6d/f364252aad36ccd443494bc5f02e41bf677f964b58902a17c0b16c53d890/ruff-0.14.9-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cd429a8926be6bba4befa8cdcf3f4dd2591c413ea5066b1e99155ed245ae42bb", size = 15122386, upload-time = "2025-12-11T21:39:33.125Z" },
|
|
2244
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/20/02/e848787912d16209aba2799a4d5a1775660b6a3d0ab3944a4ccc13e64a02/ruff-0.14.9-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ab208c1b7a492e37caeaf290b1378148f75e13c2225af5d44628b95fd7834273", size = 14497124, upload-time = "2025-12-11T21:38:59.33Z" },
|
|
2245
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/f3/51/0489a6a5595b7760b5dbac0dd82852b510326e7d88d51dbffcd2e07e3ff3/ruff-0.14.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:72034534e5b11e8a593f517b2f2f2b273eb68a30978c6a2d40473ad0aaa4cb4a", size = 14195343, upload-time = "2025-12-11T21:39:44.866Z" },
|
|
2246
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/f6/53/3bb8d2fa73e4c2f80acc65213ee0830fa0c49c6479313f7a68a00f39e208/ruff-0.14.9-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:712ff04f44663f1b90a1195f51525836e3413c8a773574a7b7775554269c30ed", size = 14346425, upload-time = "2025-12-11T21:39:05.927Z" },
|
|
2247
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/ad/04/bdb1d0ab876372da3e983896481760867fc84f969c5c09d428e8f01b557f/ruff-0.14.9-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:a111fee1db6f1d5d5810245295527cda1d367c5aa8f42e0fca9a78ede9b4498b", size = 13258768, upload-time = "2025-12-11T21:39:08.691Z" },
|
|
2248
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/40/d9/8bf8e1e41a311afd2abc8ad12be1b6c6c8b925506d9069b67bb5e9a04af3/ruff-0.14.9-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:8769efc71558fecc25eb295ddec7d1030d41a51e9dcf127cbd63ec517f22d567", size = 13326939, upload-time = "2025-12-11T21:39:53.842Z" },
|
|
2249
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/f4/56/a213fa9edb6dd849f1cfbc236206ead10913693c72a67fb7ddc1833bf95d/ruff-0.14.9-py3-none-musllinux_1_2_i686.whl", hash = "sha256:347e3bf16197e8a2de17940cd75fd6491e25c0aa7edf7d61aa03f146a1aa885a", size = 13578888, upload-time = "2025-12-11T21:39:35.988Z" },
|
|
2250
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/33/09/6a4a67ffa4abae6bf44c972a4521337ffce9cbc7808faadede754ef7a79c/ruff-0.14.9-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:7715d14e5bccf5b660f54516558aa94781d3eb0838f8e706fb60e3ff6eff03a8", size = 14314473, upload-time = "2025-12-11T21:39:50.78Z" },
|
|
2251
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/12/0d/15cc82da5d83f27a3c6b04f3a232d61bc8c50d38a6cd8da79228e5f8b8d6/ruff-0.14.9-py3-none-win32.whl", hash = "sha256:df0937f30aaabe83da172adaf8937003ff28172f59ca9f17883b4213783df197", size = 13202651, upload-time = "2025-12-11T21:39:26.628Z" },
|
|
2252
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/32/f7/c78b060388eefe0304d9d42e68fab8cffd049128ec466456cef9b8d4f06f/ruff-0.14.9-py3-none-win_amd64.whl", hash = "sha256:c0b53a10e61df15a42ed711ec0bda0c582039cf6c754c49c020084c55b5b0bc2", size = 14702079, upload-time = "2025-12-11T21:39:11.954Z" },
|
|
2253
|
+
{ url = "https://mirrors.ustc.edu.cn/pypi/packages/26/09/7a9520315decd2334afa65ed258fed438f070e31f05a2e43dd480a5e5911/ruff-0.14.9-py3-none-win_arm64.whl", hash = "sha256:8e821c366517a074046d92f0e9213ed1c13dbc5b37a7fc20b07f79b64d62cc84", size = 13744730, upload-time = "2025-12-11T21:39:29.659Z" },
|
|
2254
2254
|
]
|
|
2255
2255
|
|
|
2256
2256
|
[[package]]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.2.14"
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
from dotenv import load_dotenv
|
|
2
|
-
from langchain_community.embeddings.dashscope import DashScopeEmbeddings
|
|
3
|
-
from langchain_qwq import ChatQwen
|
|
4
|
-
|
|
5
|
-
from data.alibaba._profiles import _PROFILES as ALI_PROFILES
|
|
6
|
-
from data.zhipuai._profiles import _PROFILES as ZAI_PROFILES
|
|
7
|
-
from langchain_dev_utils.chat_models import batch_register_model_provider
|
|
8
|
-
from langchain_dev_utils.embeddings import batch_register_embeddings_provider
|
|
9
|
-
|
|
10
|
-
load_dotenv()
|
|
11
|
-
|
|
12
|
-
batch_register_model_provider(
|
|
13
|
-
[
|
|
14
|
-
{
|
|
15
|
-
"provider_name": "dashscope",
|
|
16
|
-
"chat_model": ChatQwen,
|
|
17
|
-
"model_profiles": ALI_PROFILES,
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"provider_name": "zai",
|
|
21
|
-
"chat_model": "openai-compatible",
|
|
22
|
-
"model_profiles": ZAI_PROFILES,
|
|
23
|
-
},
|
|
24
|
-
]
|
|
25
|
-
)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
batch_register_embeddings_provider(
|
|
29
|
-
[
|
|
30
|
-
{
|
|
31
|
-
"provider_name": "siliconflow",
|
|
32
|
-
"embeddings_model": "openai-compatible",
|
|
33
|
-
},
|
|
34
|
-
{"provider_name": "dashscope", "embeddings_model": DashScopeEmbeddings},
|
|
35
|
-
]
|
|
36
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/plan.py
RENAMED
|
File without changes
|
{langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/agents/wrap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/embeddings/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_dev_utils-1.2.14 → langchain_dev_utils-1.2.16}/src/langchain_dev_utils/pipeline/types.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|