void icon indicating copy to clipboard operation
void copied to clipboard

Not getting LLM response from the Sidebar component

Open Abraham599 opened this issue 1 year ago • 5 comments

The steps I took to run the extension :-

  1. forked and cloned the repo of void (https://github.com/voideditor/void)
  2. Opened the extensions/void as a Window in VS code
  3. npm install
  4. npm run build
  5. pressed f5 to run the extension
  6. create a new api key from anthropic's console and then copied it
  7. pressed (CTRL+,) to open the Settings and then typed Void
  8. Set the api key for anthropic key-value pair in the environment variable for both User and Workspace
  9. pressed (CTRL+L) to open the Sidebar then again (CTRL+L) to highlight a line of code to specify some changes
  10. for this case, I just asked the LLM to add a new line below the highlighted line of code. After which it simply doesn't return me a response for a long time even though after clicking on the button the text of the button changes to "Stop".

Checkout this image

image

Abraham599 avatar Sep 23 '24 07:09 Abraham599

Seems to be a problem on Windows 11 systems. We should look into what's causing this.

mathewpareles avatar Sep 24 '24 04:09 mathewpareles

If you have not subscribe to any plan, you would not be able to call anthropic api. Would be useful to see the error logs when it is attempting to call the API, currently we it just got stuck and not sure what is happening in the background.

khy-sothavirak avatar Oct 01 '24 05:10 khy-sothavirak

@khy-sothavirak I don't get what you are saying. What subscription plan are you talk about ? There is absolutety no necessity for the contributors to subscribe to a plan in order to contribute to Void.

Here is my debug console when I run the extension and prompt something. There are literally no errors.

image

Abraham599 avatar Oct 01 '24 08:10 Abraham599

Subscription to the Anthropic, you need to have credit to call their APIs. Btw... from above console, the apikey is empty, is that expected?

khy-sothavirak avatar Oct 04 '24 23:10 khy-sothavirak

I already have the credits. The api key is set, I have blurred it with a black strip in the image.

Abraham599 avatar Oct 05 '24 04:10 Abraham599

We added error handling and updated Settings, so this should be fixed. @Abraham599 if this continues to be a problem, DM me or open up a new issue.

andrewpareles avatar Oct 18 '24 07:10 andrewpareles