限制 AI 输入长度不超过 1000 字符,超出时提示用户

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
allen2fuc
2026-07-30 14:03:22 +08:00
parent 9037224a32
commit d9c27cdb86
7 changed files with 34 additions and 6 deletions
+1
View File
@@ -601,6 +601,7 @@
"cleared": "已清空当前会话",
"clearFailed": "清空失败:{message}",
"deviceRequired": "请先连接设备",
"inputTooLong": "内容过长,请将输入限制在 {max} 字以内",
"deviceDisconnected": "设备未连接",
"loadHistoryFailed": "加载历史失败:{message}",
"loadChatFailed": "加载会话失败:{message}",