Open rcastagno opened 1 month ago
Curiously, the 0.0.47 seems to work just fine in Jetbrains Writerside, so maybe is a conflict among plugins?
I am having similar issues but only in one single Laravel project. The rest of my projects seem to work fine. I am using PHPStorm. It seems to have an issue index parsing all the vendor and node_modules folder, runs out of memory in nodejs (javascript heap out of memory error) and crashes, then the java pipe is being closed fires. The Model chooser UI in Continue will be empty, and say no models found. If I delete vendor and node_modules directories from my project folder, it will load continue, take a minute, then start indexing and finally show the green dot indicator.
I have hundreds of lines in my core.log that are similar to this [2024-05-29T20:21:39] Error parsing line: {"messageId":"1707ae98-cda0-4761-8ce1-0fd1a0e0a74a","messageType":"readFile","data":"\u003c?php decl...identification \u003c%s\u003e\u0027,\n $id,\n ),\n );\n }\n}\n"} SyntaxError: Unexpected token { in JSON at position 8192
It just seems to happen for this particular project.
I've checked and found similar errors I missed the first time, because they were at the very beginning.
May it be that my project is simply too large? (which it is, by the way, it's multiple sub-projects etc.)
Adding "disableIndexing": true,
to the config seems to allow the plugin to fully load, so it seems to actually be something related to indexing.
Before submitting your bug report
Relevant environment info
Description
Plugin 0.0.47 is not working, is not loading the model list, etc. Plugin 0.0.46 is loading the models from Ollama, but seems not to be working properly (I'm unable to select models, etc) Plugin 0.0.45 is loading the models from Ollama, and allows me to change model and interact with the chat, etc.
To reproduce
No response
Log output