Removed redundant null-coalescing assignment

This commit is contained in:
Thorsten Sommer 2026-04-16 16:44:03 +02:00
parent ed015bd5d3
commit bddae8cc21
No known key found for this signature in database
GPG Key ID: B0B7E2FC074BF1F5

View File

@ -341,7 +341,6 @@ public partial class AssistantPromptOptimizer : AssistantBaseCore<SettingsDialog
if (probe is null || string.IsNullOrWhiteSpace(probe.OptimizedPrompt))
return false;
probe.Recommendations ??= new PromptOptimizationRecommendations();
parsedResult = probe;
return true;
}