fix(proxy): retain block cache keys and response types

This commit is contained in:
lewis 2026-10-17 21:16:51 -04:00
parent 5e82636898
commit f22cc8e12d
2 changed files with 6 additions and 2 deletions

View file

@ -372,6 +372,10 @@ def end_user_cache_key(end_user_id: str) -> str:
return f"end_user_id:{end_user_id}"
def end_user_block_cache_key(end_user_id: str) -> str:
return f"litellm:end_user_id:{end_user_id}"
def end_user_restricted_registry_cache_key() -> str:
"""Cache key for the set of end-user ids whose row carries a restriction auth enforces."""
return "end_user_restricted_registry"

View file

@ -58066,7 +58066,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
"application/json": unknown;
"application/json": components["schemas"]["BlockUsersResponse"];
};
};
/** @description Validation Error */
@ -58484,7 +58484,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
"application/json": unknown;
"application/json": components["schemas"]["UnblockUsersResponse"];
};
};
/** @description Validation Error */