Files
ai-worker-platform/static/index.html
T
hz4th_coder c56745a8ab V3.5 精细化运营升级:用量统计/接口库/团队/对话/工作目录/流式超时
1. 精细化统计:cost_records 新增 calls/cached_tokens/latency_ms/first_token_ms;
   用量明细报表(项目×智能体矩阵) + 成本报表细化(输入/输出/缓存命中/调用次数)
2. 从参考项目中新建:内置3个测试项目(文案/Python/调研),一键复制目标+任务
3. 大模型接口库(llm_endpoints):专门配置接口(地址/密钥/模型/定价),
   计费支持按token(逐模型)与按调用次数;创建AI Worker直接选用;
   AI Worker团队(worker_teams):打包Worker,对话/建项目可直接选团队
4. 对话导航融合仪表盘:可选大模型/AI Worker/团队,默认主力AI Worker(可设),SSE流式
5. 系统工作目录:默认data/workspace可改绝对路径;项目与多Agent协作均在其下
   建唯一工作目录;手动输入目录已存在则列出信息并需手动确认
6. 任务执行超时改为流式单token返回超时+首字延迟超时,设置页可配;
   所有模型输出SSE按token接收
2026-09-05 15:27:43 +08:00

56 lines
2.4 KiB
HTML
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.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Worker 项目管理平台</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="app">
<aside id="sidebar">
<div class="logo">🤖 <span>AI Worker</span><small>项目管理平台</small></div>
<nav>
<a href="#/dashboard" data-route="dashboard" data-perm="dashboard.view" class="nav-chat">💬 对话 · 仪表盘</a>
<a href="#/projects" data-route="projects" data-perm="project.view">📁 项目</a>
<a href="#/workers" data-route="workers" data-perm="worker.view">🧑‍💻 AI Worker</a>
<a href="#/agents" data-route="agents" data-perm="agent.view">🤝 多 Agent 协作</a>
<a href="#/eval" data-route="eval" data-perm="eval.view">🎯 自动评估</a>
<a href="#/templates" data-route="templates" data-perm="template.view">🧩 模板市场</a>
<a href="#/reports" data-route="reports" data-perm="report.view">💰 成本报表</a>
<a href="#/logs" data-route="logs" data-perm="log.view">📜 运行日志</a>
<a href="#/alerts" data-route="alerts" data-perm="alert.view">🚨 告警中心 <span id="alert-badge" class="badge st-review" style="display:none;float:right">0</span></a>
<a href="#/api" data-route="api" data-perm="api.manage">🔌 开放 API</a>
<a href="#/enterprise" data-route="enterprise" data-perm="enterprise.manage">🏢 企业版</a>
<a href="#/settings" data-route="settings" data-perm="setting.manage">⚙️ 通知设置</a>
</nav>
<div class="sidebar-foot">
<div id="conn-state" class="conn ok">● 服务正常</div>
<a href="#" id="logout-btn" class="logout" style="display:none">退出登录</a>
</div>
</aside>
<main id="main"></main>
</div>
<!-- 登录遮罩 -->
<div id="login-mask" style="display:none">
<div class="login-box">
<h2>🤖 AI Worker 项目管理平台</h2>
<p>请输入账号与口令(默认 admin / admin123</p>
<input type="text" id="login-user" placeholder="用户名" value="admin">
<input type="password" id="login-pwd" placeholder="口令">
<button id="login-btn">登 录</button>
<div id="login-err" class="err"></div>
</div>
</div>
<!-- 通用弹窗 -->
<div id="modal-mask" style="display:none">
<div class="modal" id="modal-box"></div>
</div>
<div id="toast-wrap"></div>
<script src="app.js"></script>
</body>
</html>