重构代码,实现相对导入
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 5m26s

This commit is contained in:
2026-04-21 10:26:37 +08:00
parent 37e021e302
commit 726236eaff
68 changed files with 119 additions and 3990 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# =============================================================================
# AI Agent 启动与管理脚本
# 用法: ./start.sh [check|backend|frontend|both|docker-up|docker-down]
# 用法: ./backend/scripts/start.sh both [check|backend|frontend|both|docker-up|docker-down]
# =============================================================================
set -e
@@ -308,7 +308,7 @@ start_frontend() {
set +a
export PYTHONPATH="$PROJECT_DIR"
streamlit run frontend/frontend_main.py &
streamlit run frontend/src/frontend_main.py &
FRONTEND_PID=$!
echo -e "${GREEN}✓ 前端服务已启动 (PID: $FRONTEND_PID)${NC}"
echo -e "${GREEN}✓ 访问地址:${NC}"