Skip to content

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

@MelSFNL

Description

@MelSFNL

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions