Files
aiagent/agent_test_cases.example.json
renjianbo df4fab1e6e feat: Agent 批量测试、作业助手与上传预览;Windows 启动脚本与文档- 新增 run_agent_test_cases 与示例 JSON、(红头)agent测试用例文档
- 扩展 test_agent_execution(--homework、UTF-8 控制台)
- 后端:uploads 预览、file_read、工作流与对话落盘等
- 前端:AgentChatPreview 与设计器相关调整
- 忽略 redis二进制、agent_workspaces、uploads、tessdata 等本机产物

Made-with: Cursor
2026-04-13 20:17:18 +08:00

43 lines
1.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"version": 1,
"defaults": {
"base_url": "http://localhost:8037",
"username": "admin",
"password": "123456",
"request_timeout_sec": 120,
"max_wait_sec": 300,
"poll_interval_sec": 2
},
"cases": [
{
"id": "homework-hello",
"name": "学生作业管理助手-打招呼",
"agent": { "name": "学生作业管理助手" },
"message": "你好",
"expect": {
"status": "completed",
"output_contains": ["作业", "助手"]
}
},
{
"id": "homework-by-id-smoke",
"name": "按 ID 冒烟(请换成你环境真实 UUID",
"enabled": false,
"agent": { "id": "00000000-0000-0000-0000-000000000000" },
"message": "你好"
},
{
"id": "generic-with-preview-fields",
"name": "带预览扩展字段示例(与前端一致时可开)",
"enabled": false,
"agent": { "name": "你的Agent名称" },
"message": "你好",
"input_extra": {
"user_id": "preview_script_user",
"attachments": []
},
"expect": { "status": "completed" }
}
]
}