diff --git a/services/promptGenerator.ts b/services/promptGenerator.ts index 5b3f3fd..d39e502 100644 --- a/services/promptGenerator.ts +++ b/services/promptGenerator.ts @@ -144,6 +144,10 @@ export class PromptGeneratorService { errors.push('API key is required'); } + if (!settings.model || settings.model.trim().length === 0) { + errors.push('Claude model is required'); + } + if (settings.timedCount < 1 || settings.timedCount > 50) { errors.push('Timed count must be between 1 and 50'); }