feat: close #2954 chat summary should be copyable

This commit is contained in:
Yidadaa 2023-11-09 01:51:33 +08:00
parent 47154773f2
commit 8c0ba1aee2
2 changed files with 5 additions and 0 deletions

View File

@ -143,6 +143,7 @@ export function SessionConfigModel(props: { onClose: () => void }) {
extraListItems={
session.mask.modelConfig.sendMemory ? (
<ListItem
className="copyable"
title={`${Locale.Memory.Title} (${session.lastSummarizeIndex} of ${session.messages.length})`}
subTitle={session.memoryPrompt || Locale.Memory.EmptyContent}
></ListItem>

View File

@ -357,3 +357,7 @@ pre {
overflow: hidden;
text-overflow: ellipsis;
}
.copyable {
user-select: text;
}