GeekAI v4.1.6 has been released with major features, including OpenAI's real-time voice chat functionality and backend management for AI drawing tasks.
Update Content
- New Feature: Support for OpenAI real-time voice chat 🚀 🚀 🚀, Beta version, currently no computational cost control, only available for VIP users.
- Optimization: Improved MySQL container configuration documentation to resolve high resource usage issues.
- New Feature: Added AI drawing task management in the admin panel, allowing browsing and deletion of user drawing tasks.
- New Feature: Added Suno and Luma task management functionality in the admin panel.
- Bug Fix: Fixed 404 error when deleting redemption codes in the admin panel.
- Optimization: Improved recharge product pricing logic, allowing setting of original and discounted prices. After upgrading to this version, be sure to reset product prices in the admin panel to avoid losses!!! (Repeated for emphasis).
- Optimization: Added pagination support for the user file list component.
1. Update Database Structure
Considering some users have fine-tuned their models on OpenAI, resulting in overly long model names that cause failures when adding models, you need to modify the corresponding field length.
ALTER TABLE `chatgpt_chat_models` CHANGE `value` `value` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'Model value';
2. Upgrade Image Version
Edit docker-compose.yaml to update the image versions for geekai-api and geekai-web.
# Backend API
geekai-api:
image: registry.cn-shenzhen.aliyuncs.com/geekmaster/geekai-plus-api:v4.1.6-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.1.6-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
3. Add API KEY
Add real-time voice API KEY. Currently, only the API from https://api.aiggr.com supports the realtime API. Go to the relay station Create a relay token.
Then log in to the GeekAI admin panel, select the "API KEY" menu, click the "Add" button, choose "Realtime API" as the type, and fill in the Websocket connection address for the API URL.
4. Optimize MySQL Container
If your server configuration is low (e.g., 1C1G) and the MySQL container consumes high resources, you can add the following configuration to the MySQL configuration file (conf/mysql/my.cnf):
performance_schema_max_table_instances=400
# Set cache
table_definition_cache=400
table_open_cache=64
innodb_buffer_pool_chunk_size=64M
innodb_buffer_pool_size=64M
# Disable performance monitoring
performance_schema=off
5. Management Features
This iteration includes highly requested management features for drawing, music, and video tasks.
Drawing Task List:
Audio/Video Task Management:
6. Recharge Product Updates
We have optimized the pricing logic for user recharges, allowing setting of original and discounted prices. The price users pay now reflects the previously set discount amount. After upgrading to this version, be sure to reset product prices in the admin panel to avoid losses!!!