auto-opus-msgfix
This commit is contained in:
@@ -5843,6 +5843,9 @@ if ($s95_ok) { $decoded = @json_decode($s95, true); if (is_array($decoded)) $s95
|
||||
return null;
|
||||
}
|
||||
|
||||
// OPUS-FIX: Initialize $msg from pipeline input
|
||||
if (!isset($msg)) { $msg = $_JIN['message'] ?? $_POST['message'] ?? $_GET['message'] ?? ''; }
|
||||
|
||||
function mr_route($userMessage, $systemPrompt = '', $history = [], $options = []) {
|
||||
// STRATEGIC GUARD: long business questions go direct to LLM, skip pattern matching
|
||||
require_once __DIR__ . '/wevia-strategic-guard.php';
|
||||
|
||||
Reference in New Issue
Block a user