r-633
Release Notes
✨ New Features
-
Chat Preset
- Added management functionalities for preset model groups, including creating, editing, cloning, deleting, and applying model groups.
- Support for bulk saving preset model groups via APIs.
- New APIs for managing chat presets: create, retrieve, clone, update, and delete preset model groups.
- Frontend implementation of the preset model selector and configuration interface, allowing users to adjust parameters based on their needs.
-
Azure File Migrator
- Introduced the
AzureFileMigrator
tool for migrating files from Azure Blob Storage to other services (e.g., Minio). - Supports file download, upload, and removal from the previous storage.
- Introduced the
-
Usage Tracking
- Added APIs for querying user or API key usage records, including token consumption and network data metrics.
🔧 Improvements
-
UI Enhancements
- Improved display and logic for model icons and UI.
- Adjusted styles in
globals.css
, enhancing scrollbar and layout design. - Redesigned homepage chat module with better preset model management functionalities.
- Integrated Radix Toast library for convenient and action-driven notifications.
- Dynamic layout adjustments, making the chat sidebar hidden by default on mobile devices.
-
Security Updates
- Shortened JWT token length for efficiency while strengthening encryption.
- Added backend encryption and decryption support for user IDs to enhance data security.
-
System Configuration Updates
- Adjusted website info configuration by enabling customized homepage display for company information and alert messages.
- Default admin account (
chats/RESET!!!
) is prominently displayed to remind users to update the password immediately.
-
Support for More AI Models
- Extended support for additional models, including
gpt-4.5-preview
,qwen2.5-omni
,DeepSeek-V3(0324)
, andErnie-4.5
.
- Extended support for additional models, including
-
OpenRouter Integration Enhancements
- Added
HTTP-Referer
andX-Title
headers to OpenRouter requests. - Display OpenRouter-related information on the usage page.
- Added
🐞 Bug Fixes
- Fixed the 500 error occurring when applying chat presets.
- Resolved an issue where dynamic variables in prompts weren't applied properly.
- Fixed incorrect data type handling in PostgreSQL databases.
- Corrected the error preventing saving of the "Enabled" field in chat presets.
🗄️ Database Changes
- New Tables:
- ChatPreset: For storing user-created preset model group configurations.
- ChatPresetSpan: Details of specific models and configurations within preset groups.
- Data Type Adjustments:
- Changed
SnapshotTime
andCreatedAt
fields inChatShare
toDATETIME2
.
- Changed
- Added model support entries in the database for
gpt-4.5-preview
,qwen2.5-omni
,DeepSeek-V3
, and others.
⚠️ Important Notes
- Default admin account is displayed as
chats/RESET!!!
: Please update the default admin password immediately to ensure system security. - The chat preset functionality allows users to effortlessly configure multiple models and apply them to chats, significantly optimizing user experience.
This release includes many significant updates and optimizations. 🚀 Upgrade now for powerful new features and improved user experience. 😊
DB Migration Script:
- SQL Server: https://github.com/sdcb/chats/blob/be51af667a03394637294d07e8f2a9d6094868c6/src/scripts/db-migration/2025/20250319-chat-preset.sql
- SQLite(generated by LLM, not tested): https://gist.github.com/sdcb/5b10d85543c0e99cce854ab170c2905e
Docker
Description | Docker Image |
---|---|
r633 | docker.io/sdcb/chats:r633 |
Linux x64 | docker.io/sdcb/chats:r633-linux-x64 |
Linux ARM64 | docker.io/sdcb/chats:r633-linux-arm64 |
Windows Nano Server 1809 | docker.io/sdcb/chats:r633-nanoserver-1809 |
Windows Nano Server LTSC 2022 | docker.io/sdcb/chats:r633-nanoserver-ltsc2022 |
Windows Nano Server LTSC 2025 | docker.io/sdcb/chats:r633-nanoserver-ltsc2025 |
Latest | docker.io/sdcb/chats:latest |
Alternative binaries download links that may faster than GitHub(for China users)
Artifact | Download Link |
---|---|
chats-win-x64.zip | https://io.starworks.cc:88/chats/r633/chats-win-x64.zip |
chats-linux-x64.zip | https://io.starworks.cc:88/chats/r633/chats-linux-x64.zip |
chats-linux-arm64.zip | https://io.starworks.cc:88/chats/r633/chats-linux-arm64.zip |
chats-linux-musl-x64.zip | https://io.starworks.cc:88/chats/r633/chats-linux-musl-x64.zip |
chats-linux-musl-arm64.zip | https://io.starworks.cc:88/chats/r633/chats-linux-musl-arm64.zip |
chats-osx-arm64.zip | https://io.starworks.cc:88/chats/r633/chats-osx-arm64.zip |
chats-osx-x64.zip | https://io.starworks.cc:88/chats/r633/chats-osx-x64.zip |
chats-fe.zip | https://io.starworks.cc:88/chats/r633/chats-fe.zip |
chats.zip | https://io.starworks.cc:88/chats/r633/chats.zip |
be-src.zip | https://io.starworks.cc:88/chats/r633/be-src.zip |
NOTE:
Replace r633
with latest
in the download link to get the latest version, for example: https://io.starworks.cc:88/chats/latest/chats-win-x64.zip
Full Changelogs
Commits between r-596
and be51af667a03394637294d07e8f2a9d6094868c6
:
- Merge pull request #81 from sdcb/dev
- only build platform related in dev
- consolidate non-release build
- correct siteInfo
- better customized line 2 text
- show default username/password in home page
- add DB Migration script for ChatShare
- complete azure file migrator
- Merge pull request #80 from HoboCY/fix/pg-error
- fix pgsql data type error
- update readme model providers
- show file provider name instead of id
- don't throw when latest version failed
- add prompt before migrate
- Merge branch 'feature/chat-preset' of https://github.com/sdcb/chats into feature/chat-preset
- add AzureFileMigrator, FileService support delete
- Merge branch 'feature/chat-preset' of private:sdcb/chats into feature/chat-preset
- fix ui
- fix a issue causing concurrent chat failed
- merged code
- Shorten jwt token
- ListChatPreset in asc order
- CreateChatPreset must provide all info
- add volengine deepseek-v3(0324)
- incremental apply ChatPreset, add ERINE-4.5
- preset model ok
- Merge branch 'feature/chat-preset' of https://github.com/sdcb/chats into feature/chat-preset
- fix 500 in ApplyPreset
- add qwen2.5-omni
- add gpt-4.5-preview
- Include refer url in openrouter usage page.
- fix the Enabled field can't saved in ChatPreset
- Merge branch 'feature/chat-preset' of private:sdcb/chats into feature/chat-preset
- add chat preset list
- fix the issue causing can't create duplicated ChatPreset model
- list user apiKey id
- Merge branch 'feature/chat-preset' of https://github.com/sdcb/chats into feature/chat-preset
- add UsageController
- add chat preset modal
- Merge branch 'feature/chat-preset' of private:sdcb/chats into feature/chat-preset
- add chat preset modal
- add chat preset modal
- change UpdateChatPresetName into patch
- add bulk save api for chat preset
- Merge branch 'feature/chat-preset' of https://github.com/sdcb/chats into feature/chat-preset
- reduce length of api key
- archive message if not admin
- complete chatpreset BE
- Merge branch 'feature/chat-preset' of private:sdcb/chats into feature/chat-preset
- fix model icon display issues
- Merge branch 'dev' into feature/chat-preset
- Update 20250305-openrouter.sql
- chat preset initial commit