-
Hi,
Thank you for using my plugin and reporting the problem.
I am about to release a new version today which should resolve it.
As a workaround right now you can do this:
Open file:
.idea/workspace.xmland look for entries which look like this:"GROK_4_1": "812ce2c8-e947-88ee-a6a8-a809e64d3a62", "GROK_CODE":"ef9c6013-6e01-3c74-03de-955f246fa8a7", "GROK_NR_4_1":"d2fc3011-0d8f-f23e-349f-f4ff274b9c66",Remove all these entries, save and restart IntelliJ / Android studio.
These are last message IDs for each Grok mode. If for some reason, they get out of sync, the error appears. The new version can handle it already. But the old version requires manual intervention.
-
Hm, I am sorry this does not work for you. I will check it on Android Studio if I can replicate it.
The new version (3.0.3) is already pushed to Jetbrains Market place but it is waiting for a review.
In the meantime, I made the plugin zip file available for download here: https://diligiteiustitiam.dev/PublicFiles/~files/main/intellego
I hope this helps.
I will check this out on Android Studio and will let you know what I found.
-
To give you a better understanding of what is the problem here is the description:
The problem is caused by Grok sometimes loosing the last message ID for some reason, and then, if this message ID is included in the request, it returns an error. The plugin, in turn, cannot properly parse the error response which causes the problem.
| Type |
Support Request
|
| Priority |
Critical
|
| Assignees |
Not assigned
|
API call failed: class world.diligiteiustitiam.intellego.data.ErrorResponse cannot be cast to class world.diligiteiustitiam.intellego.data.GrokResponse (world.diligiteiustitiam.intellego.data.ErrorResponse and world.diligiteiustitiam.intellego.data.GrokResponse are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @452eb3c0)
Is the error. Help! I have done all the correct install stps.