MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersMethod_at
The entries at ``indices`` (what an index holds), read as Python's list reads them.
litellm/router_rust/surface/registry.py:1576
↓ 3 callersMethod_atomic_check_and_increment_in_memory
In-memory all-or-nothing check-and-increment. Caller holds lock. Reads/writes the store's memory tier — note this is a different stor
litellm/proxy/hooks/parallel_request_limiter_v3.py:2112
↓ 3 callersFunction_attach_keys_to_agents
Attach each agent's virtual keys, derived from the key table's agent_id foreign key. Mirrors how spend is joined into the agent response so the UI
litellm/proxy/agent_endpoints/endpoints.py:143
↓ 3 callersFunction_attached_team_ids_by_group
Teams really attached to each group: the stored column minus ghosts, plus teams the mirror missed.
litellm/proxy/management_endpoints/access_group_endpoints.py:278
↓ 3 callersFunction_attachment_proxy
(wires: _Wires, mode: Literal["strict", "lenient", "checks"])
tests/integration/observability/test_bedrock_guardrail_attachments.py:229
↓ 3 callersFunction_attributed_failure_kwargs
(exception: Exception, rejected_before_routing: bool)
tests/unit/integrations/test_prometheus_deployment_state_proxy_rejects.py:42
↓ 3 callersFunction_audio_reply
()
tests/unit/test_register_model_custom_pricing.py:1467
↓ 3 callersMethod_augment_message_delta_usage
Attach polyfill compaction iteration usage to the final message_delta. Also defensively re-attaches ``context_management`` so the direct
litellm/llms/anthropic/messages/adapters/streaming_iterator.py:780
↓ 3 callersFunction_auth
()
tests/unit/proxy/auth/test_user_api_key_auth_request_flow.py:11281
↓ 3 callersFunction_auth
(role: LitellmUserRoles)
tests/unit/proxy/management_endpoints/test_request_error_endpoints.py:100
↓ 3 callersFunction_auth
( bucket: str = "metadata", **fields: object )
tests/unit/test_router/core/test_selection_characterization_groups.py:370
↓ 3 callersMethod_auth_exception
(status: int)
tests/unit/router_utils/test_cooldown_handlers.py:1154
↓ 3 callersFunction_auth_override
(role: LitellmUserRoles)
tests/unit/proxy/ui_crud_endpoints/test_user_banner_endpoints.py:35
↓ 3 callersFunction_auth_status_error
(status_code: int, www_authenticate: str)
tests/unit/proxy/mcp_server/test_mcp_oauth_passthrough_tools.py:64
↓ 3 callersMethod_auth_with_env_vars
Authenticate with AWS Environment Variables
litellm/llms/bedrock/base_aws_llm.py:1435
↓ 3 callersFunction_author
(pull: GitHubPullListItem)
litellm/proxy/roi_calculator/observed_sync.py:25
↓ 3 callersFunction_authorization
(headers: Mapping[str, str])
tests/unit/llms/bedrock/files/test_bedrock_files_transformation.py:4325
↓ 3 callersFunction_authorization_is_litellm_admission_credential
( raw_headers: Mapping[str, str] | None, user_api_key_auth: UserAPIKeyAuth | None, )
litellm/proxy/mcp_server/mcp_server_manager.py:1280
↓ 3 callersFunction_authorization_redirect
(config: OAuthConfig, query: str)
litellm/proxy/management_endpoints/roi_observed_endpoints.py:496
↓ 3 callersFunction_authorizations
(calls: respx.models.CallList)
tests/unit/test_utils.py:8072
↓ 3 callersFunction_authorize_router_dry_run
(user_api_key_dict: UserAPIKeyAuth, team_id: str | None)
litellm/proxy/management_endpoints/auto_router_endpoints.py:249
↓ 3 callersFunction_auto_execute_chat_echo
( respx_mock: respx.MockRouter, monkeypatch: pytest.MonkeyPatch, rounds: Sequence[Response], call_id: str
tests/unit/responses/mcp/test_chat_completions_handler.py:1672
↓ 3 callersFunction_auto_execute_echo
( respx_mock: respx.MockRouter, monkeypatch: pytest.MonkeyPatch, logging_obj: Logging )
tests/unit/responses/mcp/test_aresponses_api_with_mcp.py:1699
↓ 3 callersFunction_auto_execute_through_mcp_server
( monkeypatch: pytest.MonkeyPatch, call_tool: AsyncMock, logging_obj: Logging )
tests/unit/responses/mcp/test_aresponses_api_with_mcp.py:1706
↓ 3 callersFunction_available_kimi_k3
(monkeypatch: pytest.MonkeyPatch, tmp_path: Path)
tests/unit/proxy/test_proxy_token_counter.py:3302
↓ 3 callersFunction_await_everywhere
(reads: Mapping[str, ReplicaRead[str]])
tests/e2e_harness/test_proxy_client.py:401
↓ 3 callersFunction_await_lock_contention
(lock_key: tuple[int, int], task: asyncio.Task[object], what: str)
tests/integration/management/test_team_delete_member_add_race.py:73
↓ 3 callersFunction_await_pinned_delete_blocked
The pinned team's delete is queued behind the held lock inside Postgres with its request unanswered, so the failure applied next lands on a live d
tests/integration/management/test_team_delete_chaos.py:278
↓ 3 callersFunction_await_route
(candidate: Gateway, name: str, route: str)
tests/integration/authorization/test_hidden_alias_budget_bypass.py:648
↓ 3 callersFunction_await_served_by
(candidate: Gateway, name: str, deployment: str)
tests/integration/authorization/test_alias_chain_budget_waiver.py:164
↓ 3 callersFunction_azure_ai_chat_model
(reads_pdfs: bool)
tests/integration/providers/test_pdf_input_support_wire.py:79
↓ 3 callersFunction_azure_ai_model_without_pdf_input
()
tests/unit/test_main.py:11272
↓ 3 callersFunction_azure_chat_error
(monkeypatch: pytest.MonkeyPatch, response: httpx.Response)
tests/unit/llms/azure/test_azure_exception_mapping.py:602
↓ 3 callersFunction_azure_chat_with_oidc_token
( respx_mock, monkeypatch, entra_status_code: int, entra_body: Mapping[str, object], entra
tests/unit/llms/azure/test_azure_common_utils.py:2875
↓ 3 callersFunction_azure_error
(status: int, message: str, *, param: str | None = None)
tests/integration/_support/interception_vendor.py:53
↓ 3 callersFunction_azure_request_parts
( config: AzureOpenAIConfig, model: str, litellm_params: dict[str, object] )
tests/unit/llms/azure/chat/test_azure_chat_gpt_transformation.py:877
↓ 3 callersFunction_azure_session_created_seen_by_a_beta_client
( session_kwargs: Mapping[str, object], )
tests/unit/realtime_api/test_main.py:1315
↓ 3 callersFunction_azure_transform
(model, messages, system=None)
tests/unit/llms/azure_ai/claude/test_azure_anthropic_messages_transformation.py:376
↓ 3 callersFunction_b64_decode
(value: str)
tests/e2e/batches/capabilities.py:243
↓ 3 callersFunction_b64_unified_input_file_id
(target_model_names: str)
tests/unit/enterprise/proxy/test_managed_files_hook.py:1683
↓ 3 callersFunction_b64url
(data: bytes)
litellm/proxy/moyai_endpoints.py:77
↓ 3 callersFunction_backend
()
tests/integration/providers/test_decisions_box_deployment_flag_chaos.py:137
↓ 3 callersFunction_backend_model_info
``get_model_info`` for the backend model; raises like it for an unmapped model.
litellm/router_rust/surface/registry.py:258
↓ 3 callersFunction_background_output_then_completed
(background: bool)
tests/unit/test_router/test_router.py:4006
↓ 3 callersFunction_backlog
(size: int)
tests/unit/proxy/db/test_gateway_request_tracking.py:331
↓ 3 callersFunction_backoff_seconds
(attempt: int)
tests/e2e/batches/test_batches_e2e.py:113
↓ 3 callersFunction_bad_request_answered_with_404
()
tests/unit/router_utils/test_get_retry_from_policy.py:31
↓ 3 callersFunction_base64_image_block
()
tests/unit/llms/anthropic/messages/adapters/test_anthropic_messages_adapters_transformation.py:4652
↓ 3 callersFunction_base64_pdf_block
()
tests/unit/llms/anthropic/messages/adapters/test_anthropic_messages_adapters_transformation.py:4898
↓ 3 callersFunction_base_url
(gateway: Gateway)
tests/integration/providers/test_chat_completions_tool_search_wire.py:251
↓ 3 callersFunction_base_url
(gateway: Gateway)
tests/integration/providers/test_responses_bridge_tool_search_replay.py:31
↓ 3 callersFunction_base_url
()
tests/integration/database/migrations/test_replica_identity_full.py:25
↓ 3 callersMethod_base_url
(request: Request)
litellm/proxy/management_endpoints/sso/saml_sso.py:136
↓ 3 callersFunction_baseline_usage
(usage: Usage, baseline_info: ModelInfo | None = None)
litellm/proxy/spend_tracking/savings.py:298
↓ 3 callersMethod_bash
(self, command)
tests/unit/proxy/guardrails/guardrail_hooks/test_tool_permission.py:1620
↓ 3 callersFunction_batch
(status: str, output_file_id: str | None = None, counts: BatchRequestCounts | None = None)
tests/unit/litellm_core_utils/test_batch_utils.py:393
↓ 3 callersFunction_batch
(batch_id: str = "b1")
tests/unit/test_router/core/test_endpoints_characterization_batch.py:40
↓ 3 callersFunction_batch_calls
(find_many)
tests/unit/proxy/auth/test_auth_checks_object_access_and_lookup.py:3774
↓ 3 callersFunction_batch_create_through_passthrough
( status_code: int, body: dict[str, object], router: litellm.Router | None )
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_gemini_passthrough_logging_handler.py:621
↓ 3 callersFunction_batch_for
(rig: RagRig, headers: Mapping[str, str])
tests/integration/authorization/test_rag_team_provider_credentials.py:1905
↓ 3 callersFunction_batch_line
(custom_id: str)
tests/integration/compatibility/test_openai_sdk_client_paths.py:249
↓ 3 callersFunction_batch_object
(identity: str, input_file_id: str, status: str)
tests/integration/authorization/test_rag_team_provider_credentials.py:236
↓ 3 callersMethod_batch_request
(self, path)
tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py:364
↓ 3 callersFunction_batch_response
(batch_id: str, status: str)
tests/unit/proxy/hooks/test_parallel_request_limiter_v3.py:7539
↓ 3 callersFunction_batch_response_for_output_listing
()
tests/unit/enterprise/proxy/hooks/test_managed_files.py:225
↓ 3 callersFunction_batch_router
()
tests/unit/test_router/test_router.py:18963
↓ 3 callersFunction_bearer
Positive control: the provider double received the scenario's request with the slot's bearer.
tests/integration/security/test_stored_config_slots.py:239
↓ 3 callersFunction_bedrock_claude_count_request
(edits: list[JsonValue])
tests/unit/proxy/test_proxy_token_counter.py:4461
↓ 3 callersFunction_bedrock_client_status
(endpoint: BedrockEndpoint, failure: BedrockFailure, after_output: bool)
tests/integration/observability/test_bedrock_error_request_id.py:430
↓ 3 callersFunction_bedrock_event_stream_frame
(chunk: Mapping[str, object])
tests/unit/llms/bedrock/chat/test_invoke_handler.py:884
↓ 3 callersFunction_bedrock_fixture
(_base_url: str)
tests/rust-python-harness/strategies/trace_parity/sdk/messages/case.py:45
↓ 3 callersFunction_bedrock_guardrail
( name: str, bedrock_api: Callable[[httpx.Request], httpx.Response], **settings: bool )
tests/unit/llms/openai/responses/test_openai_responses_guardrail_handler.py:662
↓ 3 callersMethod_bedrock_guardrail
(self)
tests/unit/llms/openai/chat/guardrail_translation/test_openai_guardrail_handler.py:2127
↓ 3 callersFunction_bedrock_invoke_deployment
( scenario: Scenario, api_base: str, backend: str, model_info: Mapping[str, JsonValue] | None = None )
tests/integration/providers/test_vertex_anthropic_structured_output_wire.py:809
↓ 3 callersFunction_bedrock_logged_error
(endpoint: BedrockEndpoint, failure: BedrockFailure)
tests/integration/observability/test_bedrock_error_request_id.py:423
↓ 3 callersFunction_bedrock_model
(scenario: Scenario, wire: Wire)
tests/integration/security/test_files_batches_access.py:620
↓ 3 callersFunction_bedrock_names
(base_model: str)
litellm/proxy/hooks/model_max_budget_limiter.py:614
↓ 3 callersFunction_bedrock_price_map_entries
(model: str)
litellm/llms/bedrock/common_utils.py:1261
↓ 3 callersFunction_bedrock_price_map_flag
(model: str, flag: str)
litellm/llms/bedrock/common_utils.py:1268
↓ 3 callersFunction_bedrock_request
( action: BedrockAction, model_path: str, marker: str, )
tests/integration/observability/test_guardrail_stream_scope.py:390
↓ 3 callersFunction_bedrock_schema_fault
(schema: JsonValue)
tests/integration/providers/test_bedrock_native_structured_output_wire.py:254
↓ 3 callersFunction_bedrock_status_error
An error Bedrock answered the passthrough request with.
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:1880
↓ 3 callersFunction_bedrock_stream
( gateway: Gateway, endpoint: BedrockEndpoint, model: str, prompt: str )
tests/integration/observability/test_bedrock_error_request_id.py:490
↓ 3 callersFunction_bedrock_tool_open_then_args
The Bedrock Converse shape: ``contentBlockStart`` names the tool and carries empty arguments, the arguments arrive in later events.
tests/unit/llms/anthropic/messages/adapters/test_streaming_iterator_first_delta.py:1125
↓ 3 callersMethod_begin
(self)
litellm/llms/vertex_ai/audio_transcription/realtime_transformation.py:251
↓ 3 callersFunction_benchmark_db
The joined benchmark statement returns the rows as given; any other statement is the Overall total.
tests/unit/proxy/management_endpoints/test_auto_router_endpoints.py:708
↓ 3 callersFunction_beta_header
(value: str | None)
tests/integration/providers/test_bedrock_anthropic_beta_header_wire.py:57
↓ 3 callersMethod_bill_once
( self, job: ManagedObjectRow, target: _PollTarget, response: ResponsesAPIResp
enterprise/litellm_enterprise/proxy/common_utils/check_responses_cost.py:425
↓ 3 callersFunction_billable_responses_ws_events
( results: Sequence[Mapping[str, object]], )
litellm/cost_calculator.py:3584
↓ 3 callersFunction_billed_costs
(payloads: tuple[Mapping[str, object], ...])
tests/unit/proxy/response_api_endpoints/test_endpoints.py:773
↓ 3 callersFunction_billed_once
(langfuse: Recorder, seconds: float)
tests/integration/spend/test_background_response_billed_once.py:972
↓ 3 callersMethod_billed_session
( self, handler: VertexAILivePassthroughLoggingHandler, messages: list[dict[str, object]] )
tests/unit/proxy/pass_through_endpoints/test_vertex_ai_live_passthrough.py:485
↓ 3 callersFunction_billed_terminal_response
( response_obj: object, estimate: Callable[[], ResponseAPIUsage | None] | None )
litellm/responses/streaming_iterator.py:1768
↓ 3 callersFunction_block
(prompt: str, content: str, session: str, completion: str)
tests/integration/_support/bedrock_realtime_peer.py:61
↓ 3 callersMethod_block
( self, *, request_data: dict, input_type: Literal["request", "response"],
litellm/proxy/guardrails/guardrail_hooks/straiker/straiker.py:1188
↓ 3 callersFunction_block_carries_cache_control
(block: object)
litellm/integrations/anthropic_cache_control_hook.py:157
↓ 3 callersMethod_block_current_message
Raise OvalixGuardrailBlockedException with the given message (no default wrapper).
litellm/proxy/guardrails/guardrail_hooks/ovalix/ovalix.py:480
↓ 3 callersMethod_block_frames
(items: list[object])
tests/unit/proxy/guardrails/guardrail_hooks/unified_guardrails/test_unified_guardrail.py:3080
↓ 3 callersFunction_block_id
(block: Mapping[str, object])
litellm/litellm_core_utils/prompt_templates/factory.py:2119
↓ 3 callersFunction_block_ids
(message: Mapping[str, object], block_type: str, id_key: str)
tests/unit/llms/anthropic/chat/test_anthropic_chat_transformation.py:4030
← previousnext →22,401–22,500 of 202,479, ranked by callers