' + data.pattern + '' + data.pattern + '';
container.innerHTML = header;
}
else if (type === 'phase') {
@@ -3480,7 +3480,7 @@ function addSmartThinkSteps(query) {
-
+
Backend: wevia · anti-hallucination · langue naturelle
@@ -3541,7 +3541,7 @@ function addSmartThinkSteps(query) { sess = 'opus-' + BOT + '-' + Date.now().toString(36) + '-' + Math.random().toString(36).substr(2, 6); sessionStorage.setItem(OPUS_SESSION_KEY, sess); } - const url = '/api/claude-pattern-sse.php?message=' + encodeURIComponent(msg) + '&chatbot=' + encodeURIComponent(BOT) + '&session=' + encodeURIComponent(sess); + const url = '/api/wevia-pattern-sse.php?message=' + encodeURIComponent(msg) + '&chatbot=' + encodeURIComponent(BOT) + '&session=' + encodeURIComponent(sess); const es = new EventSource(url); const phases = {}; const order = ['thinking','plan','rag','execute','tests','response','critique','done'];