changed prompt for chat

pull/4806/head
Stéphane Tetsing 6 months ago
parent 1f173ae97b
commit 15dd500838
  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