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

Merge pull request #101 from sounishnath003/main

Mufeed VHa52bd73ba6ac
diff --cc ui/src/lib/api.js
index 2f11cc6,6a24775..c812b7b
--- a/ui/src/lib/api.js
+++ b/ui/src/lib/api.js
@@@ -1,12 -1,12 +1,12 @@@
import {
- messages,
- projectList,
- modelList,
agentState,
internet,
+ messages,
+ modelList,
+ projectList,
} from "./store";
- export const API_BASE_URL = "http://127.0.0.1:1337";
+ export const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || "http://127.0.0.1:1337";
export async function fetchProjectList() {
const response = await fetch(`${API_BASE_URL}/api/project-list`);