Skip to content

Commit 8c7c83f

Browse files
committed
Solve Issue 1643, imageDescriptionService not working with other providers than OpenAI
1 parent 441593e commit 8c7c83f

File tree

1 file changed

+1
-1
lines changed
  • packages/plugin-node/src/services

1 file changed

+1
-1
lines changed

packages/plugin-node/src/services/image.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export class ImageDescriptionService
206206
},
207207
},
208208
];
209-
// If model provider is openai, use the endpoint, otherwise use the default openai endpoint
209+
// If model provider is openai, use the endpoint, otherwise use the default openai endpoint.
210210
const endpoint =
211211
this.runtime.imageModelProvider === ModelProviderName.OPENAI
212212
? models[this.runtime.imageModelProvider].endpoint

0 commit comments

Comments
 (0)