perf: 优化 AI 设置

This commit is contained in:
kuaifan
2025-02-26 20:05:28 +08:00
parent ff41f5c041
commit b01d5ce8c4
7 changed files with 30 additions and 11 deletions

View File

@@ -3090,7 +3090,7 @@ class DialogController extends AbstractController
]
)) {
WebSocketDialogMsg::sendMsg(null, $dialog_id, 'notice', [
'notice' => $value ? ("修改提示词:" . $value) : "取消提示词",
'notice' => $value ? ("修改提示词:" . Base::cutStr($value, 100)) : "取消提示词",
], User::userid(), true, true);
}