[skip ci] Update version to v1.5.31

This commit is contained in:
Gitea Actions Bot
2025-10-15 16:52:52 +08:00
parent 737737a6c1
commit e2ab13d599
2 changed files with 150 additions and 134 deletions

View File

@@ -9,7 +9,7 @@ import json # 用于将令牌保存为 JSON 格式
# 后端服务器配置 # 后端服务器配置
# BACKEND_HOST = "192.168.5.233" # BACKEND_HOST = "192.168.5.233"
BACKEND_HOST = "192.168.5.12" BACKEND_HOST = "192.168.5.106"
# BACKEND_HOST = "shuidrop.com" # BACKEND_HOST = "shuidrop.com"
# BACKEND_HOST = "test.shuidrop.com" # BACKEND_HOST = "test.shuidrop.com"
BACKEND_PORT = "8000" BACKEND_PORT = "8000"
@@ -19,15 +19,15 @@ BACKEND_WS_URL = f"ws://{BACKEND_HOST}:{BACKEND_PORT}"
# WebSocket配置 # WebSocket配置
WS_CONNECT_TIMEOUT = 16.0 WS_CONNECT_TIMEOUT = 16.0
WS_MESSAGE_TIMEOUT = 60.0 # 增加消息超时适应AI处理时间 WS_MESSAGE_TIMEOUT = 30.0
WS_PING_INTERVAL = 20 # 20秒ping间隔避免AI处理期间频繁心跳 WS_PING_INTERVAL = 10 # 10秒ping间隔提高检测频率
WS_PING_TIMEOUT = 10 # 10秒ping超时给予更多响应时间 WS_PING_TIMEOUT = 5 # 5秒ping超时更快检测断线
WS_ENABLE_PING = True # 是否启用WebSocket原生ping心跳 WS_ENABLE_PING = True # 是否启用WebSocket原生ping心跳
WS_ENABLE_APP_PING = False # 禁用应用层ping心跳避免重复 WS_ENABLE_APP_PING = False # 禁用应用层ping心跳避免重复
# AI处理超时配置 # AI处理超时配置
AI_PROCESS_TIMEOUT = 45 # AI处理超时时间- 增加以适应复杂查询 AI_PROCESS_TIMEOUT = 30 # AI处理超时时间
AI_LONG_PROCESS_THRESHOLD = 15 # AI长时间处理阈值 AI_LONG_PROCESS_THRESHOLD = 10 # AI长时间处理阈值
# 内存管理配置 # 内存管理配置
MAX_PENDING_REPLIES = 100 MAX_PENDING_REPLIES = 100
@@ -42,7 +42,7 @@ VERSION = "1.0"
WINDOW_TITLE = "AI回复连接入口-V1.0" WINDOW_TITLE = "AI回复连接入口-V1.0"
# 应用版本号(用于版本检查) # 应用版本号(用于版本检查)
APP_VERSION = "1.5.30" APP_VERSION = "1.5.31"
# 平台特定配置 # 平台特定配置
PLATFORMS = { PLATFORMS = {

View File

@@ -1,4 +1,20 @@
[ [
{
"version": "1.5.31",
"update_type": "patch",
"content": "[skip ci] Update version to v1.5.30",
"author": "Gitea Actions Bot",
"commit_hash": "e15c1db49b2feb7aee650de5d23681bd9842ede8",
"commit_short_hash": "e15c1db4",
"branch": "develop",
"release_time": "2025-10-15 16:27:08",
"download_url": "https://shuidrop-chat-server.ks3-cn-guangzhou.ksyuncs.com/installers/ShuiDi_AI_Assistant_Setup_v1.5.31.exe",
"stats": {
"files_changed": 2,
"lines_added": 17,
"lines_deleted": 1
}
},
{ {
"version": "1.5.30", "version": "1.5.30",
"update_type": "patch", "update_type": "patch",