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:
4 files changed
+46
-53
No files matched your search
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user