配置ai后测试提示:Error: Cannot read properties of undefined (reading '0'),实际依然能使用ask模式,但是使用不了agent模式
Author: hnangCreated Sep 7, 2026Updated Sep 12, 2026
Electerm Version and download file extension(Electerm版本和下载文件后缀)
electerm-xx.xx.xx-win-x64-installer.exe
Platform detail (平台详情)
windows 11
What steps will reproduce the bug?(重现问题的详细步骤)
配置ai接口和密钥,点击测试提示Error: Cannot read properties of undefined (reading '0') 在主窗口点击左下角ai进行使用,ask模式可以正常问答,agent模式依然提示Error: Cannot read properties of undefined (reading '0')
What should have happened?(期望的结果)
正常使用agent模式
Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)
No response
Additional information(其他任何相关信息)
No response
Source: electerm/electerm