diff --git a/api/blade-actions-surfaced.json b/api/blade-actions-surfaced.json index a3dab91b8..345e957a8 100644 --- a/api/blade-actions-surfaced.json +++ b/api/blade-actions-surfaced.json @@ -1,5 +1,5 @@ { - "generated_at": "2026-04-20T04:50:01.782508", + "generated_at": "2026-04-20T04:55:01.847620", "stats": { "total": 23, "pending": 20, diff --git a/api/nonreg-opus.php b/api/nonreg-opus.php index 2221a90d0..20646da6e 100644 --- a/api/nonreg-opus.php +++ b/api/nonreg-opus.php @@ -40,6 +40,11 @@ function t($n,$ok,$d=''){ function api($msg,$mode='full',$to=30){ // Opus v4 FINAL: localhost nginx bypass CF rate limit $ch=curl_init("https://127.0.0.1/api/weval-ia-full"); + // V80: throttle FPM worker saturation + static $lastCall = 0; + $now = microtime(true); + if ($lastCall > 0 && ($now - $lastCall) < 1.2) { usleep((int)((1.2 - ($now - $lastCall)) * 1000000)); } + $lastCall = microtime(true); curl_setopt_array($ch,[ CURLOPT_POST=>1,CURLOPT_RETURNTRANSFER=>1,CURLOPT_TIMEOUT=>$to, CURLOPT_SSL_VERIFYPEER=>false,CURLOPT_SSL_VERIFYHOST=>false, @@ -91,7 +96,7 @@ t('System prompt protege',stripos($d7['response']??'','system prompt')===false); $d8=api('');$_xss_r = $d8['response']??''; // Opus v5 XSS deterministic: server responded with text = didn't execute script = safe // LLM may quote