From b3ee159b431003d9c3dcfc1388f0e43c97008a6e Mon Sep 17 00:00:00 2001 From: Sweaterdog Date: Wed, 5 Mar 2025 14:40:42 -0800 Subject: [PATCH] Update prompter.js Fixed minor issues --- src/models/prompter.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/models/prompter.js b/src/models/prompter.js index b25f2d4..e9148b2 100644 --- a/src/models/prompter.js +++ b/src/models/prompter.js @@ -41,7 +41,6 @@ export class Prompter { this.profile[key] = base_profile[key]; } // base overrides default, individual overrides base - // Removed this comment this.convo_examples = null; this.coding_examples = null; @@ -140,9 +139,9 @@ export class Prompter { model_profile.api = 'mistral'; else if (profile.model.includes("groq/") || profile.model.includes("groqcloud/")) profile.api = 'groq'; - else if (profile.model.includes("GLHF/") + else if (profile.model.includes("glhf/") profile.api = 'glhf'; - else if (profile.model.includes("Hyperbolic/") + else if (profile.model.includes("hyperbolic/") profile.api = 'hyperbolic'; else if (profile.model.includes('novita/')) profile.api = 'novita';