[Bug] backticks in file names
Describe the bug
instead of running commands it creates a txt file that start and end in backticks with the commands in the file
it also creates other files with backtickes before and after in the filename
How To Reproduce
Steps to reproduce the behavior (example):
- setup devika to run normally
- create new devika project
- select llama3.1-8b from ollama
- send first message: lets create a nextjs project named trolo
- result
Expected behavior
I expected for davika at least to ask me before creating files or running commands. just ask does this command seem ok? does this file name and contents seem ok? etc
but also look at tinychatengine open source project and paper, they are running on cpu gpu and mac code assistant with great results they use technology for minimizing resources needed
Screenshots and logs
Configuration
- OS: Windows 11
- Python version: 3.11.9
- Node version: v22.5.1
- bun version: 1.1.21
- search engine: google
- Model: ollama using for this bug llama3.1:8b (it is the default so it is q4_0) should I try q8_0?
- modifications:
- - in devika.py line 26 changed to the correct localhost:port
Additional context
I really think there should be some guide for which model to use with ollama for different vram capacity gpu architecture and ram also please make devika work with local open source models I have a 4070 12gb vram and 32gb ram which is not low specs by any measure and llama3.1:8b is pretty capable
as you can see the first 3 steps are spot on but it doesnt do that... it searches the web for nextjs structure
Same happened here, all files were created with backticks at the beginning and/or end. Interestingly, within the subfolders, folder names were left with the initial backtick and the file name with the final backtick. File contents are OK.
J:\DEVIKA\data\projects\test>dir /s /b
J:\DEVIKA\data\projects\test\`package.json`
J:\DEVIKA\data\projects\test\`README.md`
J:\DEVIKA\data\projects\test\`src
J:\DEVIKA\data\projects\test\`test
J:\DEVIKA\data\projects\test\`src\Database.js`
J:\DEVIKA\data\projects\test\`src\FileHandler.js`
J:\DEVIKA\data\projects\test\`src\IndexManager.js`
J:\DEVIKA\data\projects\test\`test\test.js`
- OS: Windows 11
- Python version: 3.12.5
- Node version: v20.17.0
- bun version: 1.1.29
- search engine: duckduckgo
- Model: GPT-4o
- modifications:
-
- in devika.py line 26 changed to the correct localhost:port
-
- in src\agents\researcher\researcher.py:34 edited to 'response.get("ask_user", None)'