From 1f173ae97b89b38610dd33fde6966c8c2a4a21bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Tetsing?= Date: Thu, 16 May 2024 15:01:37 +0200 Subject: [PATCH] changed backend model to deepseek --- apps/remix-ide/src/app/plugins/solcoderAI.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide/src/app/plugins/solcoderAI.tsx b/apps/remix-ide/src/app/plugins/solcoderAI.tsx index c963699b5c..a4ac821b75 100644 --- a/apps/remix-ide/src/app/plugins/solcoderAI.tsx +++ b/apps/remix-ide/src/app/plugins/solcoderAI.tsx @@ -22,14 +22,14 @@ const profile = { type ChatEntry = [string, string]; enum BackendOPModel{ - DeeSeek, + DeepSeek, CodeLLama, Mistral } const PromptBuilder = (inst, answr, modelop) => { if (modelop === BackendOPModel.CodeLLama) return "\n### INSTRUCTION:\n" + inst + "\n### RESPONSE:\n" + answr - if (modelop === BackendOPModel.DeeSeek) return "" + if (modelop === BackendOPModel.DeepSeek) return "" if (modelop === BackendOPModel.Mistral) return "" } @@ -38,7 +38,7 @@ export class SolCoder extends Plugin { completion_url: string solgpt_chat_history:ChatEntry[] max_history = 7 - model_op = BackendOPModel.CodeLLama + model_op = BackendOPModel.DeepSeek constructor() { super(profile)