devika icon indicating copy to clipboard operation
devika copied to clipboard

Interface barely working

Open mberman84 opened this issue 1 year ago • 10 comments

I'm on MacOS. Settings, the terminal, the browser, none of it works. I can enter a prompt, it prepares a plan, and then it freezes and nothing happens. It gets stuck on "writing code..."

mberman84 avatar Mar 24 '24 17:03 mberman84

I have been seeing the same on an ubuntu VM. if you ask it what it is doing, it seems to be changing the answer but it won't show me any code... (yet?)

cornasdf avatar Mar 24 '24 18:03 cornasdf

I think it is just very slow. i asked it to show code and it seems to have written some 50 lines of python in 'app.py' in the project's directory and added two requirements to requirements.txt. Took about 45 mins on my VM. I don't seem to be pushing any significant mem or CPU usage.

cornasdf avatar Mar 24 '24 18:03 cornasdf

Just in case if you haven't looked at, at the end of the run there's a projects folder that gets created in the cloned repo and from where you have run the server. Inside that you will see the artifacts that it has generated during it's run. But at the moment i don't see any helpful artifacts being generated, it just adds some psudo code and bunch of common information.

moinuddin14 avatar Mar 24 '24 19:03 moinuddin14

Just wanted to add on this, as I am experiencing the same. Clicking on Settings and Logs, doesn't do anything.
It started writing code, but just a simple hello world server, and after that it just stopped (?) Would be nice to understand better what it is actually doing at any given time.

MyNameIsOka avatar Mar 25 '24 01:03 MyNameIsOka

Did your flask terminal throw any error , it should throw an error ususally when things get stuck in between

Or the error might have missed because of api calls

RohitX0X avatar Mar 25 '24 09:03 RohitX0X

Same thing happening with me. The UI gets stuck after showing writing code.. and when I asked explicitly to show the code, it showed me the code. Also, @moinuddin14 comment is accurate, it will show the results in the file, even if the status is stuck in UI. Probably looks like some frontend issue here. No errors found in server logs

Captainnik53 avatar Mar 25 '24 15:03 Captainnik53

The UI gets stuck and I cannot change any settings or view logs. I realized that it hangs if the BING API KEY has an issue - This seemed to fix it hanging on browsing the web to research. However now it hangs on writing code, When I check the project folder the code had been written however Devika is stuck on writing code ... Also the terminal is blank, it doesn't show the actions.

lolsZz avatar Mar 25 '24 16:03 lolsZz

I have been running it in WSL. Same issues :(

11philip22 avatar Mar 26 '24 16:03 11philip22

Everyone, fetch the latest changes and run it again.then share your thoughts.

ARajgor avatar Apr 03 '24 18:04 ARajgor

I did try to fetch teh latest and try again but I couldn't get the agent online and the system was unusable. Will try again in a week or so...

cornasdf avatar Apr 22 '24 10:04 cornasdf

Same here, it gets the first task done, then gets stuck until I restart Devika or delete the project and restart.

SkelegonDK avatar Apr 25 '24 09:04 SkelegonDK

fixed. fetch the latest changes. for more read the changelog in discord.

ARajgor avatar Apr 25 '24 09:04 ARajgor