Skip to content

Commit 94e623f

Browse files
Merge pull request #15236 from BerriAI/litellm_ui_refactor_genesis
LiteLLM UI Refactor Infrastructure
2 parents e2b7b05 + ff4eda0 commit 94e623f

File tree

43 files changed

+1263
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1263
-20
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NODE_ENV=development
2+
NEXT_PUBLIC_BASE_URL=""
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NODE_ENV=production
2+
NEXT_PUBLIC_BASE_URL="ui/"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"use client";
2+
3+
import APIRef from "@/components/api_ref";
4+
import { useState } from "react";
5+
6+
interface ProxySettings {
7+
PROXY_BASE_URL: string;
8+
PROXY_LOGOUT_URL: string;
9+
}
10+
11+
const APIReferencePage = () => {
12+
const [proxySettings, setProxySettings] = useState<ProxySettings>({ PROXY_BASE_URL: "", PROXY_LOGOUT_URL: "" });
13+
14+
return <APIRef proxySettings={proxySettings} />;
15+
};
16+
17+
export default APIReferencePage;

0 commit comments

Comments
 (0)