@premai/api-sdk 1.0.37 → 1.0.38
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.
- package/dist/cli.cjs +2 -1
- package/dist/core.browser.cjs +2 -1
- package/dist/core.browser.mjs +2 -1
- package/dist/index.cjs +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -997,7 +997,8 @@ function preprocessRequest(body, encryptionKeys) {
|
|
|
997
997
|
cipherText: import_utils5.bytesToHex(cipherText),
|
|
998
998
|
encryptedInference: import_utils5.bytesToHex(encrypted),
|
|
999
999
|
nonce: import_utils5.bytesToHex(nonce),
|
|
1000
|
-
model: body.model
|
|
1000
|
+
model: body.model,
|
|
1001
|
+
stream: body.stream === true
|
|
1001
1002
|
},
|
|
1002
1003
|
sharedSecret,
|
|
1003
1004
|
nonce
|
package/dist/core.browser.cjs
CHANGED
|
@@ -1010,7 +1010,8 @@ function preprocessRequest(body, encryptionKeys) {
|
|
|
1010
1010
|
cipherText: bytesToHex5(cipherText),
|
|
1011
1011
|
encryptedInference: bytesToHex5(encrypted),
|
|
1012
1012
|
nonce: bytesToHex5(nonce),
|
|
1013
|
-
model: body.model
|
|
1013
|
+
model: body.model,
|
|
1014
|
+
stream: body.stream === true
|
|
1014
1015
|
},
|
|
1015
1016
|
sharedSecret,
|
|
1016
1017
|
nonce
|
package/dist/core.browser.mjs
CHANGED
|
@@ -25281,7 +25281,8 @@ function preprocessRequest(body, encryptionKeys) {
|
|
|
25281
25281
|
cipherText: bytesToHex(cipherText),
|
|
25282
25282
|
encryptedInference: bytesToHex(encrypted),
|
|
25283
25283
|
nonce: bytesToHex(nonce),
|
|
25284
|
-
model: body.model
|
|
25284
|
+
model: body.model,
|
|
25285
|
+
stream: body.stream === true
|
|
25285
25286
|
},
|
|
25286
25287
|
sharedSecret,
|
|
25287
25288
|
nonce
|
package/dist/index.cjs
CHANGED
|
@@ -1091,7 +1091,8 @@ function preprocessRequest(body, encryptionKeys) {
|
|
|
1091
1091
|
cipherText: import_utils5.bytesToHex(cipherText),
|
|
1092
1092
|
encryptedInference: import_utils5.bytesToHex(encrypted),
|
|
1093
1093
|
nonce: import_utils5.bytesToHex(nonce),
|
|
1094
|
-
model: body.model
|
|
1094
|
+
model: body.model,
|
|
1095
|
+
stream: body.stream === true
|
|
1095
1096
|
},
|
|
1096
1097
|
sharedSecret,
|
|
1097
1098
|
nonce
|
package/dist/index.mjs
CHANGED
|
@@ -1013,7 +1013,8 @@ function preprocessRequest(body, encryptionKeys) {
|
|
|
1013
1013
|
cipherText: bytesToHex5(cipherText),
|
|
1014
1014
|
encryptedInference: bytesToHex5(encrypted),
|
|
1015
1015
|
nonce: bytesToHex5(nonce),
|
|
1016
|
-
model: body.model
|
|
1016
|
+
model: body.model,
|
|
1017
|
+
stream: body.stream === true
|
|
1017
1018
|
},
|
|
1018
1019
|
sharedSecret,
|
|
1019
1020
|
nonce
|