From 3b09abaf668f5ef471dfb9e376f214c1bb4a0212 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Fri, 31 Mar 2023 05:00:52 +0800 Subject: [PATCH] header --- src/chatbox.tsx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/chatbox.tsx b/src/chatbox.tsx index 585b9a0..2fbf77d 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -243,14 +243,23 @@ export default function ChatBOX(props: {
- Tokens: {chatStore.totalTokens} / {chatStore.maxTokens} + Tokens:{" "} + + {chatStore.totalTokens}/{chatStore.maxTokens} + {" "} - {chatStore.model}{" "} + {chatStore.model}{" "} - Msg: {chatStore.history.filter(({ hide }) => !hide).length} + Cut:{" "} + + {chatStore.postBeginIndex}/ + {chatStore.history.filter(({ hide }) => !hide).length} + {" "} {" "} - Cut: {chatStore.postBeginIndex}{" "} - ${chatStore.cost.toFixed(4)} + + Cost:{" "} + ${chatStore.cost.toFixed(4)} +