-
Notifications
You must be signed in to change notification settings - Fork 756
Description
Describe the bug
After installing copilot cli, Getting below error while prompting.
Execution failed: Cannot read properties of undefined (reading 'map')
Version 0.0.334 · Commit 26896a6
Below are few trials cause same error.
Diff models
Non-interective mode
same error from vscode and mobxterm
Affected version
No response
Steps to reproduce the behavior
gh auth login
npm install -g @github/copilot@latest
export NODE_OPTIONS="--use-openssl-ca"
export NODE_EXTRA_CA_CERTS="/etc/ssl/certs/ca-certificates.crt"
copilot
prompt cause Execution failed: Cannot read properties of undefined (reading 'map')
Without setting certs, it causes Execution fails due to proxy.
Expected behavior
prompt to be responded.
Additional context
Ubantu 22.04, VScode/Mobxterm, Remove linux server
2025-10-04T13:37:09.363Z [DEBUG] AnthropicTokenLimitErrorTruncator will truncate up to message: {"role":"user","content":"diagnostic test\n\n\nYou have the capability to call multiple tools in a single response. For maximum efficiency, whenever you need to perform multiple independent operations, ALWAYS call tools simultaneously whenever the actions can be done in parallel rather than sequentially.\nEspecially when exploring repository, searching, reading files, viewing directories, validating changes, reporting progress or replying to comments. For Example you can read 3 different files parallelly, or report progress and edit different files in parallel. Always report progress in parallel with other tool calls that follow it as it does not depend on the result of those calls.\nHowever, if some tool calls depend on previous calls to inform dependent values like the parameters, do NOT call these tools in parallel and instead call them sequentially.\n\n\n\nThe user may have mentioned images, if so these will have been attached to this message, in the order they were mentioned\n"}
2025-10-04T13:37:09.462Z [DEBUG] {
"failIfInitialInputsTooLong": false,
"processors": {
"preRequest": [
"BasicTruncator",
"AnthropicTokenLimitErrorTruncator"
]
},
"executeToolsInParallel": false,
"abortSignal": {}
}
2025-10-04T13:37:09.464Z [END-GROUP]
2025-10-04T13:37:10.482Z [START-GROUP] Sending request to the AI model
2025-10-04T13:37:10.773Z [END-GROUP]
2025-10-04T13:37:10.773Z [DEBUG] Command threw error: TypeError: Cannot read properties of undefined (reading 'map')