Removed util
Showing
1 changed file
with
0 additions
and
6 deletions
| ... | @@ -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); | ... | ... |
-
Please register or sign in to post a comment