feat 1.增加 建议词 机制 2.对话生图实现
This commit is contained in:
@@ -7,13 +7,21 @@ class Settings(BaseSettings):
|
||||
应用配置类。Pydantic Settings 会自动从环境变量和 .env 文件中加载这些值。
|
||||
"""
|
||||
model_config = SettingsConfigDict(
|
||||
env_file='.env',
|
||||
env_file='.env_local',
|
||||
env_file_encoding='utf-8',
|
||||
extra='ignore' # 忽略环境变量中多余的键
|
||||
)
|
||||
# --- google api 配置信息 ---
|
||||
GOOGLE_GENAI_USE_VERTEXAI: str = Field(default="", description="")
|
||||
GOOGLE_API_KEY: str = Field(default="", description="")
|
||||
GOOGLE_CLOUD_PROJECT: str = Field(default="", description="")
|
||||
GOOGLE_CLOUD_LOCATION: str = Field(default="", description="")
|
||||
|
||||
# --- minio 配置信息 ---
|
||||
MINIO_URL: str = Field(default='', description="")
|
||||
MINIO_ACCESS: str = Field(default='', description="")
|
||||
MINIO_SECRET: str = Field(default='', description="")
|
||||
MINIO_SECURE: bool = Field(default=True, description="")
|
||||
|
||||
# --- mongodb配置信息 ---
|
||||
MONGODB_USERNAME: str = Field(default="", description="")
|
||||
|
||||
Reference in New Issue
Block a user