devika
devika copied to clipboard
Nothing is working. Just useless project.
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.
are you using Safari? because this is a Safari problem and this happens to me a lot
It works only if you run npm run dev not npm run start
@alvynabranches try this docker version for ollama: I have Freezed it on my Repo: https://github.com/stitionai/devika/discussions/552
Works on Mac, Linux und Windows for me. Browser: Firefox Models: Claude, OpenAI, Ollama
After changing devika.py CORS(app, .....) to CORS(app) Everything works fine. Try llama2 as first. Its slow but it works. And goolge search