Spaces:
Sleeping
Sleeping
Update stateManager.js
Browse files- stateManager.js +1 -2
stateManager.js
CHANGED
|
@@ -138,8 +138,7 @@ export const StateManager = {
|
|
| 138 |
else if (typeof input === 'string') {
|
| 139 |
const rawResponse = input;
|
| 140 |
if (rawResponse.includes("[ASK_PM:")) return;
|
| 141 |
-
|
| 142 |
-
if (rawResponse.includes("[ROUTE_TO_PM:")) return;
|
| 143 |
if (rawResponse.includes("[GENERATE_IMAGE:") && !rawResponse.includes("```")) return;
|
| 144 |
|
| 145 |
const codeMatch = rawResponse.match(/```(?:lua|luau)?([\s\S]*?)```/i);
|
|
|
|
| 138 |
else if (typeof input === 'string') {
|
| 139 |
const rawResponse = input;
|
| 140 |
if (rawResponse.includes("[ASK_PM:")) return;
|
| 141 |
+
if (rawResponse.includes("[ROUTE_TO_PM:")) return;
|
|
|
|
| 142 |
if (rawResponse.includes("[GENERATE_IMAGE:") && !rawResponse.includes("```")) return;
|
| 143 |
|
| 144 |
const codeMatch = rawResponse.match(/```(?:lua|luau)?([\s\S]*?)```/i);
|