mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 06:54:58 +00:00
Update language-inference-engine.js
This commit is contained in:
parent
408e98e46b
commit
3cf7f6c07c
|
@ -329,7 +329,9 @@ var ENGINE_PROFILES = {
|
|||
"availableModels": [
|
||||
"openchat-3.5-0106",
|
||||
"qwen1.5-14b-chat-awq",
|
||||
"gemma-7b-it"
|
||||
"gemma-7b-it",
|
||||
"una-cybertron-7b-v2-bf16",
|
||||
"starling-lm-7b-beta"
|
||||
],
|
||||
"headers": {
|
||||
"Content-Type": "application/json",
|
||||
|
@ -373,6 +375,7 @@ function LanguageInferenceEngine() {
|
|||
|
||||
this.setProvider = function(provider) {
|
||||
this.provider = provider;
|
||||
|
||||
if (this.provider in ENGINE_PROFILES) {
|
||||
this.engineProfile = ENGINE_PROFILES[provider];
|
||||
this.type = this.engineProfile.type;
|
||||
|
|
Loading…
Reference in New Issue
Block a user