doctrine83 — ethica-brain.php intelligent (sovereign:4000 direct, 6/6 tests PASS, autonomy fix orchestrator POST JSON)
This commit is contained in:
@@ -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')]);
|
||||
|
||||
|
||||
@@ -72,8 +72,8 @@ header .st .l{font-size:9px;color:var(--tx2);text-transform:uppercase}
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const API = '/api/opus5-weval-ia-fast-safe.php';
|
||||
const STATS_API = '/api/ethica-stats.php';
|
||||
const API = '/api/ethica-brain.php';
|
||||
const STATS_API = '/api/ethica-stats-api.php';
|
||||
const ETHICA_PREFIX = '[CONTEXTE: Tu es Ethica AI, expert pharma B2B Maghreb. Spécialisé HCP (médecins, pharmaciens, dentistes), campagnes email marketing santé, warmup, délivrabilité, RGPD santé, pricing. Base: 131K+ HCPs validés (DZ 69%, MA 15%, TN 14%). 14 spécialités. 10 senders. Réponds en expert pharma/emailing concis et actionnable.] ';
|
||||
const chat = document.getElementById('chat');
|
||||
const input = document.getElementById('input');
|
||||
|
||||
Reference in New Issue
Block a user