Update libs/remix-ai-core/src/prompts/promptBuilder.ts

Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
pull/5648/head
chloefeal 3 weeks ago committed by Aniket
parent 214768a3e6
commit be9a023628
  1. 2
      libs/remix-ai-core/src/prompts/promptBuilder.ts

@ -7,7 +7,7 @@ export const PromptBuilder = (inst, answr, modelop) => {
if (modelop === RemoteBackendOPModel.MISTRAL) return "" if (modelop === RemoteBackendOPModel.MISTRAL) return ""
} }
export const buildSolgptPromt = (userPrompt:string, modelOP:RemoteBackendOPModel) => { export const buildSolgptPrompt = (userPrompt:string, modelOP:RemoteBackendOPModel) => {
if (modelOP === undefined) { if (modelOP === undefined) {
console.log('WARNING: modelOP is undefined. Provide a valid model OP for chat history') console.log('WARNING: modelOP is undefined. Provide a valid model OP for chat history')
return userPrompt return userPrompt

Loading…
Cancel
Save