chore(auto-reply): include cwd in timeout message
This commit is contained in:
@@ -341,7 +341,7 @@ export async function runCommandReply(
|
||||
);
|
||||
const baseMsg =
|
||||
"Command timed out after " +
|
||||
`${timeoutSeconds}s. Try a shorter prompt or split the request.`;
|
||||
`${timeoutSeconds}s${reply.cwd ? ` (cwd: ${reply.cwd})` : ""}. Try a shorter prompt or split the request.`;
|
||||
const partial = errorObj.stdout?.trim();
|
||||
const partialSnippet =
|
||||
partial && partial.length > 800 ? `${partial.slice(0, 800)}...` : partial;
|
||||
|
||||
Reference in New Issue
Block a user