初始化
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user