-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Windows][Jetbrains]Intellij IDE plugin can't read and refresh config.json file #3691
Comments
Maybe the same problem as me : And I actually found some guys reporting the same issue in the [-help] channel on discord:
Although the fixed the issue about couldn't open the config file when clicking the settings icon in #3608, I think the problem still exists when the plugin first load default config and refreshe |
Hey, this was fixed in #3494 |
hi, @lkk214 I think I will pull the latest code and try to build again. |
Hi, @lkk214 But I still found new similar problems, I think it is also caused by the same bug, but it has not been fixed: When I select a piece of code and use the CTRL+I shortcut key, as shown in the screenshot, you can see that the model name is not displayed, only show a null And at the same time, the log in the Run Extension window:
Although the model name in config.json cannot be loaded here, the API can be called after sending the question @sestinj Could you please continue to check this issue ,thank you |
I searched the error message in issues list,and foundthis issue #2952 ,It reported the same error message. It mainly mentioned the shortcut key problem. But now I can currently use the CTTL+ I shortcut key to display the input box above the selected code, but I cannot load the model configuration. |
Hi @AfterStories , so to confirm, at this point you're able to read/refresh your config.json? And the current issue you are having is the |
@Patrick-Erichsen But when using the CTRL+I function in the code file, the floating bubble shows null, I think I still can't read the content in config.json in this part. And I can see the error message when click the null :
But when I enter and send the question, the API call can run, which means it has obtained the model API url information that needs to be called, but the model name cannot be displayed Also, I could provide some help information from Ikk214 |
@AfterStories I know that the current version cannot be used, including IDE freezing and this issue about |
Thanks you @lkk214 I not only want to learn continue, but also forking and Customizing based on Continue. becasue I'm not familiar with kotlin code, so I use the Continue library, and I have a deadline from my leader to complete my dev tasks. Therefore, I hope that the IntelliJ part can have a relatively stable version so that I can continue customizing development. In fact ,currently all the featues on vscode work well, but most of the problems occur in IntelliJ. About the problem of can't get the model name in CTRL+I bubble , I think I can lower the priority on my side, because in my design, I only need one model, so I temporarily hard-code the display here as a fixed string. Maybe in the future when I have time, I can try your #3494 PR to build, but at least it is still a problem in the current main branch. the current IDE freezing issues, I think continue team should fix it as a high priority, at least, let IntelliJ dont to be die... |
Um, I discovered this freezing issue when I updated the code the day before yesterday and fixed it locally. It will definitely be fixed in the next version, at least the current version cannot be used. |
@Patrick-Erichsen |
Before submitting your bug report
Relevant environment info
Description
When I use Intellij to the debug [ Run Continue ] task to start the plugin, a new Intellij window pops up, it cannot read the default config.json file and content, and gets an error message:
Error handling message of type fileExists: java.lang.IllegalArgumentException: URI has an authority component
To reproduce
I use Windows, so I commented out the compile for other systems , and run
.\scripts\install-dependencies.ps1
3 .Use the latest version of Intellij 2024.3.1 and start Run Continue
Error handling message of type fileExists: java.lang.IllegalArgumentException: URI has an authority component
I guess maybe there is some problem in the communication between intellIJ and webivew ?
And I checked that the
extensions\.continue-debug\config.json
file was indeed generated, not because the file does not existContinue Plugin Model Refresh Issue on Windows 7 with IntelliJ IDEA 2023.1.7 #3651
After version 0.0.84 is installed, clicking the configuration button cannot open the configuration file, resulting in unusable status. #3545
And, you mentioned that you fixed a problem about couldn't open the config file when clicking the settings icon:
#3608
But the problems I'm facing now are somewhat similar. Continue can't read the default config when startup and can't refresh the config when modifying the model
You mentioned: was attempting to open a path with ide.openFile rather than a URI
so I guess when starting the continue plugin in IntelliJ, is it true that the logic of automatically reading config.json still uses URI, resulting in failure to automatically read the default configuration?
8. But there will be no problem in Vscode:
Using the same code, I launched it with Vscode and it worked perfectly, reading the default config on the first launch,
and it auto refreshed when I changed the model name in config.josn file
Log output
The following is the log displayed in the Run Extension debug window when Intellijs starts continue
At the top of the log you see a message:
Cannot resolve the latest Gradle IntelliJ Plugin version
But continue can still be started in the new intllij window, I think it's just because of the network problem that it can't check the latest gradle version, but I'm already using gradle 8.3
Run Extension Log.txt
The text was updated successfully, but these errors were encountered: