mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
修改最大限制
This commit is contained in:
parent
8fe96dbf0a
commit
007c004a44
@ -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"
|
||||
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user