@sqaitech/shared 0.30.14 → 0.30.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -83,7 +83,7 @@ class ModelConfigManager {
|
|
|
83
83
|
}
|
|
84
84
|
throwErrorIfNonVLModel(intent = 'grounding') {
|
|
85
85
|
const modelConfig = this.getModelConfig(intent);
|
|
86
|
-
if (!modelConfig.vlMode) throw new Error('No visual language model (VL model) detected for the current scenario. Element localization may be inaccurate. Please verify your model configuration. Learn more: https://
|
|
86
|
+
if (!modelConfig.vlMode) throw new Error('No visual language model (VL model) detected for the current scenario. Element localization may be inaccurate. Please verify your model configuration. Learn more: https://sqai.tech/choose-a-model');
|
|
87
87
|
}
|
|
88
88
|
constructor(modelConfigFn){
|
|
89
89
|
_define_property(this, "modelConfigMap", void 0);
|
|
@@ -111,7 +111,7 @@ class ModelConfigManager {
|
|
|
111
111
|
}
|
|
112
112
|
throwErrorIfNonVLModel(intent = 'grounding') {
|
|
113
113
|
const modelConfig = this.getModelConfig(intent);
|
|
114
|
-
if (!modelConfig.vlMode) throw new Error('No visual language model (VL model) detected for the current scenario. Element localization may be inaccurate. Please verify your model configuration. Learn more: https://
|
|
114
|
+
if (!modelConfig.vlMode) throw new Error('No visual language model (VL model) detected for the current scenario. Element localization may be inaccurate. Please verify your model configuration. Learn more: https://sqai.tech/choose-a-model');
|
|
115
115
|
}
|
|
116
116
|
constructor(modelConfigFn){
|
|
117
117
|
_define_property(this, "modelConfigMap", void 0);
|
package/package.json
CHANGED
|
@@ -138,7 +138,7 @@ export class ModelConfigManager {
|
|
|
138
138
|
|
|
139
139
|
if (!modelConfig.vlMode) {
|
|
140
140
|
throw new Error(
|
|
141
|
-
'No visual language model (VL model) detected for the current scenario. Element localization may be inaccurate. Please verify your model configuration. Learn more: https://
|
|
141
|
+
'No visual language model (VL model) detected for the current scenario. Element localization may be inaccurate. Please verify your model configuration. Learn more: https://sqai.tech/choose-a-model',
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
144
|
}
|