fix: settings页面显示动态LLM配置

This commit is contained in:
2026-04-10 23:18:21 +08:00
parent 7fede0212b
commit 329e795648
2 changed files with 8 additions and 3 deletions

View File

@@ -100,8 +100,9 @@
<p><strong>框架:</strong> Flask + SQLAlchemy</p>
</div>
<div class="col-md-4">
<p><strong>LLM模型:</strong> qwen/qwen3.5-35b-a3b</p>
<p><strong>API地址:</strong> http://192.168.2.5:1234/v1</p>
<p><strong>LLM模型:</strong> {{ llm_config.model }}</p>
<p><strong>API地址:</strong> {{ llm_config.api_base }}</p>
<p><a href="{{ url_for('admin.llm_config') }}" class="btn btn-sm btn-outline-primary">修改配置</a></p>
</div>
<div class="col-md-4">
<p><strong>缓存有效期:</strong> 30天</p>