Describe the bug
During interaction with copilot, it occasionally aborts the task and says "Session token expired. Please resend your message", which ruins users' experience, especially when users expect autopilot to work a long term task and go for other works/relaxation.
Affected version
1.0.32
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
log:
{
"status": 401,
"headers": {},
"requestID": null,
"request_id": null,
"ghRequestId": "(... omitted ...)",
"name": "CAPIError",
"message": "401 401 Invalid auto-mode selector\n",
"stack": "CAPIError: 401 401 Invalid auto-mode selector\n\n at t.fromAPIError (file:///home/user/.copilot/pkg/universal/1.0.32/app.js:1177:1047)\n at Ept.getCompletionWithTools (file:///home/user/.copilot/pkg/universal/1.0.32/app.js:1989:13858)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async OBe.getCompletionWithTools (file:///home/user/.copilot/pkg/universal/1.0.32/app.js:2005:3567)\n at async t.runAgenticLoop (file:///home/user/.copilot/pkg/universal/1.0.32/app.js:2530:3389)\n at async t.processQueuedItems (file:///home/user/.copilot/pkg/universal/1.0.32/app.js:2528:9112)\n at async t.processQueue (file:///home/user/.copilot/pkg/universal/1.0.32/app.js:2528:3027)\n at async t.send (file:///home/user/.copilot/pkg/universal/1.0.32/app.js:2526:4039)"
}
Describe the bug
During interaction with copilot, it occasionally aborts the task and says "Session token expired. Please resend your message", which ruins users' experience, especially when users expect autopilot to work a long term task and go for other works/relaxation.
Affected version
1.0.32
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
log: