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
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 7932663d2a - Show all commits

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ export class PromptGeneratorService {
model: string,
systemPrompt: string,
examplePrompt: string,
type: string
type: 'timed' | 'note'
): string {
const keyData = {
count,
+4 -1
View File
@@ -1,9 +1,12 @@
// ABOUTME: Type definitions for the Freewriting Prompts plugin
// ABOUTME: Defines interfaces for settings, API responses, and plugin configuration
// Type alias to document intent that this should be a Claude model ID
export type ModelId = string;
export interface FreewritingPromptsSettings {
apiKey: string;
model: string; // Changed from AnthropicModel to string to support dynamic models
model: ModelId; // Changed from AnthropicModel to string to support dynamic models
timedCount: number;
delaySeconds: number;
noteCount: number;