Fix formatting of 'Agent failed before reply' error messages
- Remove hardcoded period after error message to avoid double periods - Move 'Check gateway logs for details' to a new line for better readability
This commit is contained in:
committed by
Peter Steinberger
parent
a4e57d3ac4
commit
e6fdbae79b
@@ -514,7 +514,7 @@ export async function runAgentTurnWithFallback(params: {
|
||||
? "⚠️ Context overflow — prompt too large for this model. Try a shorter message or a larger-context model."
|
||||
: isRoleOrderingError
|
||||
? "⚠️ Message ordering conflict - please try again. If this persists, use /new to start a fresh session."
|
||||
: `⚠️ Agent failed before reply: ${message}. Check gateway logs for details.`,
|
||||
: `⚠️ Agent failed before reply: ${message}\nCheck gateway logs for details.`,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user