feat: enhance AI functionality with conversation management and cancellation

This commit is contained in:
t8y2
2026-05-02 03:05:02 +08:00
parent 85af211089
commit 3f71cd6dfa
9 changed files with 483 additions and 84 deletions
+7
View File
@@ -164,6 +164,13 @@ export default {
copied: "Copied",
replace: "Replace Editor",
append: "Append to Editor",
apply: "Apply to Editor",
clear: "Clear Chat",
welcome: "Tell me what you'd like to query, and I'll write the SQL",
newChat: "New Chat",
thinking: "Thinking...",
stopGenerating: "Stop generating",
fixWithAi: "Fix with AI",
truncated: "Context truncated",
contextSummary: "{database} · {tables} tables",
settingsHint: "The config is stored in the local app data directory. Requests are sent by the Tauri backend instead of directly from the frontend.",
+2
View File
@@ -169,6 +169,8 @@ export default {
welcome: "聊聊你想查什么,我来写 SQL",
newChat: "新对话",
thinking: "思考中...",
stopGenerating: "停止生成",
fixWithAi: "用 AI 修复",
truncated: "上下文已截断",
contextSummary: "{database} · {tables} 张表",
settingsHint: "配置会保存在本机应用数据目录中。请求由 Tauri 后端发出,避免在前端直接暴露给模型服务。",