初始化

This commit is contained in:
2026-09-06 16:54:18 +08:00
parent 64a51f2567
commit 8efcd72eb2
8 changed files with 2709 additions and 55 deletions

View File

@@ -143,6 +143,17 @@ class Settings(BaseSettings):
description="缓存过期时间(秒)"
)
# ---------- AI配置 ----------
DEEPSEEK_API_KEY: str = Field(
default="sk-d3e11a4229744fd29a8468e7df072a4b",
description="deepseek模型api_key"
)
TAVILY_API_KEY: str = Field(
default="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",
description="tavily搜索接口api_key"
)
# ---------- 计算属性 ----------
@property
def mysql_url(self) -> str: