feat: add cached homepage information and manual AI interpretations
This commit is contained in:
@@ -228,7 +228,7 @@ def router(runner, ai):
|
||||
raise HTTPException(409, "Alpha 内容已变化,请重新载入后生成")
|
||||
config = await db.get(AISettings, 1)
|
||||
if not config.description_model or not config.api_key_encrypted:
|
||||
raise HTTPException(409, "请先在大模型配置中保存 Description 模型及共享连接配置")
|
||||
raise HTTPException(409, "请先在大模型配置中保存 基础信息处理模型及共享连接配置")
|
||||
connection = SimpleNamespace(
|
||||
base_url=config.base_url,
|
||||
api_key_encrypted=config.api_key_encrypted,
|
||||
|
||||
Reference in New Issue
Block a user