Skip to content

Commit

Permalink
Solve Issue 1643, imageDescriptionService not working with other prov…
Browse files Browse the repository at this point in the history
…iders than OpenAI
  • Loading branch information
nusk0 committed Jan 1, 2025
1 parent 441593e commit 8c7c83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-node/src/services/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export class ImageDescriptionService
},
},
];
// If model provider is openai, use the endpoint, otherwise use the default openai endpoint
// If model provider is openai, use the endpoint, otherwise use the default openai endpoint.
const endpoint =
this.runtime.imageModelProvider === ModelProviderName.OPENAI
? models[this.runtime.imageModelProvider].endpoint
Expand Down

0 comments on commit 8c7c83f

Please sign in to comment.