devika icon indicating copy to clipboard operation
devika copied to clipboard

Devika isn't responding

Open ilearnio opened this issue 1 year ago • 13 comments

Aparentely because the agent's state on backend is null

image

ilearnio avatar Mar 28 '24 04:03 ilearnio

+1, I'm facing same issue

arunbhati avatar Mar 28 '24 05:03 arunbhati

same issue here

sainudheenp avatar Mar 28 '24 06:03 sainudheenp

Have you guys pulled the latest code ? Because fix had been already merged, 12 hrs ago approx..

If yes, please check whether you have configured your API's correctly for LLM..

rajakumar05032000 avatar Mar 28 '24 07:03 rajakumar05032000

If the issue still exist, can someone send the full logs and also would like to know which model you are using? ( I have tested well with Ollama & Groq mixtral) not with Open AI models

rajakumar05032000 avatar Mar 28 '24 07:03 rajakumar05032000

Both Ollama and Groq, this is log from UI.

image

Agent is not in completed state image

zxconan avatar Mar 28 '24 07:03 zxconan

Both Ollama and Groq, this is log from UI.

image Agent is not in completed state image

As I can see from the logs, token_usage is 322 & agent is also active, which means your task is getting executed .

rajakumar05032000 avatar Mar 28 '24 07:03 rajakumar05032000

Aparentely because the agent's state on backend is null

image

Those who are facing issues, can you please create a new project in devika UI and and then add your query & check?

Only first prompt in a devika project, works and rest of the prompts yield no response from devika..

Only if devika itself asks you question, then only second or consequent prompts will yield response from devika..its a known issue.

rajakumar05032000 avatar Mar 28 '24 08:03 rajakumar05032000

similar thing happening in new project with the first prompt

ysr171 avatar Mar 28 '24 08:03 ysr171

keep sleeping

image

a new project and first prompt image

zxconan avatar Mar 28 '24 08:03 zxconan

keep sleeping

image a new project and first prompt image

Can you please send the full devika UI screenshot and logs of devika_agent.log file (which is present in logs folder) and also the model name.

rajakumar05032000 avatar Mar 28 '24 08:03 rajakumar05032000

For ollama, there is an import missing. I've fixed it in my PR : #215

Guillaume351 avatar Mar 28 '24 11:03 Guillaume351

keep sleeping image a new project and first prompt image

Can you please send the full devika UI screenshot and logs of devika_agent.log file (which is present in logs folder) and also the model name.

Facing same issue as @zxconan , any resolution found for this?? devika is sleeping and does not reply, most of the logs are similar to one's shared by @zxconan . I am using openAI keys

sengarshiv avatar Mar 29 '24 19:03 sengarshiv

image

I don't think this kind of polling is really the right approach to this. We should use https://pypi.org/project/pusher/ events to send any communication needed from the backend to the UI.

NIkhilbadveli avatar Mar 31 '24 10:03 NIkhilbadveli

fetch the latest changes. already fixed

ARajgor avatar Apr 03 '24 19:04 ARajgor