-
Notifications
You must be signed in to change notification settings - Fork 268
Open
Description
Description
Prompt variables containing newlines and bullet points fail silently — the raw prompt text appears in the output instead of the LLM response. Shorter single-line prompts in the same template work correctly.
Reproduction
- Create a template with a multi-line prompt variable in noteContentFormat (containing line breaks and bullet points)
- In the same template, add a second shorter single-line prompt
- Clip any page and run the interpreter
- The first (multi-line) prompt appears as raw text in the resulting note
- The second (single-line) prompt is processed correctly and shows the LLM response
Expected behavior
Both prompts should be sent to the LLM and replaced with responses.
Workaround
Keep prompts on a single line without newline characters inside the prompt variable.
Environment
- Web Clipper version: 0.12.x
- Browser: Safari
- Model: Claude 3.5 Haiku (Anthropic)
Metadata
Metadata
Assignees
Labels
No labels