The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
getProxyUISettings
Ishaan Jaffafe0c03376ad
diff --git a/ui/litellm-dashboard/src/utils/proxyUtils.ts b/ui/litellm-dashboard/src/utils/proxyUtils.tsnew file mode 100644index 00000000000..32e14baddbc--- /dev/null+++ b/ui/litellm-dashboard/src/utils/proxyUtils.ts@@ -0,0 +1,13 @@+import { getProxyUISettings } from "@/components/networking";++export const fetchProxySettings = async (accessToken: string | null) => {+ if (!accessToken) return null;++ try {+ const proxySettings = await getProxyUISettings(accessToken);+ return proxySettings;+ } catch (error) {+ console.error("Error fetching proxy settings:", error);+ return null;+ }+};\ No newline at end of file