@salesforce/lds-adapters-service-einsteinllm 1.207.0 → 1.208.0
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -925,10 +925,9 @@ function createResourceParams(config) {
|
|
|
925
925
|
}
|
|
926
926
|
function typeCheckConfig(untrustedConfig) {
|
|
927
927
|
const config = {};
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
}
|
|
928
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
929
|
+
promptTemplateDevName: 0 /* String */,
|
|
930
|
+
});
|
|
932
931
|
const untrustedConfig_promptTemplateGenerationsInput = untrustedConfig.promptTemplateGenerationsInput;
|
|
933
932
|
const referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError = validate$1(untrustedConfig_promptTemplateGenerationsInput);
|
|
934
933
|
if (referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError === null) {
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
16
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from 'force/luvioEngine';
|
|
16
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
|
|
17
17
|
|
|
18
18
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
19
19
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -934,10 +934,9 @@ function createResourceParams(config) {
|
|
|
934
934
|
}
|
|
935
935
|
function typeCheckConfig(untrustedConfig) {
|
|
936
936
|
const config = {};
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
}
|
|
937
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
938
|
+
promptTemplateDevName: 0 /* String */,
|
|
939
|
+
});
|
|
941
940
|
const untrustedConfig_promptTemplateGenerationsInput = untrustedConfig.promptTemplateGenerationsInput;
|
|
942
941
|
const referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError = validate$1(untrustedConfig_promptTemplateGenerationsInput);
|
|
943
942
|
if (referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError === null) {
|
|
@@ -1008,4 +1007,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1008
1007
|
});
|
|
1009
1008
|
|
|
1010
1009
|
export { createGenerateMessages, createGenerateMessagesForPromptTemplate };
|
|
1011
|
-
// version: 1.
|
|
1010
|
+
// version: 1.208.0-027673bd6
|