mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-28 18:03:03 +02:00
Update prompter.js
Fixed minor issues
This commit is contained in:
parent
fa22e388de
commit
b3ee159b43
1 changed files with 2 additions and 3 deletions
|
@ -41,7 +41,6 @@ export class Prompter {
|
||||||
this.profile[key] = base_profile[key];
|
this.profile[key] = base_profile[key];
|
||||||
}
|
}
|
||||||
// base overrides default, individual overrides base
|
// base overrides default, individual overrides base
|
||||||
// Removed this comment
|
|
||||||
|
|
||||||
this.convo_examples = null;
|
this.convo_examples = null;
|
||||||
this.coding_examples = null;
|
this.coding_examples = null;
|
||||||
|
@ -140,9 +139,9 @@ export class Prompter {
|
||||||
model_profile.api = 'mistral';
|
model_profile.api = 'mistral';
|
||||||
else if (profile.model.includes("groq/") || profile.model.includes("groqcloud/"))
|
else if (profile.model.includes("groq/") || profile.model.includes("groqcloud/"))
|
||||||
profile.api = 'groq';
|
profile.api = 'groq';
|
||||||
else if (profile.model.includes("GLHF/")
|
else if (profile.model.includes("glhf/")
|
||||||
profile.api = 'glhf';
|
profile.api = 'glhf';
|
||||||
else if (profile.model.includes("Hyperbolic/")
|
else if (profile.model.includes("hyperbolic/")
|
||||||
profile.api = 'hyperbolic';
|
profile.api = 'hyperbolic';
|
||||||
else if (profile.model.includes('novita/'))
|
else if (profile.model.includes('novita/'))
|
||||||
profile.api = 'novita';
|
profile.api = 'novita';
|
||||||
|
|
Loading…
Add table
Reference in a new issue