Devika is the first open-source implementation of an Agentic Software Engineer. Initially started as an open-source alternative to Devin.
Python
Fixed - token usage in UI & logs
rajakumar05032000ab2aa3235d9f
diff --git a/ui/src/lib/api.js b/ui/src/lib/api.jsindex d4ad75f..45ce3f5 100644--- a/ui/src/lib/api.js+++ b/ui/src/lib/api.js@@ -120,7 +120,8 @@ export async function executeAgent(prompt) {}export async function getTokenUsage() {- const response = await fetch(`${API_BASE_URL}/api/token-usage`);+ const projectName = localStorage.getItem("selectedProject");+ const response = await fetch(`${API_BASE_URL}/api/token-usage?project_name=${projectName}`);const data = await response.json();return data.token_usage;}