This commit is contained in:
team 1
2026-05-09 11:49:54 +02:00
parent bd62248c8d
commit 7f25335c44
5 changed files with 87 additions and 2 deletions

View File

@@ -4516,7 +4516,10 @@ final readonly class AgentRunner
$noLlmMessage = $this->agentRunnerConfig->getProductionUiText('no_llm_history_default');
}
$parts[] = 'Systemhinweis: ' . $noLlmMessage;
$parts[] = $this->renderAgentTemplate(
$this->agentRunnerConfig->getHistoryResponseSystemNoticeTemplate(),
['message' => $noLlmMessage]
);
}
return trim(implode("\n\n", $parts));
@@ -5015,7 +5018,10 @@ final readonly class AgentRunner
if (!$this->debug) {
return $this->agentRunnerConfig->getGenericInternalErrorMessage()
. '<br><small>Technischer Fehler: ' . $safeMessage . '</small>';
. $this->renderAgentTemplate(
$this->agentRunnerConfig->getTechnicalErrorDetailTemplate(),
['message' => $safeMessage]
);
}
return $this->agentRunnerConfig->getDebugInternalErrorPrefix()