feat: #2 trying to add stop response button

This commit is contained in:
Yifei Zhang
2023-03-23 17:42:38 +00:00
parent 99b88f36fd
commit 806e7b09c1
4 changed files with 75 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
const cn = {
WIP: "该功能仍在开发中……",
ChatItem: {
ChatItemCount: (count: number) => `${count} 条对话`,
},
@@ -8,6 +9,8 @@ const cn = {
ChatList: "查看消息列表",
CompressedHistory: "查看压缩后的历史 Prompt",
Export: "导出聊天记录",
Copy: "复制",
Stop: "停止",
},
Typing: "正在输入…",
Input: (submitKey: string) => `输入消息,${submitKey} 发送`,

View File

@@ -1,6 +1,7 @@
import type { LocaleType } from "./index";
const en: LocaleType = {
WIP: "WIP...",
ChatItem: {
ChatItemCount: (count: number) => `${count} messages`,
},
@@ -10,6 +11,8 @@ const en: LocaleType = {
ChatList: "Go To Chat List",
CompressedHistory: "Compressed History Memory Prompt",
Export: "Export All Messages as Markdown",
Copy: "Copy",
Stop: "Stop",
},
Typing: "Typing…",
Input: (submitKey: string) =>