continue icon indicating copy to clipboard operation
continue copied to clipboard

Chat hangs in PyCharm on first prompt

Open icct-galvarez opened this issue 10 months ago • 3 comments

Before submitting your bug report

Relevant environment info

- OS:macOS 14.3 (23D56)
- Continue: 0.0.39
- IDE: PyCharm 2023.3.4 (CE)
- Tried with a few LLMs

Description

I installed Continue today through the plugin marketplace in PyCharm but haven't been able to successfully execute a first prompt yet following the instructions in continue_tutorial.py. The log seems to indicate that I don't have the most up-to-date version of Continue, but I do have 0.0.39, which seems to be the latest release. I tried to toggle the GitHub Copilot plugin on/off, in case that was interfering, but observed no change. I chatted with Tyler at the Austin Data Council conference and he wasn't able to quickly diagnose, so I am submitting a full issue ticket. Thanks for your assistance!

To reproduce

Here's the chat hanging:

Screenshot 2024-03-28 at 1 53 56 PM

and a confirmation of my Continue version:

Screenshot 2024-03-28 at 1 54 53 PM

Log output

(edited with full log file)

[info] Starting Continue core...
[info] Starting Continue core... 
Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."} 
Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."}
Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_complete

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."} 
Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_complete

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."}
Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."} 
Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."}
[info] Exiting Continue core... 
[info] Starting Continue core...
[info] Starting Continue core... 
Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."} 
Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."}
Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."} 
Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."}
Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."} 
Error running handler for "command/run":  Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."}
Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."} 
Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."}
Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."} 
Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."}
Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

{"message":"Please upgrade to the latest version of Continue to continue using the free trial."} 
Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://node-proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat

icct-galvarez avatar Mar 28 '24 18:03 icct-galvarez

@icct-galvarez Just fixed, thank you for pointing this out! It should just work now without changing anything

sestinj avatar Mar 28 '24 20:03 sestinj

Great, this does work on my end now! Thanks for the speedy assistance and looking forward to exploring this exciting tool.

icct-galvarez avatar Mar 28 '24 21:03 icct-galvarez

I have the latest version installed 0.0.39 in PhpStorm and my chat hangs with any of these models: image

I would like to provide the logs but have not found out where they might be.

prefonty avatar Mar 29 '24 20:03 prefonty