GeekAI-PLUS-v4.2.4 has two major updates: one is using SSE to send messages, replacing the original Websocket messaging solution, and the other is using Vite to replace Vue-CLI for building frontend applications, improving build speed and compatibility. The code changes are significant, but the functional changes are minor, mainly focusing on refactoring for a better user experience, such as simplifying the logic for uploading files and images in conversations.
Updates
- Feature Optimization: Changed frontend build technology to Vite, improving build speed and compatibility.
- Feature Optimization: Replaced Websocket messaging with SSE for sending messages.
- New Feature: Admin backend now supports setting default nicknames.
- Feature Optimization: Added support for Suno v4.5 model.
- New Feature: User registration and login now include user agreement and privacy policy features, requiring users to agree to the terms before registering or logging in.
- Feature Optimization: Modified the "re-answer" functionality to allow editing withdrawn content, which does not add extra context.
- Feature Optimization: Optimized the storage structure of chat history by adding a model name field to support longer model names.
- Bug Fix: Fixed an issue where the chat application would still poll the API KEY after binding a model, causing intermittent failures.
- Feature Optimization: If the admin backend does not enable the membership recharge menu, the mobile app will also hide the recharge package feature.
Update Image Versions
Edit the docker-compose.yaml file to update the geekai-api and geekai-web image versions to v4.2.4.
# Backend API Program
geekai-api:
image: registry.cn-shenzhen.aliyuncs.com/geekmaster/geekai-plus-api:v4.2.4-amd64
container_name: geekai-api
restart: always
ports:
- '5678:5678'
- '6012:6012'
volumes:
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime
- ./conf/config.toml:/var/www/app/config.toml
- ./logs:/var/www/app/logs
- ./static:/var/www/app/static
- ./res/sd:/var/www/app/res/sd
- ./certs:/var/www/app/certs
- ./data:/var/www/app/data
environment:
- APP_DEBUG=false
- LOG_LEVEL=info
- CONFIG_FILE=config.toml
# Frontend Application
geekai-web:
image: registry.cn-shenzhen.aliyuncs.com/geekmaster/geekai-plus-web:v4.2.4-amd64
container_name: geekai-web
restart: always
ports:
- '9004:8080'
volumes:
- ./logs/nginx:/var/log/nginx
- ./conf/nginx/conf.d:/etc/nginx/conf.d
- ./conf/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./ssl:/etc/nginx/ssl
Restart Containers
docker-compose down
docker-compose up -d
Feature Configuration
No special configuration is required for this upgrade; it can be used directly. The UI changes are minimal, with most updates focusing on backend and frontend code logic optimizations and refactoring.