LLM config
All checks were successful
Gitea Actions Demo / deploy (push) Successful in 29s

This commit is contained in:
2026-02-27 09:50:11 +08:00
parent 839cdbdbc7
commit 756f871b4e
3 changed files with 8 additions and 4 deletions

View File

@ -24,6 +24,8 @@ class Settings(BaseSettings):
# LLM配置
LLM_API_KEY: str = Field("LLM_API_KEY")
LLM_MODEL: str = Field("LLM_MODEL", default="deepseek-v3.2")
LLM_MAX_TOKENS: int = Field("LLM_MAX_TOKENS", default=2048)
class Config:
env_file = ".env"