Update prompter.js

Fixed chat.model typos
This commit is contained in:
Sweaterdog 2025-02-15 10:20:02 -08:00 committed by GitHub
parent fd6ac47f07
commit 73e11ff6bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,10 +131,10 @@ export class Prompter {
model_profile.api = 'mistral';
else if (profile.model.includes("groq/") || profile.model.includes("groqcloud/"))
profile.api = 'groq';
else if (chat.model.includes('hf:'))
chat.api = "glhf";
else if (chat.model.includes('hyperbolic:')|| chat.model.includes('hb:'))
chat.api = "hyperbolic";
else if (profile.model.includes('hf:'))
profile.api = "glhf";
else if (profile.model.includes('hyperbolic:')|| chat.model.includes('hb:'))
profile.api = "hyperbolic";
else if (profile.model.includes('novita/'))
profile.api = 'novita';
else if (profile.model.includes('qwen'))