p66
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user