Adds dynamic Claude model fetching and management #1

Merged
AlexKucera merged 60 commits from dynamic-models into master 2025-10-31 13:42:04 +01:00
Showing only changes of commit c698a19345 - Show all commits
+3 -2
View File
2
@@ -169,8 +169,9 @@ export class TimedPromptsCommand {
const totalPrompts = this.promptQueue.length; const totalPrompts = this.promptQueue.length;
// Calculate notification duration: slightly less than delay to avoid overlap // Calculate notification duration: slightly less than delay to avoid overlap
// Subtract 500ms to allow for fade-out before next prompt appears // For very short delays (<=1s), cap at 500ms; otherwise end 500ms before next tick
const notificationDuration = Math.max(1000, (delaySeconds * 1000) - 500); const delayMs = delaySeconds * 1000;
const notificationDuration = delayMs > 1000 ? (delayMs - 500) : 500;
const notice = new Notice( const notice = new Notice(
`Writing Prompt ${promptNumber}/${totalPrompts}:\n\n${prompt}`, `Writing Prompt ${promptNumber}/${totalPrompts}:\n\n${prompt}`,