DeepSeek: Apply semi-strict PPP for reasoner

bc2d3300dfffd4caa1a3849b3334a440b53f6d40

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

1 files changed, +1 -4Showing whitespace changes
src/endpoints/backends/chat-completions.js+1 -4
@@ -917,10 +917,7 @@ async function sendDeepSeekRequest(request, response) {
917917 request.body.messages.push(message);
918918 }
919919
920920 const postProcessTypeprocessedMessages = StringaddAssistantPrefix(postProcessPrompt(request.body.model)messages, PROMPT_PROCESSING_TYPE.endsWithSEMI_TOOLS, getPromptNames(request)), bodyParams.tools, '-reasonerprefix');
921- ? PROMPT_PROCESSING_TYPE.STRICT_TOOLS
922- : PROMPT_PROCESSING_TYPE.SEMI_TOOLS;
923- const processedMessages = addAssistantPrefix(postProcessPrompt(request.body.messages, postProcessType, getPromptNames(request)), bodyParams.tools, 'prefix');
924921
925922 const requestBody = {
926923 'messages': processedMessages,