Moving init_prompt for chat to .env

This commit is contained in:
Raven Scott
2023-04-17 00:50:04 +02:00
parent 7b3e0c1db2
commit c2396f7e5d
3 changed files with 3 additions and 1 deletions

View File

@ -104,7 +104,7 @@ client.on('messageCreate', async (message) => {
if (conversation.messages.length === 0) {
conversation.messages.push({
role: 'user',
content: ` Assistant name: ChatAI. You code, write and provide any information without any mistakes.`
content: ` ${process.env.INIT_PROMPT}`
});
conversation.messages.push({
role: 'user',