aotrautils-srv 0.0.1970 → 0.0.1973
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 (09/09/2026-00:40:51)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -489,6 +489,8 @@ window.aotestMethods.getScenariiByName=function(allTests, scenariiNames){
|
|
|
489
489
|
}, null, null, scenario=>contains(scenariiNames,scenario.name));
|
|
490
490
|
return results;
|
|
491
491
|
}
|
|
492
|
+
|
|
493
|
+
// Structure : appId > testsType > test > scenario
|
|
492
494
|
window.aotestMethods.getNumberOfScenariiInApp=function(allTestsBagForClientIdForAppReadOnly, testsType){
|
|
493
495
|
let currentScenariiNumberInApp=0;
|
|
494
496
|
window.aotestMethods.iterateOverScenarii(allTestsBagForClientIdForAppReadOnly, (scenario)=>{
|
|
@@ -498,7 +500,7 @@ window.aotestMethods.getNumberOfScenariiInApp=function(allTestsBagForClientIdFor
|
|
|
498
500
|
}
|
|
499
501
|
window.aotestMethods.getNumberOfScenariiInGlobal=function(allTestsBagForClientReadOnly, testsType){
|
|
500
502
|
let currentScenariiNumber=0;
|
|
501
|
-
foreach(allTestsBagForClientReadOnly, (allTestsBag,
|
|
503
|
+
foreach(allTestsBagForClientReadOnly, (allTestsBag, appId)=>{
|
|
502
504
|
currentScenariiNumber+=aotestMethods.getNumberOfScenariiInApp(allTestsBag, testsType);
|
|
503
505
|
});
|
|
504
506
|
return currentScenariiNumber;
|
|
@@ -5473,7 +5475,7 @@ window.AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5473
5475
|
|
|
5474
5476
|
|
|
5475
5477
|
|
|
5476
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
|
5478
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (09/09/2026-00:40:51)»*/
|
|
5477
5479
|
/*-----------------------------------------------------------------------------*/
|
|
5478
5480
|
|
|
5479
5481
|
|
|
@@ -5573,7 +5575,7 @@ window.LLMAPIClient=class LLMAPIClient{
|
|
|
5573
5575
|
|
|
5574
5576
|
const headers=this.getAPIRequestHeaders(AIAPIKey);
|
|
5575
5577
|
|
|
5576
|
-
const parameters=getAPIRequestParameters(messages);
|
|
5578
|
+
const parameters=this.getAPIRequestParameters(messages);
|
|
5577
5579
|
|
|
5578
5580
|
return new Promise((resolve,reject)=>{
|
|
5579
5581
|
performHTTPRequest(this.apiURL, "POST", headers, parameters, true).then((responseObj)=>{
|
|
@@ -5733,7 +5735,7 @@ window.getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProvider
|
|
|
5733
5735
|
|
|
5734
5736
|
|
|
5735
5737
|
|
|
5736
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (
|
|
5738
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (09/09/2026-00:40:51)»*/
|
|
5737
5739
|
/*-----------------------------------------------------------------------------*/
|
|
5738
5740
|
|
|
5739
5741
|
|
aotrautils-srv/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1973",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "aotrautils-srv",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1973",
|
|
10
10
|
"license": "HGPL-1.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"atob": "^2.1.2",
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1973",
|
|
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)",
|