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.mjs
CHANGED
|
@@ -32013,10 +32013,11 @@ async function prepareOpenAIPayload(payload) {
|
|
|
32013
32013
|
openAIContentBlocks.push({
|
|
32014
32014
|
type: "image_url",
|
|
32015
32015
|
image_url: {
|
|
32016
|
-
url:
|
|
32017
|
-
|
|
32018
|
-
|
|
32019
|
-
|
|
32016
|
+
url: file.url
|
|
32017
|
+
// url: `data:image/png;base64,${await getNormalizedBase64PNG(
|
|
32018
|
+
// file.url,
|
|
32019
|
+
// file.mimeType
|
|
32020
|
+
// )}`,
|
|
32020
32021
|
}
|
|
32021
32022
|
});
|
|
32022
32023
|
} else if (file.data) {
|