Adds dynamic Claude model fetching and management #1
No files matched your search
@@ -100,7 +100,7 @@ export class PromptGeneratorService {
|
|||||||
model: string,
|
model: string,
|
||||||
systemPrompt: string,
|
systemPrompt: string,
|
||||||
examplePrompt: string,
|
examplePrompt: string,
|
||||||
type: string
|
type: 'timed' | 'note'
|
||||||
): string {
|
): string {
|
||||||
const keyData = {
|
const keyData = {
|
||||||
count,
|
count,
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
// ABOUTME: Type definitions for the Freewriting Prompts plugin
|
// ABOUTME: Type definitions for the Freewriting Prompts plugin
|
||||||
// ABOUTME: Defines interfaces for settings, API responses, and plugin configuration
|
// 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 {
|
export interface FreewritingPromptsSettings {
|
||||||
apiKey: string;
|
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;
|
timedCount: number;
|
||||||
delaySeconds: number;
|
delaySeconds: number;
|
||||||
noteCount: number;
|
noteCount: number;
|
||||||
|
|||||||
Reference in new issue
Block a user