feat(agents): Add identity and soul template fields to board creation

This commit is contained in:
Abhimanyu Saharan
2026-02-04 20:21:33 +05:30
parent 1c972edb46
commit c3357f92d9
117 changed files with 7899 additions and 1339 deletions

View File

@@ -0,0 +1,11 @@
export function getApiBaseUrl(): string {
const raw = process.env.NEXT_PUBLIC_API_URL;
if (!raw) {
throw new Error("NEXT_PUBLIC_API_URL is not set.");
}
const normalized = raw.replace(/\/+$/, "");
if (!normalized) {
throw new Error("NEXT_PUBLIC_API_URL is invalid.");
}
return normalized;
}