feat(scenarios): 支持场景配置加载与首页展示

This commit is contained in:
2026-05-30 00:08:00 +08:00
parent 6291940734
commit 35b80929b0
13 changed files with 256 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>Universal Agent Demo Framework</title>
</head>
<body>
<h1>Universal Agent Demo Framework</h1>
<p>用于复试展示的通用 AI Agent Demo 框架。</p>
<main>
{% for scenario in scenarios %}
<section>
<h2>{{ scenario.name }}</h2>
<p>{{ scenario.description }}</p>
<p>场景 ID{{ scenario.id }}</p>
<p><a href="{% url 'chat:index' scenario.id %}">进入对话</a></p>
</section>
{% empty %}
<p>暂无可用场景,请检查 configs 目录。</p>
{% endfor %}
</main>
</body>
</html>