mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-16 04:05:37 +02:00
Update prompter.js
Fixed bug in prompter.js where replicate Ai was checked twice
This commit is contained in:
parent
6b8ac02c8e
commit
0d2e4c7b9c
1 changed files with 2 additions and 3 deletions
|
@ -60,8 +60,7 @@ export class Prompter {
|
||||||
else if (chat.model.includes('hf:'))
|
else if (chat.model.includes('hf:'))
|
||||||
chat.api = "glhf";
|
chat.api = "glhf";
|
||||||
else if (chat.model.includes('hyperbolic:')|| chat.model.includes('hb:'))
|
else if (chat.model.includes('hyperbolic:')|| chat.model.includes('hb:'))
|
||||||
chat.api = "hyperbolic";
|
chat.api = "hyperbolic";
|
||||||
else if (chat.model.includes('meta/') || chat.model.includes('mistralai/') || chat.model.includes('replicate/'))
|
|
||||||
else if (chat.model.includes('meta/') || chat.model.includes('replicate/'))
|
else if (chat.model.includes('meta/') || chat.model.includes('replicate/'))
|
||||||
chat.api = 'replicate';
|
chat.api = 'replicate';
|
||||||
else if (chat.model.includes('mistralai/') || chat.model.includes("mistral/"))
|
else if (chat.model.includes('mistralai/') || chat.model.includes("mistral/"))
|
||||||
|
@ -353,4 +352,4 @@ export class Prompter {
|
||||||
goal.quantity = parseInt(goal.quantity);
|
goal.quantity = parseInt(goal.quantity);
|
||||||
return goal;
|
return goal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue