38 lines
834 B
HTML
38 lines
834 B
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>审计日志详情</title>
|
|
</head>
|
|
<body>
|
|
<h1>审计日志详情 #{{ log.id }}</h1>
|
|
<nav><a href="{% url 'audit:list' %}">返回审计列表</a></nav>
|
|
<section>
|
|
<h2>用户输入</h2>
|
|
<p>{{ log.user_input }}</p>
|
|
</section>
|
|
<section>
|
|
<h2>最终回答</h2>
|
|
<p>{{ log.final_answer }}</p>
|
|
</section>
|
|
<section>
|
|
<h2>结构化输出</h2>
|
|
<pre>{{ log.structured_output }}</pre>
|
|
</section>
|
|
<section>
|
|
<h2>引用来源</h2>
|
|
<pre>{{ log.retrieved_chunks }}</pre>
|
|
</section>
|
|
<section>
|
|
<h2>工具调用</h2>
|
|
<pre>{{ log.tool_calls }}</pre>
|
|
</section>
|
|
{% if log.error_message %}
|
|
<section>
|
|
<h2>错误信息</h2>
|
|
<pre>{{ log.error_message }}</pre>
|
|
</section>
|
|
{% endif %}
|
|
</body>
|
|
</html>
|