@probelabs/probe-chat 0.6.0-rc285 → 0.6.0-rc286
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -412,7 +412,7 @@ export function main() {
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
logInfo('Sending message...'); // Log only if debug
|
|
415
|
-
const result = await chat.chat(message,
|
|
415
|
+
const result = await chat.chat(message, { images: imageUrls });
|
|
416
416
|
|
|
417
417
|
if (result && typeof result === 'object' && result.response !== undefined) {
|
|
418
418
|
if (options.json) {
|
|
@@ -576,7 +576,7 @@ export function main() {
|
|
|
576
576
|
|
|
577
577
|
const spinner = ora('Thinking...').start(); // Spinner is ok for interactive mode
|
|
578
578
|
try {
|
|
579
|
-
const result = await chat.chat(message,
|
|
579
|
+
const result = await chat.chat(message, { images: imageUrls });
|
|
580
580
|
spinner.stop();
|
|
581
581
|
|
|
582
582
|
logInfo(chalk.green('Assistant:'));
|
package/package.json
CHANGED