补全注释

This commit is contained in:
h88782481 2026-03-10 08:43:07 +08:00
parent 96fbc4da80
commit f193c48ce1
13 changed files with 115 additions and 14 deletions

View file

@ -4,6 +4,12 @@ import os
class Config:
"""集中声明服务运行依赖的环境变量配置。
这个类不承担运行时逻辑只作为模块级配置容器统一暴露上游地址
鉴权密钥端口超时和调试开关供应用启动路由鉴权和请求转发层共享
"""
# 上游 API 地址
PROXY_TARGET_URL = os.getenv('PROXY_TARGET_URL', 'https://api.anthropic.com')
# 上游 API 密钥