diff --git "a/frameworks/langgraph/1.1.3/1.1.3\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" "b/frameworks/langgraph/1.1.3/1.1.3\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" new file mode 100644 index 0000000000000000000000000000000000000000..7720fb631ecbadd412e7fcac8410221eaa528975 Binary files /dev/null and "b/frameworks/langgraph/1.1.3/1.1.3\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" differ diff --git a/frameworks/langgraph/1.1.3/Dockerfile b/frameworks/langgraph/1.1.3/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..b7cdd62707bf321b51460993ee30de838b73a2e9 --- /dev/null +++ b/frameworks/langgraph/1.1.3/Dockerfile @@ -0,0 +1,22 @@ +FROM opencloudos/opencloudos9-minimal:latest + +LABEL maintainer="pangxb666" +LABEL org.opencontainers.image.source="https://gitee.com/OpenCloudOS/ai-agent-container" +LABEL org.opencontainers.image.description="LangGraph 1.1.3 on OpenCloudOS 9" + +RUN dnf install -y \ + python3.11 \ + python3.11-pip \ + && dnf clean all \ + && rm -rf /var/cache/yum/* + +RUN pip3.11 install --no-cache-dir langgraph==1.1.3 \ + -i https://pypi.tuna.tsinghua.edu.cn/simple \ + --trusted-host pypi.tuna.tsinghua.edu.cn + +COPY test.sh /test.sh +RUN chmod +x /test.sh + +RUN echo $(date +"%Y-%m-%dT%H:%M:%S%z") > /tencentos_build_date.txt + +CMD ["python3.11"] diff --git a/frameworks/langgraph/1.1.3/README.md b/frameworks/langgraph/1.1.3/README.md new file mode 100644 index 0000000000000000000000000000000000000000..d0d3b0b55ffaf60869f989a42254c1bdffb17da8 --- /dev/null +++ b/frameworks/langgraph/1.1.3/README.md @@ -0,0 +1,55 @@ +# LangGraph 1.1.3 on OpenCloudOS 9 + +## 基本信息 + +- **框架版本**:1.1.3 +- **基础镜像**:opencloudos/opencloudos9-minimal:latest +- **Python 版本**:3.11 +- **CUDA 版本**:N/A +- **开源地址**:https://github.com/langchain-ai/langgraph + +## 简介 + +LangGraph 是基于 LangChain 构建的有状态、多参与者应用程序框架,用于创建具有循环图结构的 AI Agent 工作流。 + +## 构建 + +```bash +docker build -t oc9-langgraph:1.1.3 . +``` + +## 使用示例 + +```bash +# 验证版本 +docker run --rm oc9-langgraph:1.1.3 python3.11 -c "import importlib.metadata; print(importlib.metadata.version('langgraph'))" + +# 运行基础测试 +docker run --rm oc9-langgraph:1.1.3 bash /test.sh +``` + +## 功能验证 + +```bash +docker run --rm oc9-langgraph:1.1.3 python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + value: str + +def node(state): + return {'value': 'ok'} + +g = StateGraph(State) +g.add_node('node', node) +g.set_entry_point('node') +g.add_edge('node', END) +app = g.compile() +print(app.invoke({'value': 'test'})) +" +``` + +## 已知问题 + +无 diff --git a/frameworks/langgraph/1.1.3/test.sh b/frameworks/langgraph/1.1.3/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..0709c6d9973a0fb25ce923241f579cccfa61e66e --- /dev/null +++ b/frameworks/langgraph/1.1.3/test.sh @@ -0,0 +1,64 @@ +#!/bin/bash +set -e + +echo "=== LangGraph 1.1.3 基础功能测试 ===" + +# 1. 验证 langgraph 可正常导入并检查版本 +echo -n "检查 import langgraph... " +python3.11 -c " +import importlib.metadata +print(importlib.metadata.version('langgraph')) +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +# 2. 验证 StateGraph 核心功能 +echo -n "检查 StateGraph 构建与执行... " +python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + value: str + +def process(state): + return {'value': 'hello from langgraph'} + +graph = StateGraph(State) +graph.add_node('process', process) +graph.set_entry_point('process') +graph.add_edge('process', END) +app = graph.compile() + +result = app.invoke({'value': 'test'}) +assert result['value'] == 'hello from langgraph', f'期望 hello from langgraph,实际 {result[\"value\"]}' +print('StateGraph 执行正常') +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +# 3. 验证条件边功能 +echo -n "检查条件边(conditional edges)... " +python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + count: int + +def increment(state): + return {'count': state['count'] + 1} + +def should_stop(state): + if state['count'] >= 3: + return END + return 'increment' + +graph = StateGraph(State) +graph.add_node('increment', increment) +graph.set_entry_point('increment') +graph.add_conditional_edges('increment', should_stop) +app = graph.compile() + +result = app.invoke({'count': 0}) +assert result['count'] == 3, f'期望 count=3,实际 {result[\"count\"]}' +print('条件边执行正常') +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +echo "=== 所有测试通过 ===" diff --git "a/frameworks/langgraph/1.1.4/1.1.4\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" "b/frameworks/langgraph/1.1.4/1.1.4\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" new file mode 100644 index 0000000000000000000000000000000000000000..7d65366fad1069882564e7cca177e4ffbfe91bca Binary files /dev/null and "b/frameworks/langgraph/1.1.4/1.1.4\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" differ diff --git a/frameworks/langgraph/1.1.4/Dockerfile b/frameworks/langgraph/1.1.4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..2f33d63e38a946dc313cf032658db41f5746d986 --- /dev/null +++ b/frameworks/langgraph/1.1.4/Dockerfile @@ -0,0 +1,22 @@ +FROM opencloudos/opencloudos9-minimal:latest + +LABEL maintainer="pangxb666" +LABEL org.opencontainers.image.source="https://gitee.com/OpenCloudOS/ai-agent-container" +LABEL org.opencontainers.image.description="LangGraph 1.1.4 on OpenCloudOS 9" + +RUN dnf install -y \ + python3.11 \ + python3.11-pip \ + && dnf clean all \ + && rm -rf /var/cache/yum/* + +RUN pip3.11 install --no-cache-dir langgraph==1.1.4 \ + -i https://pypi.tuna.tsinghua.edu.cn/simple \ + --trusted-host pypi.tuna.tsinghua.edu.cn + +COPY test.sh /test.sh +RUN chmod +x /test.sh + +RUN echo $(date +"%Y-%m-%dT%H:%M:%S%z") > /tencentos_build_date.txt + +CMD ["python3.11"] diff --git a/frameworks/langgraph/1.1.4/README.md b/frameworks/langgraph/1.1.4/README.md new file mode 100644 index 0000000000000000000000000000000000000000..28285b8c253899c831eabc3212eb9a253fb95ebc --- /dev/null +++ b/frameworks/langgraph/1.1.4/README.md @@ -0,0 +1,55 @@ +# LangGraph 1.1.4 on OpenCloudOS 9 + +## 基本信息 + +- **框架版本**:1.1.4 +- **基础镜像**:opencloudos/opencloudos9-minimal:latest +- **Python 版本**:3.11 +- **CUDA 版本**:N/A +- **开源地址**:https://github.com/langchain-ai/langgraph + +## 简介 + +LangGraph 是基于 LangChain 构建的有状态、多参与者应用程序框架,用于创建具有循环图结构的 AI Agent 工作流。 + +## 构建 + +```bash +docker build -t oc9-langgraph:1.1.4 . +``` + +## 使用示例 + +```bash +# 验证版本 +docker run --rm oc9-langgraph:1.1.4 python3.11 -c "import importlib.metadata; print(importlib.metadata.version('langgraph'))" + +# 运行基础测试 +docker run --rm oc9-langgraph:1.1.4 bash /test.sh +``` + +## 功能验证 + +```bash +docker run --rm oc9-langgraph:1.1.4 python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + value: str + +def node(state): + return {'value': 'ok'} + +g = StateGraph(State) +g.add_node('node', node) +g.set_entry_point('node') +g.add_edge('node', END) +app = g.compile() +print(app.invoke({'value': 'test'})) +" +``` + +## 已知问题 + +无 diff --git a/frameworks/langgraph/1.1.4/test.sh b/frameworks/langgraph/1.1.4/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..7551619f06de44ba2030301d177cc123c5f8d768 --- /dev/null +++ b/frameworks/langgraph/1.1.4/test.sh @@ -0,0 +1,64 @@ +#!/bin/bash +set -e + +echo "=== LangGraph 1.1.4 基础功能测试 ===" + +# 1. 验证 langgraph 可正常导入并检查版本 +echo -n "检查 import langgraph... " +python3.11 -c " +import importlib.metadata +print(importlib.metadata.version('langgraph')) +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +# 2. 验证 StateGraph 核心功能 +echo -n "检查 StateGraph 构建与执行... " +python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + value: str + +def process(state): + return {'value': 'hello from langgraph'} + +graph = StateGraph(State) +graph.add_node('process', process) +graph.set_entry_point('process') +graph.add_edge('process', END) +app = graph.compile() + +result = app.invoke({'value': 'test'}) +assert result['value'] == 'hello from langgraph', f'期望 hello from langgraph,实际 {result[\"value\"]}' +print('StateGraph 执行正常') +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +# 3. 验证条件边功能 +echo -n "检查条件边(conditional edges)... " +python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + count: int + +def increment(state): + return {'count': state['count'] + 1} + +def should_stop(state): + if state['count'] >= 3: + return END + return 'increment' + +graph = StateGraph(State) +graph.add_node('increment', increment) +graph.set_entry_point('increment') +graph.add_conditional_edges('increment', should_stop) +app = graph.compile() + +result = app.invoke({'count': 0}) +assert result['count'] == 3, f'期望 count=3,实际 {result[\"count\"]}' +print('条件边执行正常') +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +echo "=== 所有测试通过 ===" diff --git "a/frameworks/langgraph/1.1.5/1.1.5\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" "b/frameworks/langgraph/1.1.5/1.1.5\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" new file mode 100644 index 0000000000000000000000000000000000000000..6eb54f11552aa0b16838a98486532f7eeab8720e Binary files /dev/null and "b/frameworks/langgraph/1.1.5/1.1.5\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" differ diff --git a/frameworks/langgraph/1.1.5/Dockerfile b/frameworks/langgraph/1.1.5/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..46286afa35ffbc5dd5a34a6249ec7e4396d4e2bc --- /dev/null +++ b/frameworks/langgraph/1.1.5/Dockerfile @@ -0,0 +1,22 @@ +FROM opencloudos/opencloudos9-minimal:latest + +LABEL maintainer="pangxb666" +LABEL org.opencontainers.image.source="https://gitee.com/OpenCloudOS/ai-agent-container" +LABEL org.opencontainers.image.description="LangGraph 1.1.5 on OpenCloudOS 9" + +RUN dnf install -y \ + python3.11 \ + python3.11-pip \ + && dnf clean all \ + && rm -rf /var/cache/yum/* + +RUN pip3.11 install --no-cache-dir langgraph==1.1.5 \ + -i https://pypi.tuna.tsinghua.edu.cn/simple \ + --trusted-host pypi.tuna.tsinghua.edu.cn + +COPY test.sh /test.sh +RUN chmod +x /test.sh + +RUN echo $(date +"%Y-%m-%dT%H:%M:%S%z") > /tencentos_build_date.txt + +CMD ["python3.11"] diff --git a/frameworks/langgraph/1.1.5/README.md b/frameworks/langgraph/1.1.5/README.md new file mode 100644 index 0000000000000000000000000000000000000000..739392199e4bc9ba1594a1c4867806903b4a9d4e --- /dev/null +++ b/frameworks/langgraph/1.1.5/README.md @@ -0,0 +1,55 @@ +# LangGraph 1.1.5 on OpenCloudOS 9 + +## 基本信息 + +- **框架版本**:1.1.5 +- **基础镜像**:opencloudos/opencloudos9-minimal:latest +- **Python 版本**:3.11 +- **CUDA 版本**:N/A +- **开源地址**:https://github.com/langchain-ai/langgraph + +## 简介 + +LangGraph 是基于 LangChain 构建的有状态、多参与者应用程序框架,用于创建具有循环图结构的 AI Agent 工作流。 + +## 构建 + +```bash +docker build -t oc9-langgraph:1.1.5 . +``` + +## 使用示例 + +```bash +# 验证版本 +docker run --rm oc9-langgraph:1.1.5 python3.11 -c "import importlib.metadata; print(importlib.metadata.version('langgraph'))" + +# 运行基础测试 +docker run --rm oc9-langgraph:1.1.5 bash /test.sh +``` + +## 功能验证 + +```bash +docker run --rm oc9-langgraph:1.1.5 python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + value: str + +def node(state): + return {'value': 'ok'} + +g = StateGraph(State) +g.add_node('node', node) +g.set_entry_point('node') +g.add_edge('node', END) +app = g.compile() +print(app.invoke({'value': 'test'})) +" +``` + +## 已知问题 + +无 diff --git a/frameworks/langgraph/1.1.5/test.sh b/frameworks/langgraph/1.1.5/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..72f258d08826a6fd612ddea5815f8ced78454dbe --- /dev/null +++ b/frameworks/langgraph/1.1.5/test.sh @@ -0,0 +1,64 @@ +#!/bin/bash +set -e + +echo "=== LangGraph 1.1.5 基础功能测试 ===" + +# 1. 验证 langgraph 可正常导入并检查版本 +echo -n "检查 import langgraph... " +python3.11 -c " +import importlib.metadata +print(importlib.metadata.version('langgraph')) +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +# 2. 验证 StateGraph 核心功能 +echo -n "检查 StateGraph 构建与执行... " +python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + value: str + +def process(state): + return {'value': 'hello from langgraph'} + +graph = StateGraph(State) +graph.add_node('process', process) +graph.set_entry_point('process') +graph.add_edge('process', END) +app = graph.compile() + +result = app.invoke({'value': 'test'}) +assert result['value'] == 'hello from langgraph', f'期望 hello from langgraph,实际 {result[\"value\"]}' +print('StateGraph 执行正常') +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +# 3. 验证条件边功能 +echo -n "检查条件边(conditional edges)... " +python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + count: int + +def increment(state): + return {'count': state['count'] + 1} + +def should_stop(state): + if state['count'] >= 3: + return END + return 'increment' + +graph = StateGraph(State) +graph.add_node('increment', increment) +graph.set_entry_point('increment') +graph.add_conditional_edges('increment', should_stop) +app = graph.compile() + +result = app.invoke({'count': 0}) +assert result['count'] == 3, f'期望 count=3,实际 {result[\"count\"]}' +print('条件边执行正常') +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +echo "=== 所有测试通过 ===" diff --git "a/frameworks/langgraph/1.1.6/1.1.6\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" "b/frameworks/langgraph/1.1.6/1.1.6\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" new file mode 100644 index 0000000000000000000000000000000000000000..94d43d732d684d2d936d7ff321f034546eb0aa06 Binary files /dev/null and "b/frameworks/langgraph/1.1.6/1.1.6\346\265\213\350\257\225\347\273\223\346\236\234\346\210\252\345\233\276.png" differ diff --git a/frameworks/langgraph/1.1.6/Dockerfile b/frameworks/langgraph/1.1.6/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..833e2f81a38953ae58e5d349eaa1addd4e10c297 --- /dev/null +++ b/frameworks/langgraph/1.1.6/Dockerfile @@ -0,0 +1,22 @@ +FROM opencloudos/opencloudos9-minimal:latest + +LABEL maintainer="pangxb666" +LABEL org.opencontainers.image.source="https://gitee.com/OpenCloudOS/ai-agent-container" +LABEL org.opencontainers.image.description="LangGraph 1.1.6 on OpenCloudOS 9" + +RUN dnf install -y \ + python3.11 \ + python3.11-pip \ + && dnf clean all \ + && rm -rf /var/cache/yum/* + +RUN pip3.11 install --no-cache-dir langgraph==1.1.6 \ + -i https://pypi.tuna.tsinghua.edu.cn/simple \ + --trusted-host pypi.tuna.tsinghua.edu.cn + +COPY test.sh /test.sh +RUN chmod +x /test.sh + +RUN echo $(date +"%Y-%m-%dT%H:%M:%S%z") > /tencentos_build_date.txt + +CMD ["python3.11"] diff --git a/frameworks/langgraph/1.1.6/README.md b/frameworks/langgraph/1.1.6/README.md new file mode 100644 index 0000000000000000000000000000000000000000..50e925f6f391b71a5fc4618a31f329ad15901322 --- /dev/null +++ b/frameworks/langgraph/1.1.6/README.md @@ -0,0 +1,55 @@ +# LangGraph 1.1.6 on OpenCloudOS 9 + +## 基本信息 + +- **框架版本**:1.1.6 +- **基础镜像**:opencloudos/opencloudos9-minimal:latest +- **Python 版本**:3.11 +- **CUDA 版本**:N/A +- **开源地址**:https://github.com/langchain-ai/langgraph + +## 简介 + +LangGraph 是基于 LangChain 构建的有状态、多参与者应用程序框架,用于创建具有循环图结构的 AI Agent 工作流。 + +## 构建 + +```bash +docker build -t oc9-langgraph:1.1.6 . +``` + +## 使用示例 + +```bash +# 验证版本 +docker run --rm oc9-langgraph:1.1.6 python3.11 -c "import importlib.metadata; print(importlib.metadata.version('langgraph'))" + +# 运行基础测试 +docker run --rm oc9-langgraph:1.1.6 bash /test.sh +``` + +## 功能验证 + +```bash +docker run --rm oc9-langgraph:1.1.6 python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + value: str + +def node(state): + return {'value': 'ok'} + +g = StateGraph(State) +g.add_node('node', node) +g.set_entry_point('node') +g.add_edge('node', END) +app = g.compile() +print(app.invoke({'value': 'test'})) +" +``` + +## 已知问题 + +无 diff --git a/frameworks/langgraph/1.1.6/test.sh b/frameworks/langgraph/1.1.6/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..d2b22451f25e786565b9d0787b360f22cdd97957 --- /dev/null +++ b/frameworks/langgraph/1.1.6/test.sh @@ -0,0 +1,64 @@ +#!/bin/bash +set -e + +echo "=== LangGraph 1.1.6 基础功能测试 ===" + +# 1. 验证 langgraph 可正常导入并检查版本 +echo -n "检查 import langgraph... " +python3.11 -c " +import importlib.metadata +print(importlib.metadata.version('langgraph')) +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +# 2. 验证 StateGraph 核心功能 +echo -n "检查 StateGraph 构建与执行... " +python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + value: str + +def process(state): + return {'value': 'hello from langgraph'} + +graph = StateGraph(State) +graph.add_node('process', process) +graph.set_entry_point('process') +graph.add_edge('process', END) +app = graph.compile() + +result = app.invoke({'value': 'test'}) +assert result['value'] == 'hello from langgraph', f'期望 hello from langgraph,实际 {result[\"value\"]}' +print('StateGraph 执行正常') +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +# 3. 验证条件边功能 +echo -n "检查条件边(conditional edges)... " +python3.11 -c " +from langgraph.graph import StateGraph, END +from typing import TypedDict + +class State(TypedDict): + count: int + +def increment(state): + return {'count': state['count'] + 1} + +def should_stop(state): + if state['count'] >= 3: + return END + return 'increment' + +graph = StateGraph(State) +graph.add_node('increment', increment) +graph.set_entry_point('increment') +graph.add_conditional_edges('increment', should_stop) +app = graph.compile() + +result = app.invoke({'count': 0}) +assert result['count'] == 3, f'期望 count=3,实际 {result[\"count\"]}' +print('条件边执行正常') +" && echo "✓ 通过" || { echo "✗ 失败"; exit 1; } + +echo "=== 所有测试通过 ==="