stitionai / devika

Devika is an Agentic AI Software Engineer that can understand high-level human instructions, break them down into steps, research relevant information, and write code to achieve the given objective. Devika aims to be a competitive open-source alternative to Devin by Cognition AI.
MIT License
17.97k stars 2.33k forks source link

Devika UI is not responding [ISSUE] #589

Open SyedMuqtasidAli opened 1 month ago

SyedMuqtasidAli commented 1 month ago

Describe your issue

@jonatas @skaramicke @chisun-joung @jitlogic @ I install devike in my local. install all library, npm.node etc. and I change the API in config.toml I am using groc, openapi, and then I run devika server first and then I run UI of devika UI is display successfully but the model and UI is not responding.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots and logs

here is secreenshoot image image image the last screenshot I click on select model drop down but still nothing Is showing and not accepting input

Configuration

- OS: [e.g. Windows, Linux, MacOS]
- Python version: [e.g. 3.10]
- Node version: [e.g. 18.0.0]
- bun version: [e.g. 0.1.0]
- search engine: [e.g. google]
- Model: [e.g. gpt, cluade, groc]

Additional context

veighnsche commented 1 month ago

Same issue

image

Everything is up and running, however the UI is not able to connect to the local DEVIKA backend

veighnsche commented 1 month ago

I fixed it in the Devika.py file.

on line 29 or the CORS line

replace that line with this one

CORS(app, resources={r"/*": {"origins": ["http://localhost:3000", "http://localhost:3001"]}}) # Change the origin to your frontend URL

SyedMuqtasidAli commented 1 month ago

@veighnsche i write the line but still not working even its still showing 3000 url image image

SyedMuqtasidAli commented 1 month ago

@veighnsche Thanks you very much sir its working now.

ARajgor commented 1 month ago

thanks for catching the error. I'll fix it.

adamwawrzynski commented 1 week ago

I've got the same problem running a program using docker-compose. I can't select a browser, or model, after clicking on select project > new project tab I am prompted to pass the project name but after that, nothing changes in the UI and in the logs of docker-compose. In the settings tab, I can switch tabs but there is nothing to be displayed (only in Appearance are there options to select).

SyedMuqtasidAli commented 1 week ago

@adamwawrzynski https://github.com/stitionai/devika/issues/589#issuecomment-2160583692 try this.