mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-18 22:15:17 +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:'))
|
||||
chat.api = "glhf";
|
||||
else if (chat.model.includes('hyperbolic:')|| chat.model.includes('hb:'))
|
||||
chat.api = "hyperbolic";
|
||||
else if (chat.model.includes('meta/') || chat.model.includes('mistralai/') || chat.model.includes('replicate/'))
|
||||
chat.api = "hyperbolic";
|
||||
else if (chat.model.includes('meta/') || chat.model.includes('replicate/'))
|
||||
chat.api = 'replicate';
|
||||
else if (chat.model.includes('mistralai/') || chat.model.includes("mistral/"))
|
||||
|
@ -353,4 +352,4 @@ export class Prompter {
|
|||
goal.quantity = parseInt(goal.quantity);
|
||||
return goal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue