Spaces:
Sleeping
Sleeping
Update stateManager.js
Browse files- stateManager.js +2 -0
stateManager.js
CHANGED
|
@@ -138,6 +138,8 @@ export const StateManager = {
|
|
| 138 |
else if (typeof input === 'string') {
|
| 139 |
const rawResponse = input;
|
| 140 |
if (rawResponse.includes("[ASK_PM:")) return;
|
|
|
|
|
|
|
| 141 |
if (rawResponse.includes("[GENERATE_IMAGE:") && !rawResponse.includes("```")) return;
|
| 142 |
|
| 143 |
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("[ASK_PM:")) return;
|
| 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);
|