mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
chore(anthropic adapters): remove unused _extract_user_api_key_auth helper
Co-authored-by: Yassin Kortam <yassin@berri.ai>
This commit is contained in:
parent
54d1bfc0af
commit
d3178bf12c
1 changed files with 0 additions and 8 deletions
|
|
@ -70,14 +70,6 @@ def _extract_proxy_litellm_metadata(kwargs: Dict[str, Any]) -> Optional[Dict[str
|
|||
return litellm_metadata
|
||||
|
||||
|
||||
def _extract_user_api_key_auth(kwargs: Dict[str, Any]) -> Any:
|
||||
"""Pull the parent request's ``UserAPIKeyAuth`` out of ``litellm_metadata``."""
|
||||
proxy_metadata = _extract_proxy_litellm_metadata(kwargs)
|
||||
if proxy_metadata is None:
|
||||
return None
|
||||
return proxy_metadata.get("user_api_key_auth")
|
||||
|
||||
|
||||
async def _prepare_context_managed_request(
|
||||
*,
|
||||
model: str,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue