feat: 统一管理模型服务配置信息
This commit is contained in:
@@ -3,6 +3,11 @@ from pydantic import Field
|
||||
|
||||
|
||||
class EnvSettings(BaseSettings):
|
||||
llm_key_local: str = Field(..., env="LLM_KEY_LOCAL")
|
||||
llm_key_huoshan: str = Field(..., env="LLM_KEY_HUOSHAN")
|
||||
llm_key_bailian: str = Field(..., env="LLM_KEY_BAILIAN")
|
||||
llm_key_deepseek: str = Field(..., env="LLM_KEY_DEEPSEEK")
|
||||
|
||||
server_port: int = Field(..., env="SERVER_PORT")
|
||||
|
||||
class Config:
|
||||
|
||||
Reference in New Issue
Block a user