changed prompt for chat

pull/5370/head
Stéphane Tetsing 6 months ago
parent e900a60917
commit 35788e4aff
  1. 4
      apps/remix-ide/src/app/plugins/solcoderAI.tsx

@ -28,8 +28,8 @@ enum BackendOPModel{
}
const PromptBuilder = (inst, answr, modelop) => {
if (modelop === BackendOPModel.CodeLLama) return "\n### INSTRUCTION:\n" + inst + "\n### RESPONSE:\n" + answr
if (modelop === BackendOPModel.DeepSeek) return ""
if (modelop === BackendOPModel.CodeLLama) return ""
if (modelop === BackendOPModel.DeepSeek) return "\n### INSTRUCTION:\n" + inst + "\n### RESPONSE:\n" + answr
if (modelop === BackendOPModel.Mistral) return ""
}

Loading…
Cancel
Save