This commit is contained in:
2023-10-25 11:34:02 +08:00
parent 717c76f4dd
commit 2e8e8e008c
7 changed files with 254 additions and 71 deletions

View File

@@ -5,6 +5,7 @@ import { calculate_token_length, Message } from "./chatgpt";
import getDefaultParams from "./getDefaultParam";
import ChatBOX from "./chatbox";
import models from "./models";
import { Tr, langCodeContext, LANG_OPTIONS } from "./translate";
import CHATGPT_API_WEB_VERSION from "./CHATGPT_API_WEB_VERSION";
@@ -245,7 +246,7 @@ export function App() {
className="bg-violet-300 p-1 rounded hover:bg-violet-400"
onClick={handleNewChatStore}
>
NEW
{Tr("NEW")}
</button>
<ul>
{allChatStoreIndexes
@@ -303,7 +304,7 @@ export function App() {
setAllChatStoreIndexes([...newAllChatStoreIndexes]);
}}
>
DEL
{Tr("DEL")}
</button>
</div>
<ChatBOX