fix: include embedded agent error cause in reply
This commit is contained in:
1 parent
5493772910
commit
934f891932
2 files changed
+25
-1
No files matched your search
@@ -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.`,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user