mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac: deprecate [ ] prompt variables
This commit is contained in:
parent
893bfe9d3a
commit
3d26bca7c5
1 changed files with 1 additions and 4 deletions
|
|
@ -53,10 +53,7 @@
|
|||
|
||||
// Function to find the next template in the document
|
||||
function findNextTemplate(doc, from = 0) {
|
||||
const patterns = [
|
||||
{ start: '[', end: ']' },
|
||||
{ start: '{{', end: '}}' }
|
||||
];
|
||||
const patterns = [{ start: '{{', end: '}}' }];
|
||||
|
||||
let result = null;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue