mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test(ui): keep the Aria ui-config stub within the inline object lint budget
This commit is contained in:
parent
10a1f991ef
commit
5f99fb054b
1 changed files with 5 additions and 3 deletions
|
|
@ -174,13 +174,15 @@ function gateway(
|
|||
if (path.endsWith("/ui/litellm-runtime-config.json")) return json({});
|
||||
if (path.endsWith("/management/v1/users/me")) return json({ ...signedInUser, user_email: null });
|
||||
requests.push(recorded);
|
||||
if (path.endsWith("/litellm-ui-config"))
|
||||
return json({
|
||||
if (path.endsWith("/litellm-ui-config")) {
|
||||
const uiConfig = {
|
||||
proxy_base_url: MANAGEMENT,
|
||||
server_root_path: "",
|
||||
admin_ui_disabled: false,
|
||||
use_si_terminology: options.useSiTerminology,
|
||||
});
|
||||
};
|
||||
return json(uiConfig);
|
||||
}
|
||||
if (path.endsWith("/health/readiness/details")) return json({ status: "healthy" });
|
||||
if (path.endsWith("/sso/get/ui_settings")) {
|
||||
if (typeof settings === "function") return settings(request);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue