Reasoning: Add template with <think> without newlines Fixes #4932
| @@ -638,5 +638,9 @@ | ||
| 638 | 638 | { |
| 639 | 639 | "filename": "presets/reasoning/OpenAI Harmony.json", |
| 640 | 640 | "type": "reasoning" |
| 641 | + }, | |
| 642 | + { | |
| 643 | + "filename": "presets/reasoning/Think XML.json", | |
| 644 | + "type": "reasoning" | |
| 641 | 645 | } |
| 642 | 646 | ] |
| @@ -0,0 +1,6 @@ | ||
| 1 | +{ | |
| 2 | + "name": "Think XML", | |
| 3 | + "prefix": "<think>", | |
| 4 | + "suffix": "</think>", | |
| 5 | + "separator": "\n" | |
| 6 | +} | |
| @@ -31,7 +31,7 @@ import { copyText, escapeRegex, isFalseBoolean, isTrueBoolean, setDatasetPropert | ||
| 31 | 31 | */ |
| 32 | 32 | export const reasoning_templates = []; |
| 33 | 33 | |
| 34 | 34 | export const DEFAULT_REASONING_TEMPLATE = 'DeepSeekThink XML'; |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @type {Record<string, JQuery<HTMLElement>>} List of UI elements for reasoning settings |