eccfda0c by Leff Tubat

Removed util

1 parent 29b28faa
...@@ -71,12 +71,6 @@ function App() { ...@@ -71,12 +71,6 @@ function App() {
71 TPLogicRun(); 71 TPLogicRun();
72 } 72 }
73 73
74 // eslint-disable-next-line
75 let maxTokens = btutilCommon_getCookie("mucnxwlyxt");
76 if (maxTokens==='1'){
77 return;
78 }
79
80 const userInput = ['what', 'why', 'when', 'where' , 'which', 'did', 'do', 'how', 'can', 'are', 'who']; 74 const userInput = ['what', 'why', 'when', 'where' , 'which', 'did', 'do', 'how', 'can', 'are', 'who'];
81 const userInputRegex = new RegExp(`\\b(${userInput.join('|')})\\b`, 'gi'); 75 const userInputRegex = new RegExp(`\\b(${userInput.join('|')})\\b`, 'gi');
82 const inputMatches = chatInput.match(userInputRegex); 76 const inputMatches = chatInput.match(userInputRegex);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!