feat: Introduce a new Go-based DeepSeek API proxy with adapters for Claude and OpenAI, including SSE parsing and updated build configurations.

This commit is contained in:
CJACK
2026-02-15 19:50:26 +08:00
parent 35b99cdf4c
commit a50e2ef5cd
31 changed files with 4019 additions and 64 deletions

View File

@@ -70,15 +70,12 @@
git clone https://github.com/CJackHwang/ds2api.git
cd ds2api
# 2. 安装依赖
pip install -r requirements.txt
# 3. 配置账号
# 2. 准备配置
cp config.example.json config.json
# 编辑 config.json添加 DeepSeek 账号信息
# 4. 启动服务
python dev.py
# 3. 启动服务Go 版本)
go run ./cmd/ds2api
```
服务启动后访问 `http://localhost:5001`