Releases: leisvip/Chat2API
Releases · leisvip/Chat2API
1.4.0
Chat2API v1.4.0
🚀 New Features
DeepSeek V4 Pro / V4 Flash Support
- Added
deepseek-v4-proanddeepseek-v4-flashmodel families - Support for Think, Search, and Think+Search variants
- Legacy
deepseek-chatanddeepseek-reasonermodel names preserved - Auto-detect
promodel type from model name
Kimi K2.6 Upgrade
- Added
Kimi-K2.6model support - Updated auth help text: recommend browser Cookie
kimi-authfield - Backward compatible with K2.5
Multi-Turn Conversation Session Reuse
- Sessions now carry provider-side IDs (
providerSessionId,parentMessageId) - DeepSeek, Kimi, Qwen, Z.ai adapters support session continuation
- History hash-based session matching for stable conversation identity
- Full conversation context preserved via
messagesToPromptutility
Account Weight-Based Load Balancing
- Weighted random selection at account level within round-robin strategy
- Per-account weight configuration (0-100, default 100)
- Weights saved to backend config and restored on load
Settings Draft Mode
- Appearance, General, and Data settings now use draft mode
- Edit multiple settings before clicking Save
- Visual feedback on save success/failure
🐛 Bug Fixes
Qwen AI Silent Content Drop
- Fixed content from non-standard phases being silently dropped
- Thinking mode now defaults to enabled (
enable_thinking !== false) auto_thinkingalways set totruefor better reasoning
Qwen Context Loss
- Multi-turn conversation history converted to single prompt via
messagesToPrompt - Full context preserved across requests without relying on provider session state
Credential Encryption Toggle
credentialEncryptionconfig field now properly wired to backendsetCredentialEncryptionpersists to backend config- Encryption disabled returns plaintext when toggle is off
Data.json Performance
- Logs migrated to separate
logs-data.jsonstore - LogManager uses buffered writes with 2s flush interval
- IPC handlers route log reads/writes to dedicated logs store
- Dashboard no longer calls
checkAllStatuson every load (reduces API calls)
📦 Other Changes
tsconfig.node.jsonno longer includessrc/shared/**/*.tsin main process compilation- New test suites: session-manager (27 tests), log-buffering (5 tests)
- Z.ai chat ID caching for account-level reuse
📥 Downloads
| Platform | File |
|---|---|
| macOS (Apple Silicon) | Chat2API-1.4.0-mac-arm64.dmg |
| macOS (Intel) | Chat2API-1.4.0-mac-x64.dmg |
| Windows | Chat2API-1.4.0-x64-setup.exe |
| Linux (AppImage) | Chat2API-1.4.0-x86_64.AppImage |
| Linux (deb) | Chat2API-1.4.0-amd64.deb |