optimize retrieve logic

This commit is contained in:
team 1
2026-04-14 12:43:43 +02:00
parent 406e59b0fd
commit 7caf6b5354
6 changed files with 51 additions and 41 deletions

View File

@@ -58,7 +58,7 @@ final readonly class AskSseController
// ---------------------------------------------------------
// 🔥 FIXED: Sende Chunks direkt (behält \n!)
// ---------------------------------------------------------
foreach ($this->agentRunner->run($prompt, $clientId) as $chunk) {
foreach ($this->agentRunner->run($prompt, $clientId,true) as $chunk) {
// Normalize line endings
$chunk = str_replace(["\r\n", "\r"], "\n", $chunk);