v2.6.0 — 凭证加密 / Credential Encryption
快速开始 / Quick Start
| 项 Item | 值 Value |
|---|---|
| 服务地址 URL | http://localhost:8080 |
| 管理面板 Admin | http://localhost:8080 |
| 对外 API Key | sk-mimo(config.json → api_keys) |
| 管理用户名 Admin user | admin(固定 fixed) |
| 管理密码 Admin password | admin(config.json → admin_password) |
pip install -r requirements.txt
python main.py更新说明 / What's Changed (v2.6.0)
中文
安全
- 凭证加密落盘:
serviceToken/userId/xiaomichatbot_ph/admin_password使用 Fernet(enc:v1:),密钥在.secret_key;旧明文config.json启动时自动迁移 - 导入 / 测试连接不再在账号会话里留下
hi记录(临时 conversation 验证后删除) /api/config支持局部更新,只改密码不会清空已导入账号
修复
- Anthropic 模型映射:补全 Claude 4.7 / 4.5;支持日期后缀与
-latest;未知 Claude 名启发式落到 2.5 系列(仅mimo-v2.5/mimo-v2.5-pro)
文档
- README 补充管理后台默认账号、改密方式、
.secret_key备份说明
升级注意: 备份时必须同时保存
config.json与.secret_key,否则密文无法解密。Docker 需一并挂载这两个文件。
English
Security
- Credentials encrypted at rest: Fernet (
enc:v1:) for account cookies and admin password; key in.secret_key; plaintext configs migrate on first start - Import / connection test no longer leave a
hiconversation on the account (temporary probe is deleted) /api/configsupports partial updates — changing only the password will not wipe accounts
Fixes
- Anthropic model aliases: Claude 4.7 / 4.5, date suffixes,
-latest; unknownclaude-*falls back to the 2.5 series (mimo-v2.5/mimo-v2.5-proonly)
Docs
- README: admin defaults, how to change password,
.secret_keybackup notes
Upgrade note: Back up
config.jsonand.secret_keytogether. Docker must mount both files.
Full Changelog: v2.5.8...v2.6.0