Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alibaba Cloud AI Coding Assistant搜索无效 #202

Open
huangsong2888 opened this issue Sep 1, 2023 · 8 comments
Open

Alibaba Cloud AI Coding Assistant搜索无效 #202

huangsong2888 opened this issue Sep 1, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@huangsong2888
Copy link

IntelliJ IDEA Community Edition 2023.1.1 安装好Alibaba Cloud AI Coding Assistant后搜索不生效。

image

image

@huangsong2888 huangsong2888 added the bug Something isn't working label Sep 1, 2023
@zxdxjtu
Copy link
Collaborator

zxdxjtu commented Sep 1, 2023

补全可以吗?看日志主要是补全模型没有下载成功,不知道网络是否能够联通aliyun oss?如果网络没有被限制的话,建议尝试下删除cosy进程,删除~/.cosy目录,重启IDE,如果还是不行的话,麻烦发送下完整的cosy.log文件

@huangsong2888
Copy link
Author

补全也不行,日志如下

cosy.log

@zxdxjtu
Copy link
Collaborator

zxdxjtu commented Sep 1, 2023

是公司内网环境吗?看起来是网络不行,cosy的模型环境没有下载成功,cosy没有成功启动。如果网络没有被限制的话,建议尝试下删除cosy进程,删除~/.cosy目录,重启IDE。
如果网络还是不行的话,可以尝试all-in-one版本,cosy会把一些模型文件提前打包到插件包里。
https://toolkit.aliyun.com/idea/cosy-intellij-beta-latest-all-in-one.zip

@huangsong2888
Copy link
Author

使用all-in-one版本还是不太行,日志如下
cosy.log

@huangsong2888
Copy link
Author

每次重启IDEA会有错误
java.lang.Throwable: invalid config content:null
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
at com.alibabacloud.intellij.cosy.core.BinaryManager.getVersionString(BinaryManager.java:328)
at com.alibabacloud.intellij.cosy.core.BinaryManager.checkBinaryVersion(BinaryManager.java:157)
at com.alibabacloud.intellij.cosy.core.BinaryManager.checkCosy(BinaryManager.java:81)
at com.alibabacloud.intellij.cosy.core.BinaryManager.checkCosy(BinaryManager.java:58)
at com.alibabacloud.intellij.cosy.CosyLoader.lambda$componentsInitialized$0(CosyLoader.java:29)
at java.base/java.lang.Thread.run(Thread.java:833)

@huangsong2888
Copy link
Author

java.lang.Throwable: invalid config content:null
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
at com.alibabacloud.intellij.cosy.core.BinaryManager.getVersionString(BinaryManager.java:328)
at com.alibabacloud.intellij.cosy.core.BinaryManager.checkBinaryVersion(BinaryManager.java:157)
at com.alibabacloud.intellij.cosy.core.BinaryManager.checkCosy(BinaryManager.java:81)
at com.alibabacloud.intellij.cosy.core.BinaryManager.checkCosy(BinaryManager.java:58)
at com.alibabacloud.intellij.cosy.core.Cosy$1.run(Cosy.java:125)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:429)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:114)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:480)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)

@liulhdarks
Copy link
Collaborator

麻烦看一下操作系统的时间有没有滞后或者超前?

@huangsong2888
Copy link
Author

没有

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants