We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77cb8d2 commit 60628efCopy full SHA for 60628ef
packages/plugin-node/src/services/image.ts
@@ -363,7 +363,7 @@ export class ImageDescriptionService
363
364
try {
365
await this.provider.initialize();
366
- } catch (error) {
+ } catch {
367
elizaLogger.error(
368
`Failed to initialize the image vision model provider: ${this.runtime.imageVisionModelProvider}`
369
);
@@ -450,7 +450,8 @@ export class ImageDescriptionService
450
451
if (this.initialized) {
452
453
- const { data, mimeType } = await this.loadImageData(imageUrlOrPath);
+ const { data, mimeType } =
454
+ await this.loadImageData(imageUrlOrPath);
455
return await this.provider.describeImage(data, mimeType);
456
} catch (error) {
457
elizaLogger.error("Error in describeImage:", error);
0 commit comments