Add 'copyWithoutThinking' setting to configuration

Added a new setting to control copying behavior of assistant messages.
This commit is contained in:
rankaiyx 2026-03-08 21:58:20 +08:00 committed by GitHub
parent 863d62eb1f
commit 7db21e0159
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ export const SETTING_CONFIG_DEFAULT: Record<string, string | number | boolean> =
askForTitleConfirmation: false,
pasteLongTextToFileLen: 2500,
copyTextAttachmentsAsPlainText: false,
copyWithoutThinking: false,
pdfAsImage: false,
disableAutoScroll: false,
renderUserContentAsMarkdown: false,
@ -67,6 +68,8 @@ export const SETTING_CONFIG_INFO: Record<string, string> = {
'On pasting long text, it will be converted to a file. You can control the file length by setting the value of this parameter. Value 0 means disable.',
copyTextAttachmentsAsPlainText:
'When copying a message with text attachments, combine them into a single plain text string instead of a special format that can be pasted back as attachments.',
copyWithoutThinking:
'When copying an assistant message, strip the thinking/reasoning block and only copy the final response.',
samplers:
'The order at which samplers are applied, in simplified way. Default is "top_k;typ_p;top_p;min_p;temperature": top_k->typ_p->top_p->min_p->temperature',
backend_sampling: