litellm/tests/test_litellm/proxy
Krish Dholakia 00be76abf4
UI - Custom Server Root Path (Multiple Fixes) (#11337)
* fix(proxy_server.py): working swagger on custom base

removes the swagger monkey patch - this seems to render the swagger on custom base paths

* fix(ui/): working custom auth uptil login success event

* fix(ui/): working custom server root path for login

* fix(proxy_server.py): create typed dict for ui returned token

allows better documentation of expected params

* refactor(proxy_server.py): refactor all ui login endpoints to use same returned ui token object

* feat(ui_sso.py): add server root path to ui token

* feat(ui_sso.py): allows ui to call correct endpoint

* fix(networking.tsx): update proxy base url with custom root path

* fix(networking.tsx): handle updating proxy base url for non-local instances

* refactor: remove uneccessary references to proxybaseurl in ui code - reduce potential for errors

* fix: fix linting error

* fix(onboarding_link.tsx): fix onboarding link when custom server path is set

* feat(ui_discovery_endpoints.py): add new public .well-known/ route for litellm ui config

returns the server root path and proxy base url for constructing api calls

* feat(_types.py): add litellm well known config as public route

allows ui to query it

* fix(/_types.py): add .well-known config to as public route

* fix(page.tsx): create pattern for loading in ui config before making network requests

ensures requests are formatted correctly

* fix(page.tsx): call credential endpoint once ui config is loaded

* fix(page.tsx): route correctly to litellm dashboard from new user login

* fix(page.tsx): remove hardcoded `/litellm` for /sso/key/generate request

* fix(proxy_server.py): re-add moderations endpoint

* fix(proxy_server.py): mount __next__ at / and /litellm

allows it to work when proxy is mounted on root

* docs(contributing.md): remove /ui on ui doc - it will now run on root

* docs(custom_root_ui.md): add docs on custom root path
2025-06-02 17:48:03 -07:00
..
anthropic_endpoints Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
auth [Feat] Enforce Vector Store Access Controls on LiteLLM Auth (#11281) 2025-05-30 22:20:11 -07:00
client Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
common_utils Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
db build(VLLM-Passthrough-with-loadbalancing-support-(enables-using-model-list-for-VLLM-/classify-endpoint)): Closes #11205 2025-05-31 09:00:04 -07:00
experimental/mcp_server Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
guardrails build(VLLM-Passthrough-with-loadbalancing-support-(enables-using-model-list-for-VLLM-/classify-endpoint)): Closes #11205 2025-05-31 09:00:04 -07:00
health_endpoints Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
hooks feat(parallel_request_limiter_v2.py): add sliding window logic (#11283) 2025-05-31 10:06:42 -07:00
management_endpoints [Fix] Fix SCIM running patch operation case sensitivity (#11335) 2025-06-02 13:53:26 -07:00
middleware Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
openai_files_endpoint Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
pass_through_endpoints Anthropic - Files API w/ form-data support on passthrough + File ID support on /chat/completion (#11256) 2025-05-29 23:54:24 -07:00
spend_tracking Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_configs Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
types_utils Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
ui_crud_endpoints Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_caching_routes.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_common_request_processing.py [Feat] DD Trace - Add instrumentation for streaming chunks (#11338) 2025-06-02 16:48:39 -07:00
test_custom_proxy.py UI - Custom Server Root Path (Multiple Fixes) (#11337) 2025-06-02 17:48:03 -07:00
test_litellm_pre_call_utils.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_proxy_cli.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_proxy_server.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_route_llm_request.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_spend_log_cleanup.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_team_member_update.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00