Skip to content

Commit

Permalink
feat: fix gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
willy-dunamu committed Sep 4, 2024
1 parent b7b307b commit e843aa3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,9 @@ export const constructPromptsArray = (
return languageToInstructionPrompt + JSON.stringify(payload);
});

return prompts;
const answerLanguage = process.env.LANGUAGE
? `Answer me in ${process.env.LANGUAGE},`
: '';

return [...prompts, answerLanguage];
};

0 comments on commit e843aa3

Please sign in to comment.