Disable thinking in the chat template.
This commit is contained in:
parent
b4db7fd2a7
commit
98302de620
|
|
@ -423,6 +423,7 @@ export namespace Huggingface {
|
||||||
applyTemplate(templateString, {
|
applyTemplate(templateString, {
|
||||||
messages,
|
messages,
|
||||||
add_generation_prompt: true,
|
add_generation_prompt: true,
|
||||||
|
enable_thinking: false,
|
||||||
tools: functions?.map(convertFunctionToTool),
|
tools: functions?.map(convertFunctionToTool),
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue