fix: include embedded agent error cause in reply

This commit is contained in:
Peter Steinberger
2026-01-03 21:30:43 +00:00
parent 5493772910
commit 934f891932
2 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -2291,7 +2291,7 @@ export async function getReplyFromConfig(
return finalizeWithFollowup({
text: isContextOverflow
? "⚠️ Context overflow - conversation too long. Starting fresh might help!"
: "⚠️ Agent failed. Check gateway logs.",
: `⚠️ Agent failed before reply: ${message}. Check gateway logs for details.`,
});
}