190proof 1.0.22 → 1.0.23
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/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32018,10 +32018,11 @@ async function prepareOpenAIPayload(payload) {
|
|
|
32018
32018
|
openAIContentBlocks.push({
|
|
32019
32019
|
type: "image_url",
|
|
32020
32020
|
image_url: {
|
|
32021
|
-
url:
|
|
32022
|
-
|
|
32023
|
-
|
|
32024
|
-
|
|
32021
|
+
url: file.url
|
|
32022
|
+
// url: `data:image/png;base64,${await getNormalizedBase64PNG(
|
|
32023
|
+
// file.url,
|
|
32024
|
+
// file.mimeType
|
|
32025
|
+
// )}`,
|
|
32025
32026
|
}
|
|
32026
32027
|
});
|
|
32027
32028
|
} else if (file.data) {
|