MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 7 callersFunctionX
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 7 callersFunctionZi
(s,o,i)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 7 callersMethod__anext__
(self)
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:7563
↓ 7 callersMethod__get__
(self, obj: None, owner: type)
litellm/router_deprecated.py:131
↓ 7 callersMethod__init__
(self)
tests/unit/proxy/client/cli/test_auth_commands.py:1664
↓ 7 callersMethod__init__
(self, raised: Exception, on_text: str)
tests/unit/llms/bedrock/passthrough/guardrail_translation/test_handler.py:2609
↓ 7 callersMethod__init__
(self, edit: Callable[[list[dict]], list[dict]], **kwargs)
tests/unit/llms/openai/responses/test_openai_responses_guardrail_handler.py:4383
↓ 7 callersMethod_active_jobs
Active jobs by (target_type, target_id), cache-first. A target holds at most one job per direction, so the value is a collection. A DB fault r
litellm/integrations/shadow_eval_logger.py:901
↓ 7 callersFunction_actor
(**updates: object)
tests/unit/proxy/management_helpers/test_auto_router_permissions.py:58
↓ 7 callersFunction_add_guardrail
(gateway: Gateway, name: str, decision_model: str, mode: str = "pre_call")
tests/integration/providers/test_decision_model_guardrail.py:92
↓ 7 callersFunction_add_team_models_to_all_models
Add team models to all models
litellm/proxy/proxy_server.py:16521
↓ 7 callersFunction_admin
()
tests/unit/proxy/test_model_list_discoverable.py:87
↓ 7 callersMethod_admin
()
tests/unit/proxy/vector_store_endpoints/test_vector_store_endpoints.py:3140
↓ 7 callersMethod_admin_user
()
tests/unit/proxy/management_endpoints/test_model_management_endpoints.py:5593
↓ 7 callersMethod_admit_dcr_bridge_delegate
Open the bridge envelope and admit the caller under the live key it references. The envelope's signature proves the user authenticated when i
litellm/proxy/mcp_server/auth/user_api_key_auth_mcp.py:1177
↓ 7 callersMethod_agent_key_acting_for
(user_id: str, team_id: str | None)
tests/unit/proxy/mcp_server/auth/test_user_api_key_auth_mcp.py:4852
↓ 7 callersFunction_agent_turns
(rounds: int, first_round: int = 0)
tests/unit/llms/anthropic/messages/context_management/test_inference_view.py:100
↓ 7 callersFunction_all_seam_methods
(seams: Seams, op: str)
tests/unit/batches/test_main.py:96
↓ 7 callersFunction_allowed_token_file
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, content: str)
tests/unit/test_utils.py:7396
↓ 7 callersFunction_answer_deployments_named
Make a mock router's registry answer `deployments(name, source="named")` from `model_list`, the way Router answers from its index.
tests/unit/router_strategy/test_complexity_router.py:114
↓ 7 callersFunction_answering
(body: Mapping[str, JsonValue])
tests/integration/routing/test_complexity_router_databricks_classifier.py:113
↓ 7 callersFunction_anthropic
(bridge: _Bridge)
tests/integration/providers/test_responses_bridge_prompt_cache_breakpoint_wire.py:339
↓ 7 callersFunction_anthropic_error
(response: httpx.Response)
tests/integration/messages_endpoint/providers/anthropic/test_anthropic_messages_overloaded_wire.py:110
↓ 7 callersFunction_anthropic_message_start_frame
(message_id: str = "msg_1", input_tokens: int = 52)
tests/unit/proxy/pass_through_endpoints/test_streaming_handler_interrupt.py:904
↓ 7 callersFunction_anthropic_stream_of
(frames: tuple[bytes, ...])
tests/unit/proxy/pass_through_endpoints/test_streaming_handler_interrupt.py:957
↓ 7 callersFunction_anthropic_succeeded_row
(model="claude-sonnet-4-5-20250929", usage=None)
tests/unit/batches/test_batch_utils.py:1465
↓ 7 callersFunction_anthropic_text
(message: anthropic.types.Message, marker: str)
tests/integration/providers/test_responses_bridge_prompt_cache_breakpoint_wire.py:343
↓ 7 callersFunction_anthropic_usage
(input_tokens, output_tokens, cache_creation=0, cache_read=0)
tests/unit/batches/test_batch_utils.py:1456
↓ 7 callersMethod_anyof_tool
()
tests/unit/llms/openai/chat/test_openai_gpt_transformation.py:1801
↓ 7 callersMethod_api_base
(api_base: str | None)
litellm/llms/opensandbox/sandbox/transformation.py:424
↓ 7 callersFunction_applied
(request: Request)
tests/integration/providers/test_bedrock_passthrough_guardrail_config_wire.py:72
↓ 7 callersMethod_arize
(monkeypatch, endpoint_env, **env)
tests/unit/integrations/otel/test_otel_v2_destinations.py:3772
↓ 7 callersMethod_armed_stream
(recorder: _FailureHookRecorder, iterator_hook_for, response: Optional[MagicMock] = None)
tests/unit/proxy/test_common_request_processing.py:11689
↓ 7 callersFunction_arn
(label: str)
tests/integration/providers/test_bedrock_kimi_k3_cache_point_wire.py:1165
↓ 7 callersFunction_as_dict
(value: object)
tests/e2e/perf/setup/locustfile.py:47
↓ 7 callersFunction_as_optional_str
(value: object)
litellm/proxy/guardrails/guardrail_hooks/straiker/straiker.py:199
↓ 7 callersFunction_as_settings_mapping
(value: object)
litellm/proxy/proxy_server.py:5730
↓ 7 callersFunction_ask
(rig: _Rig, model: str, key: str | None = None, **extra: list[str] | str)
tests/integration/observability/test_prometheus_request_metrics.py:96
↓ 7 callersFunction_assert_answered
(served: _Streamed)
tests/integration/providers/test_bedrock_stream_timeout_wire.py:313
↓ 7 callersFunction_assert_classifier_row
( row: Mapping[str, JsonValue], *, model: str = _CLASSIFIER_MODEL, provider: str = "databricks", spend: fl
tests/integration/routing/test_complexity_router_databricks_classifier.py:259
↓ 7 callersFunction_assert_denied
(response: httpx.Response, denied_entry: str)
tests/integration/authorization/test_passthrough_route_denylist.py:41
↓ 7 callersFunction_assert_idp_redirect
(proxy: Gateway, idp: Idp, link: httpx.Response, login_id: str)
tests/integration/authorization/test_cli_sso_login_ui_disabled.py:211
↓ 7 callersFunction_assert_native_without_tools
(body: Mapping[str, JsonValue], invoke: bool, schema: Mapping[str, JsonValue])
tests/integration/providers/test_bedrock_native_structured_output_wire.py:547
↓ 7 callersFunction_assert_one_failure
(rig: _Rig, caller: _Caller, *, status: int, agent_id: str, model: str)
tests/integration/authorization/test_agent_denial_logging.py:382
↓ 7 callersFunction_assert_rejected_chat
(rig: _Rig, response: httpx.Response, marker: str, model: str)
tests/integration/routing/test_non_chat_model_endpoint_gate.py:586
↓ 7 callersFunction_assert_served
(rig: _Rig, response: httpx.Response, marker: str, target: str)
tests/integration/routing/test_non_chat_model_endpoint_gate.py:390
↓ 7 callersFunction_assert_target
(route: Route, stream: bool, request: Request, body: Mapping[str, JsonValue])
tests/integration/providers/test_responses_bridge_tool_search_undeferred_wire.py:347
↓ 7 callersFunction_assert_thinking_first_block_opens_at_index_zero
(events: List[dict])
tests/unit/llms/anthropic/messages/adapters/test_streaming_iterator_first_delta.py:691
↓ 7 callersFunction_assertion_handler
A handler whose JWKS for the issuer is already cached, so no HTTP is needed.
tests/unit/proxy/auth/test_handle_jwt.py:8508
↓ 7 callersFunction_assertion_signer
()
tests/unit/proxy/auth/test_handle_jwt.py:8479
↓ 7 callersFunction_async_call
( endpoints: ContextCachingEndpoints, client: AsyncHTTPHandler, timeout: float | httpx.Timeout = 3
tests/unit/llms/vertex_ai/context_caching/test_known_cached_contents.py:91
↓ 7 callersFunction_async_request_logging_obj
(call_id: str, callbacks: list[CustomLogger], stream: bool = False)
tests/unit/litellm_core_utils/test_litellm_logging.py:8918
↓ 7 callersMethod_attach
(self, core: RouterCore)
litellm/router.py:384
↓ 7 callersFunction_auth
()
tests/unit/proxy/mcp_server/test_server_resolution.py:103
↓ 7 callersFunction_authenticate_session_token_against_db
Drive the real builder for a session token with the DB row readers replaced by the given rows or errors. Returns the ``_return_user_api_key_auth_o
tests/unit/proxy/auth/test_user_api_key_auth_request_flow.py:9099
↓ 7 callersMethod_authorize_without_client_id
Drive mcp_authorize with no caller client_id against ``server``, returning the (authorize_with_server mock, raised HTTPException or None) pair
tests/unit/proxy/management_endpoints/test_mcp_management_endpoints.py:3243
↓ 7 callersFunction_await_alias
Wait until ``candidate`` serves ``name`` from ``target``'s deployment. ``/router/settings`` answers from the stored config before a replica's nex
tests/integration/authorization/test_hidden_alias_budget_bypass.py:555
↓ 7 callersMethod_await_pending_logging
(self)
litellm/responses/streaming_iterator.py:1140
↓ 7 callersFunction_azure_entra_router
(configurable_clientside_auth_params: tuple[str, ...] = ())
tests/unit/proxy/auth/test_auth_utils.py:160
↓ 7 callersFunction_backend
()
tests/integration/providers/test_pdf_input_support_wire.py:181
↓ 7 callersFunction_base_url
(rig: Rig)
tests/integration/providers/test_anthropic_refusal_stop_details_wire.py:257
↓ 7 callersFunction_base_vertex_proxy_route
Base function for Vertex AI passthrough routes. Handles common logic for all Vertex AI services. Default base_target_url is derived from
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:3108
↓ 7 callersMethod_batch_health_check
Health check for batch mode. Calls list_batches for providers that support it. For all other providers (e.g. bedrock) the ba
litellm/litellm_core_utils/health_check_helpers.py:218
↓ 7 callersFunction_bedrock_failure_frame
(failure: BedrockFailure, message: str)
tests/integration/observability/test_bedrock_error_request_id.py:130
↓ 7 callersFunction_bedrock_native_output_enabled
( model: str, custom_llm_provider: str, model_info: Mapping[str, object] | None )
litellm/llms/bedrock/common_utils.py:300
↓ 7 callersFunction_bedrock_passthrough_data
( client_body: dict[str, object], custom_llm_provider: str = "bedrock" )
tests/unit/proxy/test_litellm_pre_call_utils.py:4364
↓ 7 callersMethod_bill_and_collect_success_event
(self, prepare=None, request_data=None)
tests/unit/proxy/test_common_request_processing.py:9421
↓ 7 callersMethod_blob
(forwarded: dict)
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:5229
↓ 7 callersFunction_blocked_bedrock_httpx_response
()
tests/unit/proxy/guardrails/guardrail_hooks/test_bedrock_guardrails.py:2871
↓ 7 callersFunction_blocked_stream_events
(text: str)
tests/integration/observability/test_guardrail_effects.py:1289
↓ 7 callersFunction_blocking_replacement
A replacement Prisma whose ``connect()`` parks until ``gate`` is set. Holds ``_reconnection_lock`` open for as long as the test needs, which is
tests/unit/proxy/db/test_prisma_planned_engine_restart.py:132
↓ 7 callersFunction_bm25_tool
()
tests/integration/providers/test_openai_responses_tool_search_wire.py:67
↓ 7 callersFunction_body
(path: str, model: str, marker: str, stream: bool = False)
tests/integration/spend/test_normalized_error_long_message.py:40
↓ 7 callersFunction_body
(route: str, model: str, prompt: str, *, stream: bool)
tests/integration/routing/test_complexity_router_databricks_classifier.py:336
↓ 7 callersFunction_body
(*rows, **kwargs)
tests/unit/proxy/common_utils/test_codex_model_catalog.py:79
↓ 7 callersFunction_body
()
tests/unit/llms/anthropic/test_anthropic_prompt_cache_prediction.py:50
↓ 7 callersFunction_bridged_round_cost
(prompt_tokens: int, completion_tokens: int)
tests/unit/responses/mcp/test_aresponses_api_with_mcp.py:3104
↓ 7 callersMethod_build_io_token_reservation_ops
Reconcile project ITPM/OTPM reservations to actual usage on success: ITPM to billable input tokens, OTPM to actual completion tokens.
litellm/proxy/hooks/parallel_request_limiter_v3.py:4422
↓ 7 callersFunction_build_passthrough_mode_server
(server_name: str, auth_type)
tests/unit/proxy/mcp_server/test_mcp_stale_session.py:1269
↓ 7 callersFunction_build_plan
(logger, sandbox, call_id="k1", provider="openai")
tests/unit/integrations/code_interpreter_interception/test_handler.py:552
↓ 7 callersMethod_build_scan_payload
( self, inputs: GenericGuardrailAPIInputs, request_data: dict, input_type: Lit
litellm/proxy/guardrails/guardrail_hooks/noma/noma_v2.py:179
↓ 7 callersFunction_build_token_row
(token: str, user_id: str, blocked: bool, metadata=None)
tests/unit/proxy/management_endpoints/scim/test_scim_key_deactivation.py:30
↓ 7 callersMethod_build_tracing_detail
Build the tracing detail from the raw Bedrock response, before redaction, so downstream loggers (OTEL, Langfuse, ...) get the
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:2252
↓ 7 callersFunction_builtin
(path: str, name: str)
tests/unit/proxy/test_route_priority.py:57
↓ 7 callersFunction_bump_major
(version: str, delta: int)
tests/unit/test_with_dashboard_node.py:15
↓ 7 callersFunction_c
(code: str, text: str)
litellm/setup_wizard.py:144
↓ 7 callersMethod_cache_key
(self, user_id: str, server_id: str)
litellm/proxy/mcp_server/oauth2_token_cache.py:244
↓ 7 callersFunction_cacheable_prefix
A prefix long enough to clear provider minimum cacheable sizes (Haiku is 2048 tokens), unique per run so the first call writes and the second read
tests/e2e/llm_translation/test_cache_control.py:103
↓ 7 callersFunction_call
(outcome: Outcome, marker: str)
tests/integration/messages_endpoint/chat_bridge/test_chat_bridge_mid_stream_failure_bookkeeping_wire.py:78
↓ 7 callersFunction_call
(case: _Case, **extra: JsonValue)
tests/unit/llms/base_llm/chat/test_provider_chat_thinking.py:82
↓ 7 callersFunction_call_id_from_callback_kwargs
(kwargs: object)
litellm/proxy/hooks/parallel_request_limiter_v3.py:635
↓ 7 callersMethod_call_openapi_tool_handler
Call an OpenAPI tool handler directly. For OpenAPI servers, instead of using MCP protocol, we call the tool handler that was
litellm/proxy/mcp_server/mcp_server_manager.py:6040
↓ 7 callersFunction_call_tool_params
(name, arguments=None)
tests/unit/proxy/mcp_server/test_mcp_server_tool_calls_and_headers.py:97
↓ 7 callersMethod_call_tool_subject
(self, server: MCPServer, oauth2_headers, raw_headers, user_api_key_auth)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:15305
↓ 7 callersFunction_called_names
(peer: McpPeer)
tests/integration/mcp/test_mcp_access_matrix.py:61
↓ 7 callersFunction_caller
(team: object = None, key: object = None)
tests/unit/proxy/common_utils/test_model_listing_utils.py:30
↓ 7 callersFunction_calls
(rig: Rig, *interaction_ids: str)
tests/integration/spend/test_background_interaction_settlement.py:409
↓ 7 callersMethod_capture_call_extra_headers
(self, server, oauth2_headers, raw_headers, user_api_key_auth)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:4093
↓ 7 callersMethod_capture_exporters
(monkeypatch)
tests/unit/integrations/otel/test_otel_v2_destinations.py:3312
↓ 7 callersFunction_carried_provider_file_id
(managed_file_id: str)
tests/integration/management/test_vector_store_file_list_managed_ids.py:286
← previousnext →9,801–9,900 of 202,479, ranked by callers