Add LLM settings integration
test / pytest (push) Successful in 1m13s

Add app_settings migration, settings UI, and OpenAI-compatible httpx LLM client with mocked tests.

Preserve API keys on blank form submissions, require a fresh key when base_url changes, and keep AI search settings untouched for step 3.

Update docs/design LLM integration and step 3 AI search notes, including prompt contract and extra-hints planning.
This commit is contained in:
2026-06-01 20:06:22 +02:00
parent 8b8bd9f38f
commit d36b940981
12 changed files with 1254 additions and 15 deletions
+1
View File
@@ -19,6 +19,7 @@
<nav class="top-nav">
<a href="/boxes">箱子</a>
<a href="/search">搜索</a>
<a href="/settings">设置</a>
</nav>
{% block content %}{% endblock %}
</main>