devika icon indicating copy to clipboard operation
devika copied to clipboard

Stuck at loading screen, agent busy?

Open cardchase opened this issue 10 months ago • 15 comments

Devika I have managed to get the webui and also have uploaded my claude api key also have the llava-34B model installed on my system.

Now, when I select the model and type anything, i am stuck at Agent is busy... at the bottom corner and nothing comes up. On ollama, I get 30t/s while Devika, I get none

Also, log file is empty.

I get this in the terminal:

24.03.27 16:01:17: root: INFO   : /api/model-list GET
24.03.27 16:01:17: root: DEBUG  : /api/model-list GET - Response: {"models":[["Claude 3 Opus","claude-3-opus-20240229"],["Claude 3 Sonnet","claude-3-sonnet-20240229"],["Claude 3 Haiku","claude-3-haiku-20240307"],["GPT-4 Turbo","gpt-4-0125-preview"],["GPT-3.5","gpt-3.5-turbo-0125"],["GROQ Mixtral","mixtral-8x7b-32768"],["llava","llava:34b"]]}

24.03.27 16:01:17: root: INFO   : /api/get-agent-state POST
24.03.27 16:01:17: root: DEBUG  : /api/get-agent-state POST - Response: {"state":null}

24.03.27 16:01:17: root: INFO   : /api/get-messages POST
24.03.27 16:01:17: root: DEBUG  : /api/get-messages POST - Response: {"messages":null}

24.03.27 16:01:17: root: INFO   : /api/token-usage GET
24.03.27 16:01:17: root: DEBUG  : /api/token-usage GET - Response: {"token_usage":0}

24.03.27 16:01:17: root: INFO   : /api/token-usage GET
24.03.27 16:01:17: root: DEBUG  : /api/token-usage GET - Response: {"token_usage":0}

24.03.27 16:01:18: root: INFO   : /api/token-usage GET
24.03.27 16:01:18: root: DEBUG  : /api/token-usage GET - Response: {"token_usage":0}

24.03.27 16:01:18: root: INFO   : /api/token-usage GET
24.03.27 16:01:18: root: DEBUG  : /api/token-usage GET - Response: {"token_usage":0}

24.03.27 16:01:18: root: INFO   : /api/project-list GET
24.03.27 16:01:18: root: DEBUG  : /api/project-list GET - Response: {"projects":["Trial","Trial","test"]}

Also, I am unable to remove an existing project

cardchase avatar Mar 27 '24 05:03 cardchase

@cardchase Same for me. when I call the API manually it works, unfortunately

machinelearningzuu avatar Mar 27 '24 05:03 machinelearningzuu

when I call the API manually it works, unfortunately

How do i call the api? Devika i.e.

cardchase avatar Mar 27 '24 05:03 cardchase

like this

image

machinelearningzuu avatar Mar 27 '24 05:03 machinelearningzuu

image also image

i am getting this. I dont know gow to get to the api

cardchase avatar Mar 27 '24 05:03 cardchase

@cardchase Use Postman not the browser

huangjingcai avatar Mar 27 '24 06:03 huangjingcai

@machinelearningzuu this is my post, but it response the same result with different prompt, what about yours? WX20240327-144638@2x

huangjingcai avatar Mar 27 '24 06:03 huangjingcai

Please add API key to get started, go to setting (http://localhost:3000/settings) and add your API key. Screenshot 2024-03-27 at 12 29 27 PM

DeekshithRajBasa avatar Mar 27 '24 06:03 DeekshithRajBasa

Please add API key to get started, go to setting (http://localhost:3000/settings) and add your API key. Screenshot 2024-03-27 at 12 29 27 PM

I did put in Claude API and I got the dropdown model but no response. Will try postman and see how it goes

cardchase avatar Mar 27 '24 07:03 cardchase

I'm getting 404 error

Screenshot from 2024-03-27 13-06-38

breax1 avatar Mar 27 '24 10:03 breax1

I fixed it but it didn't work :)

Screenshot from 2024-03-27 13-41-15

I'm getting 404 error

Screenshot from 2024-03-27 13-06-38

breax1 avatar Mar 27 '24 10:03 breax1

@huangjingcai yeah this is correct. when you call this agent start actioning. you can see the changes in the UI

machinelearningzuu avatar Mar 27 '24 10:03 machinelearningzuu

@breax1 because your end-point is incorrect. It should be http://127.0.0.1:1337/api/execute-agent

machinelearningzuu avatar Mar 27 '24 10:03 machinelearningzuu

Already created PR , which solves this issue. PR : #190

rajakumar05032000 avatar Mar 27 '24 12:03 rajakumar05032000

I installed postman however I am unsure to go from here. I have this screen on Postman: image Where am i to enter the url and the endpoint in this application?

cardchase avatar Mar 27 '24 23:03 cardchase

Already created PR , which solves this issue. PR : #190

issue still persists for me

DopeDealers avatar Mar 27 '24 23:03 DopeDealers

fetch the latest changes. already fixed

ARajgor avatar Apr 03 '24 19:04 ARajgor