devika icon indicating copy to clipboard operation
devika copied to clipboard

Nothing is working. Just useless project.

Open alvynabranches opened this issue 1 year ago • 5 comments

Describe your issue

It is giving a empty page on localhost:3000

How To Reproduce

Steps to reproduce the behavior (example): All steps are followed according to https://www.youtube.com/watch?v=eLiMpEIRBzY

Expected behavior

It is just returning a empty page on localhost:3000

Screenshots and logs

must share logs from frontend or backend. also If applicable, add screenshots to help explain your problem. backend logs

24.05.08 13:44:23: root: INFO   : Initializing Devika...
24.05.08 13:44:23: root: INFO   : checking configurations...
24.05.08 13:44:23: root: INFO   : Initializing Prerequisites Jobs...
24.05.08 13:44:25: root: INFO   : Loading sentence-transformer BERT models...
24.05.08 13:44:28: root: INFO   : BERT model loaded successfully.
24.05.08 13:44:29: root: INFO   : Ollama available
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
	- Avoid using `tokenizers` before the fork if possible
	- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
	- Avoid using `tokenizers` before the fork if possible
	- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
24.05.08 13:44:30: root: INFO   : Devika is up and running!

frontend logs

$ vite dev --host
Re-optimizing dependencies because lockfile has changed

  VITE v5.2.10  ready in 590 ms

  ➜  Local:   http://localhost:3000/
  ➜  Network: http://192.168.0.123:3000/
  ➜  press h + enter to show help
2:02:47 PM [vite] ✨ new dependencies optimized: svelte-sonner, mode-watcher, paneforge, socket.io-client, @monaco-editor/loader, monaco-editor, @xterm/xterm, @xterm/addon-fit, clsx, tailwind-merge, tiktoken/lite
2:02:47 PM [vite] ✨ optimized dependencies changed. reloading

Configuration

- OS: [e.g. Windows, Linux, MacOS]
- Python version: 3.12.3
- Node version: 20.13.0
- bun version: 1.1.7
- search engine: google
- Model: ollama

Additional context

The project is of no use.

alvynabranches avatar May 08 '24 08:05 alvynabranches

are you using Safari? because this is a Safari problem and this happens to me a lot

Polygons1 avatar May 08 '24 10:05 Polygons1

It works only if you run npm run dev not npm run start

alvynabranches avatar May 10 '24 04:05 alvynabranches

@alvynabranches try this docker version for ollama: I have Freezed it on my Repo: https://github.com/stitionai/devika/discussions/552

hqnicolas avatar May 11 '24 00:05 hqnicolas

Works on Mac, Linux und Windows for me. Browser: Firefox Models: Claude, OpenAI, Ollama

dewdeded avatar May 12 '24 04:05 dewdeded

After changing devika.py CORS(app, .....) to CORS(app) Everything works fine. Try llama2 as first. Its slow but it works. And goolge search

alexanderbehrens1978 avatar Oct 06 '24 21:10 alexanderbehrens1978