Reasoning: Add template with <think> without newlines Fixes #4932

b2c320dc0b6f98140b00cf3a9ada9fb3bebce5a1

Cohee <18619528+Cohee1207@users.noreply.github.com>

3 files changed, +11 -1Showing whitespace changes
default/content/index.json+4 -0
@@ -638,5 +638,9 @@
638 {638 {
639 "filename": "presets/reasoning/OpenAI Harmony.json",639 "filename": "presets/reasoning/OpenAI Harmony.json",
640 "type": "reasoning"640 "type": "reasoning"
641 },
642 {
643 "filename": "presets/reasoning/Think XML.json",
644 "type": "reasoning"
641 }645 }
642]646]
default/content/presets/reasoning/Think XML.json+6 -0
@@ -0,0 +1,6 @@
1{
2 "name": "Think XML",
3 "prefix": "<think>",
4 "suffix": "</think>",
5 "separator": "\n"
6}
public/scripts/reasoning.js+1 -1
@@ -31,7 +31,7 @@ import { copyText, escapeRegex, isFalseBoolean, isTrueBoolean, setDatasetPropert
31 */31 */
32export const reasoning_templates = [];32export const reasoning_templates = [];
3333
34export const DEFAULT_REASONING_TEMPLATE = 'DeepSeek';34export const DEFAULT_REASONING_TEMPLATE = 'Think XML';
3535
36/**36/**
37 * @type {Record<string, JQuery<HTMLElement>>} List of UI elements for reasoning settings37 * @type {Record<string, JQuery<HTMLElement>>} List of UI elements for reasoning settings