@ai-d/aid
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -172,4 +172,5 @@ "use strict"; | ||
content.push({ type: "text", text: input2.text }); | ||
} else if (input2.images) { | ||
for (let image of input2.images) { | ||
} | ||
if (input2.images) { | ||
for (const image of input2.images) { | ||
content.push({ type: "image_url", image_url: image }); | ||
@@ -188,4 +189,5 @@ } | ||
content.push({ type: "text", text: input.text }); | ||
} else if (input.images) { | ||
for (let image of input.images) { | ||
} | ||
if (input.images) { | ||
for (const image of input.images) { | ||
content.push({ type: "image_url", image_url: image }); | ||
@@ -192,0 +194,0 @@ } |
{ | ||
"name": "@ai-d/aid", | ||
"description": "Aid provides a structured and type-safe way to interact with LLMs.", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"author": "JacobLinCool <jacoblincool@gmail.com> (https://jacoblin.cool)", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
31556
622