From d436a2b2935c2dc56fd1fe4fe89ea7644d263cb1 Mon Sep 17 00:00:00 2001 From: Nicolas Bonamy Date: Sun, 3 Nov 2024 20:19:03 -0600 Subject: [PATCH] image plugin fixes --- src/plugins/image.ts | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/plugins/image.ts b/src/plugins/image.ts index 36ffc2c..49f3553 100644 --- a/src/plugins/image.ts +++ b/src/plugins/image.ts @@ -25,7 +25,7 @@ export default class extends Plugin { } getDescription(): string { - return 'Generate an image based on a prompt. Returns the path of the image saved on disk and a description of the image. Always embed the image visible in the final response. Do not just include a link to the image.' + return 'Generate an image based on a prompt. Returns the path of the image saved on disk and a description of the image. Create only one image at a time unless explicitely asked to do otherwise. Always embed the image visible in the final response. Do not just include a link to the image.' } getPreparationDescription(): string { @@ -102,19 +102,19 @@ export default class extends Plugin { // required: false // }) - parameters.push({ - name: 'width', - type: 'number', - description: 'The width of the image', - required: false - }) - - parameters.push({ - name: 'height', - type: 'number', - description: 'The height of the image', - required: false - }) + // parameters.push({ + // name: 'width', + // type: 'number', + // description: 'The width of the image', + // required: false + // }) + + // parameters.push({ + // name: 'height', + // type: 'number', + // description: 'The height of the image', + // required: false + // }) }