1
0

feat: Introduce Summary and Professional skills, replacing the old style mode and text structuring configuration options.

This commit is contained in:
2026-02-27 01:28:00 +01:00
parent 482fe84eb1
commit 9a207bc39a
7 changed files with 58 additions and 42 deletions

View File

@@ -17,10 +17,6 @@ public static class ConfigUpdaterCommand
{
case "llm": config.LlmModel = val; break;
case "whisper": config.WhisperModel = val; break;
case "style":
if (val == "professional" || val == "concise" || val == "casual") { config.StyleMode = val; }
else { AnsiConsole.MarkupLine("[red]Invalid style.[/] Use: professional, concise, casual"); return; }
break;
case "language":
case "lang": config.WhisperLanguage = val; break;
case "backend": config.TypingBackend = val; break;
@@ -32,14 +28,6 @@ public static class ConfigUpdaterCommand
if (bool.TryParse(val, out var t)) { config.ModuleTechnicalSanitization = t; }
else { AnsiConsole.MarkupLine("[red]Invalid value. Use true or false.[/]"); return; }
break;
case "bullets":
if (bool.TryParse(val, out var b)) { config.StructureBulletPoints = b; }
else { AnsiConsole.MarkupLine("[red]Invalid value. Use true or false.[/]"); return; }
break;
case "paragraphs":
if (bool.TryParse(val, out var sp)) { config.StructureSmartParagraphing = sp; }
else { AnsiConsole.MarkupLine("[red]Invalid value. Use true or false.[/]"); return; }
break;
default:
AnsiConsole.MarkupLine($"[red]Unknown config key: {key}[/]");
return;

View File

@@ -21,11 +21,9 @@ public static class ShowCommand
table.AddRow("Spoken Language", $"[yellow]{(string.IsNullOrEmpty(config.WhisperLanguage) ? "Auto" : config.WhisperLanguage)}[/]");
table.AddRow("Typing Backend", config.TypingBackend);
table.AddRow("Active Skills", string.Join(", ", config.ActiveSkills));
table.AddRow("Style Mode", config.StyleMode);
table.AddRow("Punctuation Module", config.ModulePunctuation.ToString());
table.AddRow("Technical Sanitization", config.ModuleTechnicalSanitization.ToString());
table.AddRow("Bullet Points", config.StructureBulletPoints.ToString());
table.AddRow("Smart Paragraphing", config.StructureSmartParagraphing.ToString());
AnsiConsole.Write(table);
}