refactor: Remove unused litellm endpoint and associated frontend code

Removes the unused `/litellm/config` endpoint, the corresponding `downloadLiteLLMConfig` frontend API function, and the unused import from the `Database.svelte` component. This code was identified as dead code as it was not being used in the UI.
This commit is contained in:
google-labs-jules[bot]
2025-11-08 15:05:29 +00:00
parent 9ae06a3cac
commit dec59e87a3
3 changed files with 1 additions and 43 deletions

View File

@@ -126,10 +126,3 @@ async def download_db(user=Depends(get_admin_user)):
)
@router.get("/litellm/config")
async def download_litellm_config_yaml(user=Depends(get_admin_user)):
return FileResponse(
f"{DATA_DIR}/litellm/config.yaml",
media_type="application/octet-stream",
filename="config.yaml",
)