Refactors Anthropic model type and list handling

Removes strict type definition for Anthropic models to enable more dynamic model selection

Allows for flexible model ID fetching from Anthropic API
Provides a fallback list of models when direct API access is limited

Supports more adaptable model configuration in the application
This commit is contained in:
AlexKucera committed 2025-10-24 10:53:54 +02:00
1 parent eae48521c5
commit b63ab214b3
2 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ Settings use the `FreewritingCleanupSettings` interface with modular defaults:
```typescript
interface FreewritingCleanupSettings {
apiKey: string;
model: AnthropicModel;
model: string; // Dynamic model ID fetched from Anthropic API
cleanupPrompt: string;
enableCommentary: boolean;
commentaryStyle: CommentaryStyle;