From 147a620a0f6698e62a382121b665124f2fc4f4a1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 8 Dec 2025 13:08:11 -0600 Subject: [PATCH] Mark definite image generation models --- src/lib/tools/ViewAvailableModelsTool.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/lib/tools/ViewAvailableModelsTool.ts b/src/lib/tools/ViewAvailableModelsTool.ts index 2b75a804..ef786de6 100644 --- a/src/lib/tools/ViewAvailableModelsTool.ts +++ b/src/lib/tools/ViewAvailableModelsTool.ts @@ -43,7 +43,7 @@ export class ViewAvailableModelsTool implements Tool> { // Add note about current image model if configured if (this.currentImageModel) { - output += `**Current Image Model**: ${this.currentImageModel} ⭐\n\n`; + output += `**Current Image Model**: ${this.currentImageModel}\n\n`; } else { output += '**Current Image Model**: Not configured\n\n'; } @@ -60,16 +60,15 @@ export class ViewAvailableModelsTool implements Tool> { output += `### ${provider} (${providerModels.length} models)\n\n`; for (const model of providerModels) { - const isCurrentModel = this.currentImageModel === model.fullId; - const marker = isCurrentModel ? ' ⭐' : ''; + // Mark models that are DEFINITE image models with a star + const isImageModel = model.type === 'image' || model.modalities?.includes('image'); + const marker = isImageModel ? ' ⭐' : ''; output += `- ${model.fullId}${marker}\n`; } output += '\n'; } - if (this.currentImageModel) { - output += `Current selection (⭐) indicates user preference for this provider/model family.\n`; - } + output += `Models marked with ⭐ are definite image generation models.\n`; return output; }