添加配置
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 5m11s

This commit is contained in:
2026-04-21 22:07:20 +08:00
parent aa8072369c
commit efa8bbcd03
4 changed files with 138 additions and 74 deletions

View File

@@ -2,22 +2,7 @@
"""
LangGraph 图结构可视化脚本
快速查看节点和边的连接关系
================================================================================
运行方式(推荐用第一种):
================================================================================
方式 1: 从项目根目录直接运行脚本(推荐,最稳定)
----------------------------------------------------------------------
cd /home/huang/Study/AIProject/Agent1
python backend/app/graph/visualize_graph.py
方式 2: 如果非要用模块方式运行,需要先设置 PYTHONPATH
----------------------------------------------------------------------
cd /home/huang/Study/AIProject/Agent1
export PYTHONPATH=/home/huang/Study/AIProject/Agent1/backend:$PYTHONPATH
python -m backend.app.graph.visualize_graph
================================================================================
运行方式python backend/app/graph/visualize_graph.py
"""
import sys
from pathlib import Path