# What does this PR do?


## Test Plan
# What does this PR do?


## Test Plan
# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-06-25 20:10:45 -07:00
parent 114946ae88
commit a4d84f7805
22 changed files with 821 additions and 38 deletions

View file

@ -0,0 +1,15 @@
/**
* Server-side configuration for the Llama Stack UI
* This file should only be imported in server components
*/
// Get backend URL from environment variable or default to localhost for development
export const BACKEND_URL =
process.env.LLAMA_STACK_BACKEND_URL ||
`http://localhost:${process.env.LLAMA_STACK_PORT || 8321}`;
export const serverConfig = {
backendUrl: BACKEND_URL,
} as const;
export default serverConfig;