feat: 添加系统日志功能,记录运行时错误和AI调用失败,提供日志查看页面

This commit is contained in:
2026-03-14 00:32:20 +08:00
parent d2d63d5e61
commit dc7efb8ff8
10 changed files with 208 additions and 2 deletions

View File

@@ -46,6 +46,7 @@
超时(秒)
<input type="number" name="timeout" min="5" value="{{ settings.timeout }}">
</label>
<p class="hint full">若使用较慢模型(如 GLM-5、较大推理模型生成补货建议超时可先将这里调到 60-90 秒再重试。</p>
<label>
低库存阈值
<input type="number" name="restock_threshold" min="0" value="{{ settings.restock_threshold }}">