continue icon indicating copy to clipboard operation
continue copied to clipboard

Jetbrains Extension (EAP v0.0.76) breaks chat / embeddings for all projects

Open chubshaun opened this issue 2 years ago • 8 comments

Before submitting your bug report

Relevant environment info

- OS: Mac Monterey
- Continue version: v0.0.76
- IDE version: WebStorm 2024.2.3
- Model: Any
- config.json:
  
{
  "models": [
    {
      "model": "claude-3-5-sonnet-20240620",
      "contextLength": 200000,
      "title": "Claude 3.5 Sonnet",
      "apiKey": "sk-***********",
      "provider": "anthropic"
    }
  ],
  "allowAnonymousTelemetry": false,
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Starcoder2 3b",
    "provider": "ollama",
    "model": "starcoder2:3b"
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit selected code"
    },
    {
      "name": "comment",
      "description": "Write comments for the selected code"
    },
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ],
  "embeddingsProvider": {
    "provider": "ollama",
    "model": "nomic-embed-text"
  },
  "reranker": {
    "name": "free-trial"
  }
}

Description

Continue Chat sidebar no longer shows any models, it's just empty and thus no queries can be made. I haven't made any changes - literally the only thing was updating from v0.0.75 to v0.0.76.

Config shows Indexing spinning endlessly on any repository:

image

To reproduce

No response

Log output

core.log

[info] Starting Continue core...
[2024-10-21T15:01:08] [info] Starting Continue core... 
[2024-10-21T15:01:08] Setup 
[2024-10-21T15:01:08] Core started 
[2024-10-21T15:01:11] LanceDBIndex, skipping .mock-data/mocks.jsonl: Error: did not chunk properly 
[2024-10-21T15:02:08] [info] Exiting Continue core... 
[info] Starting Continue core...
[2024-10-21T15:02:19] [info] Starting Continue core... 
[2024-10-21T15:02:19] Setup 
[2024-10-21T15:02:19] Core started 
[2024-10-21T16:15:35] [info] Exiting Continue core... 
[info] Starting Continue core...
[2024-10-21T16:17:45] [info] Starting Continue core... 
[2024-10-21T16:17:45] Setup 
[2024-10-21T16:17:45] Core started

chubshaun avatar Oct 21 '24 16:10 chubshaun

@chubshaun thanks for flagging this and sharing your config/environment, will get back to you here ASAP.

Patrick-Erichsen avatar Oct 21 '24 16:10 Patrick-Erichsen

@chubshaun - could you try a few things to troubleshoot this?

  • Disable indexing by adding this to the root of your config.json: "disableIndexing": true,
  • Quit out of WebStorm and re-open

Patrick-Erichsen avatar Oct 21 '24 17:10 Patrick-Erichsen

I have the same problem. Model list is empty. Adding "disableIndexing" doesn't help. Everything is working fine on the same config in VS Code. I tried restart, reinstalling the extension and even deleting ~/.continue directory. Nothing helps. Log file looks exactly the same as the one pasted by @chubshaun.

PyCharm: image

VS Code: image

nomarek avatar Oct 21 '24 21:10 nomarek

@nperez0111 @chubshaun I've just released v0.0.77 that should resolve this issue. The root of the bug is that we were attempting to set permissions on a file that no longer exists in the build.

Please let me know if the issue is resolved for you with the new release!

Patrick-Erichsen avatar Oct 22 '24 00:10 Patrick-Erichsen

Thank you! This patch helped. It's working now.

nomarek avatar Oct 22 '24 07:10 nomarek

Hi, thanks for solving this bug! After updating, it was still blocked on the old bugged chat (from v0.0.76). I opened the history, accessed an even older chat that was working, then opened a new one, and now it works flawlessly 😃

LucaSoato avatar Oct 22 '24 08:10 LucaSoato

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Mar 03 '25 04:03 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Mar 14 '25 02:03 github-actions[bot]