Commit Graph

12 Commits

Author SHA1 Message Date
CJACK
5ac472626e feat: Implement DeepSeek account validation, testing, and queue status monitoring with corresponding admin API endpoints. 2026-02-01 03:10:26 +08:00
CJACK
bc260899c1 feat: Initialize project with FastAPI backend, React web UI, Vercel sync, and API integrations. 2026-02-01 02:17:01 +08:00
CJACK.
fc7de77151 Merge pull request #3 from CJackHwang/revert-2-cto-task-app-py-1985-ds2api-app-py-fastapi-100-config-py-50-models-sc
Revert "模块化重构 ds2api:拆分 app.py 为多模块并引入 PoW 缓存与连接复用"
2026-01-25 03:38:18 +08:00
CJACK.
e3dfd0e551 Revert "模块化重构 ds2api:拆分 app.py 为多模块并引入 PoW 缓存与连接复用" 2026-01-25 03:37:52 +08:00
CJACK.
9f51d526fd Merge pull request #2 from CJackHwang/cto-task-app-py-1985-ds2api-app-py-fastapi-100-config-py-50-models-sc
模块化重构 ds2api:拆分 app.py 为多模块并引入 PoW 缓存与连接复用
2026-01-25 03:05:58 +08:00
cto-new[bot]
8d84f556fe refactor(ds2api): modularize app into a package structure and extract concerns into core/services/utils/models; drop heavy tokenizer usage, add scaffolding for PoW caching and async solving, and enable HTTP connection pooling
This change reorganizes the codebase for better maintainability and performance while preserving API surface.
- Create ds2api package with modules: core, services, utils, models
- Migrate config, logging, auth, DeepSeek, PoW, and message processing into dedicated modules
- Introduce PoW caching (60s TTL) and async/parallel support (scalability for multiple requests)
- Replace direct curl calls with a pool-enabled HTTP client setup and WASM-based PoW engine
- Add in-memory token/account management scaffolding and improved token estimation
- Optimize streaming paths and prepare for better backpressure and concurrency
- Remove transformers/tokenizer usage and keep a simple token length estimator

Non-breaking migration: keep API endpoints intact; new structure under ds2api is transparent to clients
2026-01-24 17:17:59 +00:00
CJACK.
266c050faa Delete CHANGELOG.md 2026-01-24 03:09:11 +08:00
CJACK.
181d7f93c6 Merge pull request #1 from CJackHwang/cto-task-1-vercel-docker-docker-compose-2-bug3-readme-vercel-dockerfi
Refactor: unify deployment to Vercel; remove Docker/local deployment files; fix path/config loading
2026-01-24 02:54:07 +08:00
cto-new[bot]
af9be25f20 refactor(deploy-vercel): streamline deployment to Vercel, remove Docker/local deployment files, and harden path handling 2026-01-23 18:47:39 +00:00
CJACK.
affd9b2da9 Update config.json 2026-01-21 23:53:11 +08:00
CJACK.
2fe86da50b Create config.json 2026-01-21 23:26:34 +08:00
CJackHwang
ea4de62fc3 Initial commit
Created from https://vercel.com/new
2026-01-21 15:14:49 +00:00