Refines settings UI and error handling

Simplifies commentary prompt assignments and streamlines
the Freewriting Cleanup Plugin command registration.

Improves consistency and readability in the settings interface
by standardizing heading and button labels. Removes redundant
model selection logging.

This enhances user experience by making the interface
more intuitive and declutters the codebase for easier maintenance.
This commit is contained in:
AlexKucera committed 2025-11-09 17:17:37 +01:00
1 parent c8ddeaeb2d
commit 1f69c568bb
4 files changed
+46 -53

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ export class AnthropicClient {
} else if (commentaryStyle === 'custom') {
throw new ConfigurationError('Custom commentary style requires a custom prompt. Please provide customCommentaryPrompt.');
} else {
commentaryPrompt = COMMENTARY_PRESETS[commentaryStyle as Exclude<CommentaryStyle, 'custom'>];
commentaryPrompt = COMMENTARY_PRESETS[commentaryStyle];
}
}