diff --git a/settings.js b/settings.js index c226658..681ff0c 100644 --- a/settings.js +++ b/settings.js @@ -37,7 +37,7 @@ export default "allow_insecure_coding": false, // allows newAction command and model can write/run code on your computer. enable at own risk "blocked_actions" : [], // commands to disable and remove from docs. Ex: ["!setMode"] "code_timeout_mins": -1, // minutes code is allowed to run. -1 for no timeout - "relevant_docs_count": 5, // Parameter: -1 = all, 0 = no references, 5 = five references. If exceeding the maximum, all reference documents are returned. + "relevant_docs_count": 5, // number of relevant code function docs to select for prompting. -1 for all "max_messages": 15, // max number of messages to keep in context "num_examples": 2, // number of examples to give to the model diff --git a/src/models/prompter.js b/src/models/prompter.js index dd7231b..5d9e3de 100644 --- a/src/models/prompter.js +++ b/src/models/prompter.js @@ -154,7 +154,7 @@ export class Prompter { else if (profile.model.includes('mistral')) profile.api = 'mistral'; else - throw new Error('Unknown model:', profile.model, 'Did you check the name is correct?'); // Asks the user if the name is correct + throw new Error('Unknown model:', profile.model); } return profile; }