aotrautils-srv 0.0.1977 → 0.0.1979
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 (09/09/2026-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (09/09/2026-23:27:06)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5475,7 +5475,7 @@ window.AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5475
5475
|
|
|
5476
5476
|
|
|
5477
5477
|
|
|
5478
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (09/09/2026-
|
|
5478
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (09/09/2026-23:27:06)»*/
|
|
5479
5479
|
/*-----------------------------------------------------------------------------*/
|
|
5480
5480
|
|
|
5481
5481
|
|
|
@@ -5561,7 +5561,7 @@ window.LLMAPIClient=class LLMAPIClient{
|
|
|
5561
5561
|
}catch(llmTextGenerationError){
|
|
5562
5562
|
// TRACE
|
|
5563
5563
|
const errorMessage="ERROR : LLM provider returned an error when prompted";
|
|
5564
|
-
|
|
5564
|
+
throw new Error(errorMessage, {cause:llmTextGenerationError});
|
|
5565
5565
|
}
|
|
5566
5566
|
|
|
5567
5567
|
}
|
|
@@ -5596,9 +5596,6 @@ window.LLMAPIClient=class LLMAPIClient{
|
|
|
5596
5596
|
if(data.error){
|
|
5597
5597
|
const error=data.error;
|
|
5598
5598
|
|
|
5599
|
-
// TRACE
|
|
5600
|
-
lognow("ERROR:", error);
|
|
5601
|
-
|
|
5602
5599
|
reject(error);
|
|
5603
5600
|
}
|
|
5604
5601
|
|
|
@@ -5610,8 +5607,6 @@ window.LLMAPIClient=class LLMAPIClient{
|
|
|
5610
5607
|
const error=errorObj.error;
|
|
5611
5608
|
const httpStatus=errorObj.httpStatus;
|
|
5612
5609
|
|
|
5613
|
-
// TRACE
|
|
5614
|
-
lognow("ERROR:", error);
|
|
5615
5610
|
reject(error);
|
|
5616
5611
|
});
|
|
5617
5612
|
});
|
|
@@ -5747,7 +5742,7 @@ window.getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProvider
|
|
|
5747
5742
|
|
|
5748
5743
|
|
|
5749
5744
|
|
|
5750
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (09/09/2026-
|
|
5745
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (09/09/2026-23:27:06)»*/
|
|
5751
5746
|
/*-----------------------------------------------------------------------------*/
|
|
5752
5747
|
|
|
5753
5748
|
|
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.1979",
|
|
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.1979",
|
|
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.1979",
|
|
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)",
|