You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: template.replace is not a function
at PromptBuilder.substituteParameters (/Users/hoangnguyen/Documents/Working/Codeaholicguy/Code/ai-playground/test-promptfmt/node_modules/promptfmt/dist/builders/prompt-builder.js:184:25)
The log of substituteParameters
Substituting parameters in template:
You are an assistant that generates API test cases.
Return the result in JSON format.
Substituting parameters in template:
Output only valid JSON.
Substituting parameters in template: {
condition: {
if: [Function (anonymous)],
then: '\nInclude edge cases and failure scenarios.\n',
else: undefined
}
}
Activity
codeaholicguy commentedon Dec 22, 2025
Should add validation and more actionable errors.