mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-06 10:21:32 +00:00
getProxyUISettings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user