Commit Graph

7 Commits

Author SHA1 Message Date
f43025047e refactor(config): 统一配置源,迁移数据到 ~/.agents/agents/
- config/paths.py: data_root 改为 ~/.agents/agents,config/ 提至根目录共享
- config/__init__.py: 统一加载 .env + settings.json,注入 legacy 环境变量
- 移除 4 处独立 .env 读取 (auth/model_profiles/api_client/chat_flow/balance)
- 新增 docs/config_refactor_plan.md 完整改造计划
- 数据已从 ~/.agents/host/ 迁移至 ~/.agents/agents/
2026-06-13 21:37:02 +08:00
4cfd0ef090 fix: stop converting Kimi balance and switch Qwen endpoint to business.aliyuncs.com 2026-01-05 14:22:06 +08:00
1cf8bd7014 fix: use Kimi base URL from env to avoid 401 2026-01-05 14:19:37 +08:00
5fd2739878 fix: align qwen balance signing/query encoding to avoid 400 2026-01-05 14:18:41 +08:00
2d17143d72 fix: fallback to existing kimi/deepseek key names in balance fetch 2026-01-05 14:17:43 +08:00
e58936bf05 chore: read balance creds from .env by default 2026-01-05 14:13:51 +08:00
cec28df931 feat: add manual balance checker for admin monitor 2026-01-05 14:10:19 +08:00