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