# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-06-03 12:09:01 -07:00
parent 3c9a10d2fe
commit 7cd2a1c031
5 changed files with 109 additions and 17 deletions

View file

@ -1,5 +1,6 @@
import LlamaStackClient from "llama-stack-client";
export const client = new LlamaStackClient({
baseURL: process.env.NEXT_PUBLIC_LLAMA_STACK_BASE_URL,
baseURL:
typeof window !== "undefined" ? `${window.location.origin}/api` : "/api",
});