mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
用户页面增加使用token显示
This commit is contained in:
parent
ae03aa7a23
commit
dd6034de58
@ -1684,8 +1684,8 @@ function getCurrentDayToken(sessions: ChatSession[]): number {
|
|||||||
const dateToCheck = new Date(item1.date);
|
const dateToCheck = new Date(item1.date);
|
||||||
return startOfTheDayInTimeZone < dateToCheck;
|
return startOfTheDayInTimeZone < dateToCheck;
|
||||||
});
|
});
|
||||||
// @ts-ignore
|
|
||||||
const all_current_day_content = current_day_message
|
const all_current_day_content = current_day_message
|
||||||
|
// @ts-ignore
|
||||||
.map((item) => item.content)
|
.map((item) => item.content)
|
||||||
.join(" ");
|
.join(" ");
|
||||||
// 获取会话之后,再整合content,
|
// 获取会话之后,再整合content,
|
||||||
|
Loading…
Reference in New Issue
Block a user