clear history reset postBeginIndex totalTokens
This commit is contained in:
@@ -172,6 +172,8 @@ export default (props: {
|
||||
)
|
||||
return;
|
||||
props.chatStore.history = [];
|
||||
props.chatStore.postBeginIndex = 0;
|
||||
props.chatStore.totalTokens = 0;
|
||||
props.setChatStore({ ...props.chatStore });
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user