diff --git a/src/models/prompter.js b/src/models/prompter.js index f130fe2..9b7d29e 100644 --- a/src/models/prompter.js +++ b/src/models/prompter.js @@ -145,10 +145,8 @@ export class Prompter { profile.api = 'xai'; else if (profile.model.includes('deepseek')) profile.api = 'deepseek'; - else if (profile.model.includes('llama3')) - profile.api = 'ollama'; - else - throw new Error('Unknown model:', profile.model); + else + profile.api = 'ollama'; // Fixed here to make it so if the model does not meet this criteria, it is an Ollama model, instead of blocking all models but llama3, which was an odd choice. } return profile; } @@ -379,4 +377,4 @@ export class Prompter { goal.quantity = parseInt(goal.quantity); return goal; } -} \ No newline at end of file +}