From 369a74cdfc7c8b08f7b299dc690d0ec477738602 Mon Sep 17 00:00:00 2001 From: Opus-Yacine Date: Fri, 17 Apr 2026 20:38:13 +0200 Subject: [PATCH] =?UTF-8?q?doctrine83=20=E2=80=94=20ethica-brain.php=20int?= =?UTF-8?q?elligent=20(sovereign:4000=20direct,=206/6=20tests=20PASS,=20au?= =?UTF-8?q?tonomy=20fix=20orchestrator=20POST=20JSON)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/wevia-sse-orchestrator.php | 2 +- ethica-chatbot.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/wevia-sse-orchestrator.php b/api/wevia-sse-orchestrator.php index a78357e93..64800322f 100644 --- a/api/wevia-sse-orchestrator.php +++ b/api/wevia-sse-orchestrator.php @@ -6,7 +6,7 @@ set_time_limit(120); ob_implicit_flush(true); while(ob_get_level())ob_end_flush(); function sse($d){echo 'data: '.json_encode($d,JSON_UNESCAPED_UNICODE)."\n\n";flush();} -$msg=$_GET['msg']??''; +$msg=$_GET['msg']??'';if(!$msg){$__b=@json_decode(@file_get_contents('php://input'),true);$msg=$__b['message']??$__b['msg']??'';} if(!$msg){sse(['error'=>'msg required']);exit;} sse(['type'=>'start','task'=>$msg,'ts'=>date('H:i:s')]); diff --git a/ethica-chatbot.html b/ethica-chatbot.html index 2e3b09b40..964832eac 100644 --- a/ethica-chatbot.html +++ b/ethica-chatbot.html @@ -72,8 +72,8 @@ header .st .l{font-size:9px;color:var(--tx2);text-transform:uppercase}