[GH-ISSUE #8268] Prompt Editor Hint shows wrong brackets #69665

Closed
opened 2026-05-13 01:58:22 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @bannert1337 on GitHub (Jan 2, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8268

The hint shown in the prompt editor of the workspace shows the wrong brackets.

Currently:

Format your variables using brackets like this: {{variable}}. Make sure to enclose them with {{ and }}.
Utilize {{CLIPBOARD}} variable to have them replaced with clipboard content.

The variables of prompts use angled brackets ([ and ]) instead of double curly brackets ({{ and }}).

This leads to the variables not working.

Originally created by @bannert1337 on GitHub (Jan 2, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8268 The hint shown in the prompt editor of the workspace shows the wrong brackets. Currently: ``` Format your variables using brackets like this: {{variable}}. Make sure to enclose them with {{ and }}. Utilize {{CLIPBOARD}} variable to have them replaced with clipboard content. ``` The variables of prompts use angled brackets (`[` and `]`) instead of double curly brackets (`{{` and `}}`). This leads to the variables not working.
Author
Owner

@silentoplayz commented on GitHub (Jan 2, 2025):

The variables of prompts use angled brackets ([ and ]) instead of double curly brackets ({{ and }}).

This is simply untrue. Try creating a slash-command prompt with these prompt variables surrounded by double curly brackets ({{ }}) and then using it within a new chat. This works perfectly fine for me.

Note that the {{USER_LOCATION}} prompt variable requires a secure connection over HTTPS. To utilize this particular prompt variable, please ensure that Allow User Location is toggled on from the Settings -> Interface menu. The {{CLIPBOARD}} prompt variables requires access to your device's clipboard. Feel free to remove these 2 variables for testing purposes.

image

<!-- gh-comment-id:2567731089 --> @silentoplayz commented on GitHub (Jan 2, 2025): > The variables of prompts use angled brackets ([ and ]) instead of double curly brackets ({{ and }}). This is simply untrue. Try creating a slash-command prompt with these prompt variables surrounded by double curly brackets (`{{ }}`) and then using it within a new chat. This works perfectly fine for me. Note that the `{{USER_LOCATION}}` prompt variable requires a secure connection over HTTPS. To utilize this particular prompt variable, please ensure that `Allow User Location` is toggled on from the `Settings` -> `Interface` menu. The `{{CLIPBOARD}}` prompt variables requires access to your device's clipboard. Feel free to remove these 2 variables for testing purposes. ![image](https://github.com/user-attachments/assets/6b59af9f-5708-4a28-982f-b56bd9a0ac41)
Author
Owner

@bannert1337 commented on GitHub (Jan 2, 2025):

@silentoplayz Thanks for the clarification. I was under the impression that the variable are the fields that can be filled like a form with tabulator to move to the next.
It would be great to have all available variables and also the a hint to the form fields in the editor.

<!-- gh-comment-id:2567745560 --> @bannert1337 commented on GitHub (Jan 2, 2025): @silentoplayz Thanks for the clarification. I was under the impression that the variable are the fields that can be filled like a form with tabulator to move to the next. It would be great to have all available variables and also the a hint to the form fields in the editor.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#69665