All checks were successful
CI / test (pull_request) Successful in 3m55s
4.1 新增三个评估场景(急诊分诊、慢病管理、健康咨询),各 3 个用例,
全部使用无模型绑定依赖的规则;急诊场景编码 <20s 延迟验收标准
4.2 ModelGateway 由每次请求新建 httpx.AsyncClient 改为单实例共享客户端
(复用 TCP/TLS 连接),引擎与模型连通性测试端点负责关闭;
tutu 通道已具备同等优化,无需改动
4.3 Reports.tsx 单次报告顶部新增上线评估横幅:go/no-go/conditional
三态 banner + 各验收标准达标情况标签
版本号升至 1.3.1(v1.3.1-final)。
门禁:pytest tests/unit 709 passed;ruff 全绿;
前端 tsc --noEmit + vitest 232 passed。
附带修复 RunList 测试时区缺陷:started_at 用 UTC 日期构造,
本地 00:00-08:00 之间会被默认"今天"过滤器排除导致误报失败。
74 lines
1.6 KiB
TOML
74 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "agenteval"
|
|
version = "1.3.1"
|
|
description = "智能体质量评估工具集平台"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "AgentEval Team" }
|
|
]
|
|
keywords = ["agent", "evaluation", "llm", "openclaw"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
dependencies = [
|
|
"typer>=0.12.0",
|
|
"pydantic>=2.0.0",
|
|
"sqlmodel>=0.0.19",
|
|
"fastapi>=0.111.0",
|
|
"uvicorn[standard]>=0.30.0",
|
|
"jinja2>=3.1.4",
|
|
"pyyaml>=6.0.1",
|
|
"requests>=2.32.0",
|
|
"python-multipart>=0.0.9",
|
|
"rich>=13.0.0",
|
|
"httpx>=0.27.0",
|
|
"websockets>=12.0",
|
|
"pydantic-settings>=2.3.0",
|
|
"python-dotenv>=1.0.0",
|
|
"alembic>=1.13.0",
|
|
"cryptography>=42.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.2.0",
|
|
"pytest-asyncio>=0.23.7",
|
|
"httpx>=0.27.0",
|
|
"ruff>=0.5.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
agenteval = "cli.main:app"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["backend/agenteval", "backend/cli"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
convention = "google"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
pythonpath = ["backend", "."]
|
|
asyncio_mode = "auto"
|