devika
devika copied to clipboard
No Reply From Devika
After setup of Devika in Ubuntu System is done and ran, Getting no reply from Devika form any Model. Response in python console after running devika.py file:
{ "from_devika": false, "message": "Tokens used", "timestamp": "2024-03-27 10:31:30" }
Kindly make a note on this issue I am getting for Devika AI
Already created PR , which solves this issue. PR : #190
@rajakumar05032000 Have the PR merged into main branch already? I pulled but still the same
190 pr does not fix issue
@rajakumar05032000 , issue still exist.
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)
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, yields response from devika and rest of the prompts yield no response from devika..
Unless devika itself asks you question, then only second or consequent prompts will yield response from devika..its a known issue.
So please create a new project in devika UI and check with a prompt..
Recently, tested Again this fix with Chatgpt, Groq, Claude models also, it works fine as expected!
@niazikashif thanks for helping in testing with ChatGPT models.
for people who are using Groq models, please make sure to add this fix from #193 (which fixes groq client issues, only then it will work) and then try.
Hello @rajakumar05032000 thank you for your suggestion, once when I tried creating new project in Devika UI also, I am still getting no reply, kindly note the below response, I get and the issue is still existing.
24.03.28 14:37:13: root: INFO : /api/get-messages POST 24.03.28 14:37:13: root: DEBUG : /api/get-messages POST - Response: { "messages": [ { "from_devika": false, "message": "Hello", "timestamp": "2024-03-28 14:36:54" } ] }
Hello @rajakumar05032000 thank you for your suggestion, once when I tried creating new project in Devika UI also, I am still getting no reply, kindly note the below response, I get and the issue is still existing.
24.03.28 14:37:13: root: INFO : /api/get-messages POST 24.03.28 14:37:13: root: DEBUG : /api/get-messages POST - Response: { "messages": [ { "from_devika": false, "message": "Hello", "timestamp": "2024-03-28 14:36:54" } ] }
Can you please send the full log of devika_agent.log file (which is present in logs folder) and also please confirm that whether you had added your API keys in config.toml file..
Hello @rajakumar05032000 thank you for your suggestion, once when I tried creating new project in Devika UI also, I am still getting no reply, kindly note the below response, I get and the issue is still existing. 24.03.28 14:37:13: root: INFO : /api/get-messages POST 24.03.28 14:37:13: root: DEBUG : /api/get-messages POST - Response: { "messages": [ { "from_devika": false, "message": "Hello", "timestamp": "2024-03-28 14:36:54" } ] }
Can you please send the full log of devika_agent.log file (which is present in logs folder) and also please confirm that whether you had added your API keys in config.toml file..
Sure @rajakumar05032000 , kindly find attachment for the devika_agent.log file and also find given image where the api key is given in hte config.toml file:
Hello @rajakumar05032000 thank you for your suggestion, once when I tried creating new project in Devika UI also, I am still getting no reply, kindly note the below response, I get and the issue is still existing. 24.03.28 14:37:13: root: INFO : /api/get-messages POST 24.03.28 14:37:13: root: DEBUG : /api/get-messages POST - Response: { "messages": [ { "from_devika": false, "message": "Hello", "timestamp": "2024-03-28 14:36:54" } ] }
Can you please send the full log of devika_agent.log file (which is present in logs folder) and also please confirm that whether you had added your API keys in config.toml file..
Sure @rajakumar05032000 , kindly find attachment for the devika_agent.log file and also find given image where the api key is given in hte config.toml file:
Kindly, Can you please share devika_prompts.log file( which is present in same logs directory).
Hello @rajakumar05032000 thank you for your suggestion, once when I tried creating new project in Devika UI also, I am still getting no reply, kindly note the below response, I get and the issue is still existing. 24.03.28 14:37:13: root: INFO : /api/get-messages POST 24.03.28 14:37:13: root: DEBUG : /api/get-messages POST - Response: { "messages": [ { "from_devika": false, "message": "Hello", "timestamp": "2024-03-28 14:36:54" } ] }
Can you please send the full log of devika_agent.log file (which is present in logs folder) and also please confirm that whether you had added your API keys in config.toml file..
Sure @rajakumar05032000 , kindly find attachment for the devika_agent.log file and also find given image where the api key is given in hte config.toml file:
devika_agent.log
Kindly, Can you please share devika_prompts.log file( which is present in same logs directory).
Yes, Sure, Kindly find the prompts file below:
Hello @rajakumar05032000 thank you for your suggestion, once when I tried creating new project in Devika UI also, I am still getting no reply, kindly note the below response, I get and the issue is still existing. 24.03.28 14:37:13: root: INFO : /api/get-messages POST 24.03.28 14:37:13: root: DEBUG : /api/get-messages POST - Response: { "messages": [ { "from_devika": false, "message": "Hello", "timestamp": "2024-03-28 14:36:54" } ] }
Can you please send the full log of devika_agent.log file (which is present in logs folder) and also please confirm that whether you had added your API keys in config.toml file..
Sure @rajakumar05032000 , kindly find attachment for the devika_agent.log file and also find given image where the api key is given in hte config.toml file:
devika_agent.log
Kindly, Can you please share devika_prompts.log file( which is present in same logs directory).
Yes, Sure, Kindly find the prompts file below:
Thanks for sharing! Devika is not communicating with your LLM for some reasons. If possible can you please try with groq model(which is free now for now & can be accessed easily just by google sign-in.).
-> Kindly please do pull the latest changes ( as few changes got merged a hr ago) and restart devika.py file & UI. -> Kindly also update config.toml file with new API key. -> Create a new devika project and try with some command like "create a flappy bird game" or something like that , instead of simple "Hi" message.
Thanks for your patience! Looking forward to hear from you soon!
create a flappy bird game
Thank you @rajakumar05032000, after creating a groq key and using it, I am getting reply from Devika for GORQ- llama2 LLM in my new project.
Just a kind reminder that when I pulled the latest changes, the "config.toml" file was missing, I replaced it in my local with my existing one, kindly check it, otherwise the Devika response for gorq LLM is replying.
create a flappy bird game
Thank you @rajakumar05032000, after creating a groq key and using it, I am getting reply from Devika for GORQ- llama2 LLM in my new project.
Just a kind reminder that when I pulled the latest changes, the "config.toml" file was missing, I replaced it in my local with my existing one, kindly check it, otherwise the Devika response for gorq LLM is replying.
Thanks for your patience & I am glad that I was able to solve your issue.
-> rename of config.toml to sample.config.toml was an intended change. Because with config.toml file, developers can accidentally push their API keys along with code.
Btw, If your issue got resolved, feel free to close this issue. Thank you !
fetch the latest changes. already fixed