From 706acbd514ca198cbd3c2d06dfaddef7ef33a765 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 11 Jan 2024 15:59:00 +0200 Subject: [PATCH] MistralAI monkey patch --- src/endpoints/backends/chat-completions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoints/backends/chat-completions.js b/src/endpoints/backends/chat-completions.js index b1bde2149..247f16612 100644 --- a/src/endpoints/backends/chat-completions.js +++ b/src/endpoints/backends/chat-completions.js @@ -483,7 +483,7 @@ async function sendMistralAIRequest(request, response) { 'top_p': request.body.top_p, 'max_tokens': request.body.max_tokens, 'stream': request.body.stream, - 'safe_mode': request.body.safe_mode, + //'safe_mode': request.body.safe_mode, 'random_seed': request.body.seed === -1 ? undefined : request.body.seed, };