Merge branch 'CJackHwang:main' into main

This commit is contained in:
qiangcao
2026-02-01 21:01:28 +08:00
committed by GitHub
2 changed files with 12 additions and 7 deletions

View File

@@ -1,19 +1,24 @@
# DS2API 依赖
# 安装命令: pip install -r requirements.txt
# Python 版本要求: >=3.9
# Web 框架
# ===== Web 框架 =====
fastapi>=0.110.0,<1.0.0
uvicorn[standard]>=0.24.0,<1.0.0
# HTTP 客户端
# ===== HTTP 客户端 =====
# curl_cffi: 支持 TLS 指纹模拟,绕过 Cloudflare 等防护
curl_cffi>=0.7.0
# httpx: 异步 HTTP 客户端,用于 Vercel API 调用
httpx>=0.25.0
# 模板引擎
# ===== 模板引擎 =====
jinja2>=3.1.0,<4.0.0
# Tokenizer(用于 token 计数)
# ===== Tokenizer =====
# 用于 token 计数(可选,不安装则使用估算方式)
transformers>=4.39.0,<5.0.0
# WASM 运行时(用于 PoW 计算)
# ===== WASM 运行时 =====
# 用于 DeepSeek PoW (Proof of Work) 计算
wasmtime>=14.0.0

View File

@@ -253,7 +253,7 @@ WELCOME_HTML = """<!DOCTYPE html>
<div class="feature-card">
<span class="feature-icon">🧠</span>
<h3>深度思考</h3>
<p>完整支持 DeepSeek-R1 推理过程输出,让思考可见。</p>
<p>完整支持 推理过程输出,让思考可见。</p>
</div>
<div class="feature-card">
<span class="feature-icon">🔍</span>
@@ -263,7 +263,7 @@ WELCOME_HTML = """<!DOCTYPE html>
</div>
<footer>
<p>&copy; 2024 DS2API Project. Designed for flexibility & performance.</p>
<p>&copy; 2026 DS2API Project. Designed for flexibility & performance.</p>
</footer>
</div>
</body>