Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BTPlus

Baota Panel AI Patch Script

Usage

# Linux Only
curl -fsSL https://raw.githubusercontent.com/CuzTeam/BTPlus/refs/heads/main/scripts/run.sh | bash -s -- apply

# 指定 API 参数(跳过交互)
curl -fsSL https://raw.githubusercontent.com/CuzTeam/BTPlus/refs/heads/main/scripts/run.sh | bash -s -- apply --url https://api.openai.com/v1 --key sk-xxx

# 查看状态
bash scripts/run.sh status

# 恢复官方配置
bash scripts/run.sh revert

新版适配

  • 自动解密加密的 comMod.py(AES-128-CBC)
  • Patch chat() 硬编码的 api_key(新版从 DEFAULT_CONFIG 改为 config
  • Patch simple_chat()api_key / base_url 回退值
  • 强制 default_headers(原始 BTPlus 逻辑)
  • 清理 prompt 模板中硬编码的 base_url / api_key
  • 幂等 patch + AST 语法校验

Thanks

About

Baota Panel AI Patch Script

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages