Skip to content

Devika is the first open-source implementation of an Agentic Software Engineer. Initially started as an open-source alternative to Devin.

Python

update files

ARajgorb35ba7495029
diff --git a/requirements.txt b/requirements.txt
index 5b9736c..005fe59 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -22,4 +22,6 @@ GitPython
netlify-py
Markdown
xhtml2pdf
-python-socketio
+mistralai
+Flask-SocketIO
+eventlet
diff --git a/sample.config.toml b/sample.config.toml
index 1810884..0af42ca 100644
--- a/sample.config.toml
+++ b/sample.config.toml
@@ -1,13 +1,15 @@
[STORAGE]
-SQLITE_DB = "db/devika.db"
-SCREENSHOTS_DIR = "screenshots"
-PDFS_DIR = "pdfs"
-PROJECTS_DIR = "projects"
-LOGS_DIR = "logs"
-REPOS_DIR = "repos"
+SQLITE_DB = "data/db/devika.db"
+SCREENSHOTS_DIR = "data/screenshots"
+PDFS_DIR = "data/pdfs"
+PROJECTS_DIR = "data/projects"
+LOGS_DIR = "data/logs"
+REPOS_DIR = "data/repos"
[API_KEYS]
BING = "<YOUR_BING_API_KEY>"
+GOOGLE = "<YOUR_GOOGLE_API_KEY>"
+GOOGLE_CX = "<YOUR_GOOGLE_CUSTOM_SEARCH_ENGINE_ID>"
CLAUDE = "<YOUR_CLAUDE_API_KEY>"
NETLIFY = "<YOUR_NETLIFY_API_KEY>"
OPENAI = "<YOUR_OPENAI_API_KEY>"
@@ -15,4 +17,5 @@ GEMINI = "<YOUR_GEMINI_API_KEY>"
MISTRAL = "<YOUR_MISTRAL_API_KEY>"
[API_ENDPOINTS]
-BING = "https://api.bing.microsoft.com/v7.0/search"
\ No newline at end of file
+BING = "https://api.bing.microsoft.com/v7.0/search"
+GOOGLE = "https://www.googleapis.com/customsearch/v1"
diff --git a/src/config.py b/src/config.py
index 7e95af0..49e1cdd 100644
--- a/src/config.py
+++ b/src/config.py
@@ -3,7 +3,7 @@ import toml
class Config:
def __init__(self):
- self.config = toml.load("config.toml")
+ self.config = toml.load("sample.config.toml")
def get_config(self):
return self.config
diff --git a/ui/src/routes/logs/+page.svelte b/ui/src/routes/logs/+page.svelte
index 32eb0cd..82e9dea 100644
--- a/ui/src/routes/logs/+page.svelte
+++ b/ui/src/routes/logs/+page.svelte
@@ -44,7 +44,7 @@
<h1 class="text-2xl">Request logs</h1>
<div class="flex flex-col gap-2">
{#each logs as log}
- <p class="{getTextColor(log)}">
+ <p class=" whitespace-normal break-words {getTextColor(log)}">
{@html log}
</p>
{/each}