aotrautils-srv 0.0.1183 → 0.0.1184
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.
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (24/03/2025-02:42:18)»*/
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
5
5
|
|
6
6
|
|
@@ -448,9 +448,13 @@ if(!window.aotestAllTestsManager){
|
|
448
448
|
};
|
449
449
|
|
450
450
|
// Utility methods for aotest framework :
|
451
|
-
window.aotestMethods.getScenariiInTest=function(test){
|
451
|
+
window.aotestMethods.getScenariiInTest=function(test, filterByScenariiNames=null){
|
452
452
|
let results={};
|
453
|
-
window.aotestMethods.iterateOverScenariiInTest(test,(t,s,sName)=>{
|
453
|
+
window.aotestMethods.iterateOverScenariiInTest(test,(t,s,sName)=>{
|
454
|
+
if(!filterByScenariiNames || contains(filterByScenariiNames, sName)){
|
455
|
+
results[sName]=s;
|
456
|
+
}
|
457
|
+
});
|
454
458
|
return results;
|
455
459
|
};
|
456
460
|
|
@@ -4822,7 +4826,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
4822
4826
|
|
4823
4827
|
|
4824
4828
|
|
4825
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
4829
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (24/03/2025-02:42:18)»*/
|
4826
4830
|
/*-----------------------------------------------------------------------------*/
|
4827
4831
|
|
4828
4832
|
|
@@ -4966,7 +4970,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
4966
4970
|
|
4967
4971
|
|
4968
4972
|
|
4969
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
4973
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (24/03/2025-02:42:18)»*/
|
4970
4974
|
/*-----------------------------------------------------------------------------*/
|
4971
4975
|
|
4972
4976
|
|
aotrautils-srv/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils-srv",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1184",
|
4
4
|
"main": "aotrautils-srv.build.js",
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|