We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 149d732 commit ea1329fCopy full SHA for ea1329f
app/utils.ts
@@ -255,7 +255,7 @@ export function getMessageImages(message: RequestMessage): string[] {
255
256
export function isVisionModel(model: string) {
257
const clientConfig = getClientConfig();
258
- const envVisionModels = clientConfig.visionModels
+ const envVisionModels = clientConfig?.visionModels
259
?.split(",")
260
.map((m) => m.trim());
261
if (envVisionModels?.includes(model)) {
0 commit comments