continue icon indicating copy to clipboard operation
continue copied to clipboard

Continue Plugin throws an UnsupportedOperationException while streaming response when context provided is 32.5 KB or more

Open swati-git opened this issue 1 year ago • 1 comments

Before submitting your bug report

Relevant environment info

- OS: Windows
- Continue: 0.0.27
- IDE : IntelliJ IDEA 2023.2.4 (Community Edition)
- LLM : CodeLama

Description

Continue plugin when used with IntelliJ IDEA ,throws an UnsupportedOperationException when the Context provided is of size 32.5 KB or more. continue_stacktrace.txt

To reproduce

Pre-Requisites:
A LLM available to process your prompts.

  1. Install the aforementioned Continue plugin version on IntelliJ.
  2. Select an LLM of your choice, in this case CodeLlama-34b-Instruct-hf.
  3. Provide a Context that is of size 32.5 KB or more. In this case a function written in Java 17.
  4. Provide a prompt to refactor the function .

Log output

No response

swati-git avatar Jan 22 '24 04:01 swati-git

@swati-git Thanks for sharing the log. I've found the problem and have a fix, but we're working on a more roundabout method of solving this and many other long-awaited updates for JetBrains, so I'm going to ship them all at once this weekend. I will share a new version as soon as I have it ready, potentially even before it gets accepted to the store if you'd like early access

sestinj avatar Jan 24 '24 17:01 sestinj

I'm just getting around to looking through older issues and found that this one has been solved, so I'm going to close the issue. Please let me know if for some reason the problem is still happening!

sestinj avatar May 23 '24 01:05 sestinj