refactor(config): 将配置管理从doppler_config.py迁移到settings.py
This commit is contained in:
@@ -82,7 +82,7 @@ doppler secrets set GOOGLE_GENAI_USE_VERTEXAI=TRUE
|
||||
|
||||
### 3.1 更新配置管理
|
||||
|
||||
需要更新 `config/doppler_config.py`:
|
||||
需要更新 `config/settings.py`:
|
||||
|
||||
```python
|
||||
def get_google_api_key() -> str:
|
||||
|
||||
@@ -62,7 +62,7 @@ liurenchaxin/
|
||||
│ ├── database/ # 数据库模块
|
||||
│ └── api/ # API集成
|
||||
├── config/ # 配置管理
|
||||
│ └── doppler_config.py # Doppler配置
|
||||
│ └── settings.py # Doppler配置
|
||||
├── tests/ # 测试代码
|
||||
├── docs/ # 文档
|
||||
├── scripts/ # 工具脚本
|
||||
|
||||
Reference in New Issue
Block a user