Adds type refinement for dynamic model selection
Introduces ModelId type alias to clarify model ID intent Refines prompt generator type to support specific prompt types Improves type safety for model and prompt configuration
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -100,7 +100,7 @@ export class PromptGeneratorService {
|
||||
model: string,
|
||||
systemPrompt: string,
|
||||
examplePrompt: string,
|
||||
type: string
|
||||
type: 'timed' | 'note'
|
||||
): string {
|
||||
const keyData = {
|
||||
count,
|
||||
|
||||
Reference in new issue
Block a user