修改最大限制

This commit is contained in:
sijinhui 2024-06-24 18:09:58 +08:00
parent 8fe96dbf0a
commit 007c004a44
2 changed files with 3 additions and 3 deletions

View File

@ -1340,7 +1340,7 @@ function _Chat() {
title={
<span style={{ color: "black" }}>
{localStorage.getItem("current_day_token") ?? 0}{" "}
<span style={{ color: "black" }}>/ 100000</span>
<span style={{ color: "black" }}>/ 200000</span>
</span>
}
color={"var(--second)"}
@ -1350,7 +1350,7 @@ function _Chat() {
<Progress
percent={
(parseInt(localStorage.getItem("current_day_token") ?? "0") /
100000) *
200000) *
100
}
size="small"

View File

@ -519,7 +519,7 @@ export const useChatStore = createPersistStore(
localStorage.getItem("current_day_token") ?? "0",
);
// console.log('---------', current_day_token)
if (current_day_token >= 100000) {
if (current_day_token >= 200000) {
botMessage.content +=
"\n\n" +
prettyObject({