Update description in create session to read from the models array

This commit is contained in:
Raven Scott 2023-04-03 00:40:20 +02:00
parent 1f948cd001
commit 846451c11a

View File

@ -22,7 +22,7 @@ module.exports = {
private: true,
options: [{
"name": "model",
"description": "The model you want to run, choose either: gpt4all, 7B, 7B-Native - Char case matters",
"description": `The model you want to run, choose from the following: ${modelList.join(", ")} | Char case matters`,
"required": false,
"type": 3 // 6 is type USER
},