alibaba-cloud-toolkit / cosy

阿里云智能编码插件品牌升级为通义灵码,欢迎查看通义灵码帮助手册,同时也期待你在 IDE 客户端中将插件升级,我在通义灵码等你,一起开启智能编码之旅。
https://tongyi.aliyun.com/lingma
435 stars 28 forks source link

代码补全和搜索都不可用 #173

Closed jinzisen closed 1 year ago

jinzisen commented 1 year ago

Describe the bug(描述您遇到的问题) 代码补全和搜索都不可用

To Reproduce(复现步骤)

Screenshots(截图)

System(本地系统)

Contact Info(如愿意请留下联系方式,需求上线后,我们将第一时间联系您) 1049536678@qq.com

jinzisen commented 1 year ago

部分日志 2023-03-29T17:51:59.868+0800 INFO Checking update ... 2023-03-29T17:51:59.872+0800 INFO System platform x86_64_windows 2023-03-29T17:52:00.292+0800 INFO Skip update, current version: 0.2.6 2023-03-29T17:52:00.292+0800 INFO Succeed to update Cosy binary 2023-03-29T17:52:00.292+0800 WARN Failed to load model config 2023-03-29T17:52:00.357+0800 INFO Updating model to 0.0.3 2023-03-29T17:52:00.430+0800 ERROR Unable to download model: oss: service returned invalid response body, status = 416 Requested Range Not Satisfiable, RequestId = 2023-03-29T17:52:00.430+0800 ERROR Failed to update Cosy model 2023-03-29T17:52:00.430+0800 INFO No inference environment found, initialize it 2023-03-29T17:52:00.560+0800 ERROR Failed to download env file: oss: service returned invalid response body, status = 416 Requested Range Not Satisfiable, RequestId = 2023-03-29T17:52:00.560+0800 ERROR Failed to update inference env 2023-03-29T17:52:07.202+0800 INFO Checking update ... 2023-03-29T17:52:07.209+0800 INFO System platform x86_64_windows 2023-03-29T17:52:07.636+0800 INFO Skip update, current version: 0.2.6 2023-03-29T17:52:07.636+0800 INFO Succeed to update Cosy binary 2023-03-29T17:52:07.690+0800 INFO Updating model to 0.0.3 2023-03-29T17:52:07.758+0800 ERROR Unable to download model: oss: service returned invalid response body, status = 416 Requested Range Not Satisfiable, RequestId = 2023-03-29T17:52:07.758+0800 ERROR Failed to update Cosy model 2023-03-29T17:52:07.758+0800 INFO No inference environment found, initialize it 2023-03-29T17:52:07.894+0800 ERROR Failed to download env file: oss: service returned invalid response body, status = 416 Requested Range Not Satisfiable, RequestId = 2023-03-29T17:52:07.894+0800 ERROR Failed to update inference env 2023-03-29T17:52:08.286+0800 INFO ===== Starting cosy service ===== 2023-03-29T17:52:08.298+0800 INFO Preparing inference environment 2023-03-29T17:52:08.299+0800 ERROR Failed to read raw environment file 2023-03-29T17:52:08.299+0800 ERROR Local inference environment is not ready, please try to restart IDE

liulhdarks commented 1 year ago

看上去是下载模型失败了,可以试试all-in-one版本,https://toolkit.aliyun.com/idea/cosy-intellij-beta-latest-all-in-one.zip

jinzisen commented 1 year ago

好的 我试试