mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac: deprecate [ ] prompt variables
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user