Open Cerisk opened 1 year ago
Added example of the issue in the attached file:
@Cerisk thanks for the bug report. Are there any error logs in the dev tools console? ( Help / Toggle Developer Tools )
I'll dig into this one. I think #46 can help debug this.
It may have been a network issue because when I am running it on different networks it is fine. I am not on the network with the original problems. I also won't be on it for a few days. At least wanted to give an update.
I added more logs so if that happens again you should be able to see what's going on by running the command "Rubberduck: Show Logs" from the palette.
You can also configure the log level. It's "info" by default (so you will see errors), but you can go down to "debug" if you are having trouble. That will help us debug what's happening here.
Describe the bug
During some instances of the generating feature, the code will stop typing and Rubberduck will be stuck on "generating" in a loop. This seems to happen randomly with it sometimes freezing on shorter/simpler prompts and more detailed/longer code sessions.
How to reproduce
Since it seems to be sporadic, it is difficult for a clear answer. Usually when it involves imports or writing entire programs from scratch is where it will run into issues.
Expected behavior
Completing the code, or having a timeout function so that users can know if there is an issue related to it pulling it from the api/connection issues.
Additional information
This is something I ran into while playing around with it so if it is an individual issue, or this is an expected behavior due to the way it is pulling the information or how it interacts with my installation of vs-code (installed on Fedora 37 using flatpak). I will run some tests on my home environment which uses Windows 11 and has a more stable connection. I at least wanted to report this in case it may not have been known or get clarification as to if this was an expected behavior of how it interacts with OpenAI.