Update README.

This commit is contained in:
666ghj
2025-11-07 14:42:34 +08:00
committed by BaiFu
parent 8f8bf70757
commit bdc5ffeea6
2 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ DB_CHARSET=utf8mb4
DB_DIALECT=postgresql
# ======================= LLM 相关 =======================
# 我们的LLM模型API赞助商有https://share.302.ai/P66Qe3、https://aihubmix.com/?aff=8Ds9提供了非常全面的模型api
# Insight Agent推荐Kimihttps://platform.moonshot.cn/API密钥用于主LLM
INSIGHT_ENGINE_API_KEY=
# Insight Agent LLM接口BaseUrl可自定义厂商API

View File

@@ -39,6 +39,8 @@ class Settings(BaseSettings):
DB_CHARSET: str = Field("utf8mb4", description="数据库字符集推荐utf8mb4兼容emoji")
# ======================= LLM 相关 =======================
# 我们的LLM模型API赞助商有https://share.302.ai/P66Qe3、https://aihubmix.com/?aff=8Ds9提供了非常全面的模型api
# Insight Agent推荐Kimi申请地址https://platform.moonshot.cn/
INSIGHT_ENGINE_API_KEY: Optional[str] = Field(None, description="Insight Agent推荐Kimihttps://platform.moonshot.cn/API密钥用于主LLM。您可以更改每个部分LLM使用的API🚩只要兼容OpenAI请求格式都可以定义好KEY、BASE_URL与MODEL_NAME即可正常使用。重要提醒我们强烈推荐您先使用推荐的配置申请API先跑通再进行您的更改")
INSIGHT_ENGINE_BASE_URL: Optional[str] = Field("https://api.moonshot.cn/v1", description="Insight Agent LLM接口BaseUrl可自定义厂商API")