Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoking custom prompts does not do the same as pasting the same prompt manuall #24

Open
MelSFNL opened this issue Nov 16, 2024 · 0 comments

Comments

@MelSFNL
Copy link

MelSFNL commented Nov 16, 2024

Hi! I have been testing the tool by creating a custom prompt that is saved in settings.json (to create print statements for debugging in a template engine we are using). However the prompt does not seem to be run correctly when its invoked via @customPrompts /load.

Why doesn't it just exactly do the same as manually typing or pasting the prompt? Here is the prompt I have been testing (I have tested different wordings and with/without examples and escape characters; no result, running manually yields signficantly different results)

For each of the variables #selection, create labeled prints using {{ }} that display the values of variables in selected code, for debugging purposes. Example of input vs output: {% assign total_amount = total_amount*(loan_remaining_capital/loan_amount) %} should return: total_amount: {{total_amount}}\n loan_remaining_capital: {{loan_remaining_capital}}\n loan_amount: {{loan_amount}}\n

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant