MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_real_prisma_client
The full app-level PrismaClient, not the raw generated client: add_new_member reads and writes through PrismaClient.get_data/insert_data, which th
tests/integration/management/test_team_delete_member_add_race.py:118
↓ 3 callersFunction_real_router
Build a real Router so the router-membership decision is exercised for real (wildcards, model_group_alias, exact names), stubbing only the outboun
tests/unit/proxy/guardrails/test_llm_as_a_judge.py:601
↓ 3 callersFunction_realtime_http_bearer_token
( custom_llm_provider: str, api_key: str, api_base: str, litellm_params: GenericLiteLLMParams )
litellm/realtime_api/main.py:280
↓ 3 callersFunction_realtime_input_keys
(config: GeminiRealtimeConfig, client_event: str, setup: str | None)
tests/unit/llms/gemini/realtime/test_gemini_realtime_transformation.py:1478
↓ 3 callersFunction_reap
(process: subprocess.Popen[bytes])
tests/unit/test_test_quality_gate.py:113
↓ 3 callersFunction_reasoning_content
(response: ChatResponse)
tests/e2e/llm_translation/test_deepseek_reasoning_e2e.py:45
↓ 3 callersFunction_reasoning_items_from_output_items
(output_items: Sequence[object])
litellm/completion_extras/litellm_responses_transformation/transformation.py:353
↓ 3 callersFunction_receipt
(settings_path: Path)
litellm/proxy/client/cli/commands/codex_settings.py:122
↓ 3 callersFunction_receive
(connection: websockets.ClientConnection, timeout: float)
tests/integration/providers/test_responses_websocket_session_limit.py:413
↓ 3 callersMethod_received_by_account
The attributes of the model call each account received, keyed by the headers it was sent with.
tests/unit/integrations/otel/test_otel_v2_destinations.py:3483
↓ 3 callersFunction_reconciled
(rig: _Rig, scope: str, label: str, identity: str, info: str, field: str, lookup: str)
tests/integration/observability/test_prometheus_request_metrics.py:202
↓ 3 callersFunction_record
(call: _Call, served: _Served)
tests/integration/providers/test_device_code_login_guard_wire.py:355
↓ 3 callersMethod_record
( self, model: str | None, input_tokens: int, output_tokens: int, cost
litellm/harness/endpoint.py:638
↓ 3 callersMethod_record
(self, id: str)
litellm/router_rust/steps/precall.py:316
↓ 3 callersMethod_record
(self, outcome: Literal["success", "failure"], kwargs: dict[str, object])
tests/unit/test_router_silent_experiment.py:27
↓ 3 callersMethod_record
Run a real success hook with metrics enabled and return the reader.
tests/unit/integrations/test_opentelemetry.py:6393
↓ 3 callersMethod_record_and_reply
(self, body: bytes)
tests/unit/proxy/guardrails/test_custom_code_security.py:407
↓ 3 callersFunction_record_burst
Record the status split, the pinned team's outcome and the half-deleted teams seen before the retry.
tests/integration/management/test_team_delete_chaos.py:286
↓ 3 callersFunction_record_in_background
Run a recording through the core's async cache driver without holding up the stream, as litellm schedules its stream logging.
litellm/router_rust/invoke/streaming.py:269
↓ 3 callersMethod_record_key
(batch_id: str)
litellm/proxy/hooks/batch_enqueued_tokens.py:225
↓ 3 callersMethod_record_metrics
Record the GenAI metrics for a successful LLM call.
litellm/integrations/otel/logger.py:374
↓ 3 callersFunction_record_response_id
(response_id: str)
tests/integration/observability/_logging_only_scope_support.py:210
↓ 3 callersMethod_record_similarity
Stamp the semantic-similarity score onto the request metadata carried in ``kwargs``.
litellm/caching/valkey_semantic_cache.py:240
↓ 3 callersFunction_recorded
(router: respx.MockRouter)
tests/unit/llms/azure_ai/agents/test_handler.py:75
↓ 3 callersFunction_recorded_guardrail_entries
(logging_obj: LiteLLMLoggingObj)
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_anthropic_passthrough_logging_handler.py:3039
↓ 3 callersFunction_recorded_guardrail_response
(request_data: dict)
tests/unit/proxy/guardrails/guardrail_hooks/test_headroom.py:239
↓ 3 callersFunction_recorded_guardrail_statuses
(request_data: dict[str, object])
tests/unit/proxy/guardrails/guardrail_hooks/unified_guardrails/test_unified_guardrail.py:2408
↓ 3 callersFunction_recorded_minute_counters
(cache: DualCache)
tests/unit/router_strategy/test_lowest_cost.py:32
↓ 3 callersFunction_recorded_outcome
(response: RecordedResponse)
tests/e2e/provider_edge.py:638
↓ 3 callersFunction_recording_boto3_client
boto3.client replacement that records the STS client kwargs and the assume-role params.
tests/unit/llms/bedrock/test_base_aws_llm.py:3495
↓ 3 callersFunction_recording_client
(handler: Mock)
tests/unit/llms/bedrock_mantle/test_bedrock_mantle_transformation.py:86
↓ 3 callersFunction_recording_fallback_gate
(allowed: frozenset[str], checked: list[str])
tests/unit/router_strategy/test_router_routing_groups.py:958
↓ 3 callersMethod_recording_guardrail
()
tests/unit/llms/openai/chat/guardrail_translation/test_openai_guardrail_handler.py:1605
↓ 3 callersMethod_recording_lock
(events: list[str])
tests/unit/litellm_proxy_extras/test_litellm_proxy_extras_utils.py:2301
↓ 3 callersFunction_recording_paths
(hops: Sequence[httpx.Response], paths: list[str])
tests/unit/llms/vertex_ai/gemini/test_long_decode.py:102
↓ 3 callersFunction_recording_post
(mapping_fn=lambda body: _ALLOW)
tests/unit/proxy/guardrails/guardrail_hooks/test_ovalix.py:961
↓ 3 callersMethod_recording_provider
()
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:15274
↓ 3 callersFunction_recording_publish
(calls: List[Tuple[str, str]])
tests/unit/proxy/common_utils/test_config_sync_pubsub.py:823
↓ 3 callersMethod_recording_router
(self, captured: list[dict], deployments: dict[str, str])
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:7452
↓ 3 callersMethod_recording_upstream
(frames: list[bytes], events: list[str])
tests/unit/proxy/test_common_request_processing.py:6766
↓ 3 callersFunction_records
(body: bytes)
tests/integration/observability/test_batch_line_items_cold_storage.py:503
↓ 3 callersMethod_recover_output_items_from_raw_sse
(cls, raw_sse: str | None)
litellm/completion_extras/litellm_responses_transformation/transformation.py:1568
↓ 3 callersMethod_recovery_call
( self, recovery: str, op: str, request: Mapping[str, object], origin:
litellm/router_rust/core.py:3049
↓ 3 callersFunction_redact_bedrock_guardrail_trace
A Bedrock guardrail trace echoes the matched text of its sensitive-information and word findings back.
litellm/litellm_core_utils/redact_messages.py:162
↓ 3 callersFunction_redact_choice_content
Helper to redact content in a choice (message or delta).
litellm/litellm_core_utils/redact_messages.py:212
↓ 3 callersFunction_redact_credentials
Replace credential-bearing values with a fixed marker, keeping the rest. The marker is unambiguous on the way back in: an admin who edits an
litellm/proxy/management_endpoints/cache_settings_endpoints.py:142
↓ 3 callersFunction_redact_general_setting_value
(field_name: str, value: JsonValue, is_full_admin: bool)
litellm/proxy/proxy_server.py:20924
↓ 3 callersFunction_redact_mcp_credentials_list
( mcp_servers: Iterable[LiteLLM_MCPServerTable], )
litellm/proxy/management_endpoints/mcp_management_endpoints.py:745
↓ 3 callersMethod_redact_response
( url: str = CHAT_URL, sanitized_text: str = "REDACTED", sanitized_messages=None,
tests/unit/proxy/guardrails/guardrail_hooks/test_cisco_ai_defense_chat.py:2729
↓ 3 callersFunction_redact_scim_enterprise_metadata
SCIM enterprise attributes, entitlements, and roles are persisted in user metadata so reporting can group on them, but they are directory-only fie
litellm/proxy/management_endpoints/internal_user_endpoints.py:925
↓ 3 callersFunction_redact_standard_logging_object
( payload: Mapping[str, object], *, redact_instructions: bool = True )
litellm/litellm_core_utils/redact_messages.py:495
↓ 3 callersFunction_redacted
(data: str)
tests/integration/providers/test_bedrock_converse_redacted_thinking_wire.py:293
↓ 3 callersFunction_redacted
(value: JsonValue)
tests/integration/providers/test_responses_bridge_item_marks_guardrail_wire.py:51
↓ 3 callersFunction_redacted
(content: JsonValue)
tests/integration/messages_endpoint/test_tool_result_text_wire.py:415
↓ 3 callersFunction_redacted_data
(message: OutMessage)
tests/e2e/llm_translation/test_bedrock_converse_redacted_thinking_e2e.py:251
↓ 3 callersFunction_redacted_provider_specific_fields
Copy of provider_specific_fields with its reasoning redacted the same way as the message's own.
litellm/litellm_core_utils/redact_messages.py:277
↓ 3 callersFunction_redacted_responses_api_response
( response: Mapping[str, object], *, redact_instructions: bool = True )
litellm/litellm_core_utils/redact_messages.py:471
↓ 3 callersFunction_redacted_text
(spans: tuple[_RedactionSpan, ...], redaction_format: str)
litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py:284
↓ 3 callersFunction_redacted_web_search_action
(action: object)
litellm/litellm_core_utils/redact_messages.py:345
↓ 3 callersFunction_redirect_uri_not_registered
Whether a persisted DCR client is positively known NOT to cover the current callback. A DCR client is bound to the redirect_uris it was registere
litellm/proxy/mcp_server/discoverable_endpoints.py:1625
↓ 3 callersFunction_redis
()
tests/integration/management/test_team_delete_member_cache_eviction.py:44
↓ 3 callersFunction_redis_command
(redis: Redis[bytes], *arguments: str | int)
tests/integration/caching/test_cache_max_messages.py:30
↓ 3 callersFunction_redis_key_families
(redis: MagicMock)
tests/unit/router_utils/test_routing_read_batch.py:55
↓ 3 callersFunction_redis_producers
()
tests/unit/test_internal_context.py:104
↓ 3 callersFunction_reducto_parse_response
()
tests/unit/llms/reducto/test_parse_v3.py:9
↓ 3 callersFunction_reference_vertex_jsonl_string
Row-by-row reference output built eagerly from the live single-entry transform, so the streaming path can be checked against it for parity.
tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py:95
↓ 3 callersFunction_referenced_request_ids
(previous_response_id: str, client_response_ids: tuple[str, ...])
litellm/responses/litellm_completion_transformation/session_handler.py:231
↓ 3 callersMethod_references_per_user_env_var
True when ``server.static_headers`` reference a per-user ``${NAME}`` env var. Such placeholders can only be filled from a calling user's stor
litellm/proxy/mcp_server/mcp_server_manager.py:4160
↓ 3 callersMethod_refinement
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 3 callersFunction_refresh_family_key
(family: str)
litellm/proxy/mcp_server/gateway_dcr_flow.py:477
↓ 3 callersFunction_refresh_router_search_tools
Push the search tools table into this worker's router. Best-effort: the row is already committed, so a refresh failure must not surface as a 500
litellm/proxy/search_endpoints/search_tool_management.py:57
↓ 3 callersFunction_refresh_token
()
tests/unit/proxy/mcp_server/outbound_credentials/test_session_credentials.py:52
↓ 3 callersMethod_refresh_tokens
(self, auth_data: XAIOAuthRecord)
litellm/llms/xai/oauth.py:395
↓ 3 callersMethod_refund_counter_increments
(self, refunds: Sequence[CounterRefund])
litellm/proxy/hooks/parallel_request_limiter_v3.py:2047
↓ 3 callersMethod_refund_reserved_tokens
Directly decrement previously-reserved token counters for ``scopes`` by ``amount``. Used to roll back a reservation that already
litellm/proxy/hooks/parallel_request_limiter_v3.py:2244
↓ 3 callersFunction_refunds
(reservation: tuple[int, int, str | None, str | None])
litellm/router_utils/pre_call_checks/io_token_rate_limit_check.py:972
↓ 3 callersFunction_refusal
The error body with the caller's masked user id elided, since it differs per caller.
tests/integration/authorization/test_team_admin_gate.py:585
↓ 3 callersFunction_refusal_router
()
tests/unit/proxy/guardrails/guardrail_hooks/test_decision_model.py:493
↓ 3 callersFunction_refused_redirect
Every POST to the proxy is sent with ``allow_redirects=False``: a 307 or 308 would make ``requests`` replay the form, code and verifier or refresh
litellm/proxy/client/cli/commands/pkce_login.py:266
↓ 3 callersFunction_refused_response
(*leading_text: str)
tests/unit/llms/openai/responses/test_openai_responses_guardrail_handler.py:5282
↓ 3 callersFunction_regenerate_as
(candidate: Gateway, route: str, target: str, caller: str, body: dict[str, JsonValue])
tests/integration/management/test_project_lifecycle.py:1300
↓ 3 callersFunction_region_deployment
(region: str)
tests/unit/router_utils/pre_call_checks/test_encrypted_content_affinity_check.py:2587
↓ 3 callersFunction_register
( gateway: Gateway, cleanups: Callable[[Callable[[], None]], object], card_url: str, static_he
tests/integration/providers/test_databricks_agent_wire.py:108
↓ 3 callersFunction_register
( gateway: Gateway, scenario_cleanups: ExitStack, name: str, team_id: str | None, key: str
tests/integration/authorization/test_guardrail_submissions.py:137
↓ 3 callersFunction_register
(proxy: ProxyClient, resources: ResourceManager)
tests/e2e/llm_translation/test_realtime_http_e2e.py:113
↓ 3 callersFunction_register
(proxy: ProxyClient, resources: ResourceManager)
tests/e2e/llm_translation/test_audio_transcriptions_e2e.py:51
↓ 3 callersFunction_register
(proxy: ProxyClient, resources: ResourceManager, backend: str)
tests/e2e/llm_translation/test_messages_bedrock_e2e.py:50
↓ 3 callersFunction_register
( proxy: ProxyClient, resources: ResourceManager, prefix: str, supported_endpoints: tuple[str,
tests/e2e/llm_translation/test_embedding_only_supported_endpoints_e2e.py:35
↓ 3 callersMethod_register
``_register_router_selector``: least-busy also counts calls as they start.
litellm/router_rust/steps/selection.py:119
↓ 3 callersFunction_register_a_model_mid_walk
()
tests/unit/test_utils.py:5335
↓ 3 callersFunction_register_failure_counting_logger
( monkeypatch: pytest.MonkeyPatch, logger: _FailureCountingLogger, )
tests/unit/litellm_core_utils/test_litellm_logging.py:2079
↓ 3 callersFunction_register_image_model
(proxy: ProxyClient, resources: ResourceManager)
tests/e2e/llm_translation/test_image_edits_e2e.py:36
↓ 3 callersFunction_register_in_group
(scenario: Scenario, wire: Wire, group: str, order: int | None = None)
tests/integration/providers/test_responses_core_wire.py:257
↓ 3 callersFunction_register_mantle_chat_model
( client: PassthroughClient, resources: ResourceManager, max_tokens: int | None = None )
tests/e2e/llm_translation/test_bedrock_mantle_output_limit_e2e.py:49
↓ 3 callersFunction_register_model
(gateway: Gateway, scenario: Scenario, provider: Provider, wire: Wire)
tests/integration/providers/test_google_genai_proxy_sdk_wire.py:49
↓ 3 callersFunction_register_model
(client: PassthroughClient, resources: ResourceManager)
tests/e2e/llm_translation/test_gemini_tool_call_id_length_e2e.py:53
↓ 3 callersFunction_register_models
(scenario: Scenario, upstream_url: str, num_retries: int = 0)
tests/integration/observability/test_s3_v2_streaming_failure_dedupe.py:90
↓ 3 callersFunction_register_moderation_model
(proxy: ProxyClient, resources: ResourceManager)
tests/e2e/llm_translation/test_moderations_e2e.py:37
↓ 3 callersFunction_register_noop_initializer
(guardrail_type: str)
tests/unit/proxy/guardrails/test_guardrail_registry.py:84
↓ 3 callersFunction_register_pass_through
(scenario: Scenario, wire: Wire, alias: str)
tests/integration/mcp/test_oauth_configuration.py:395
← previousnext →24,601–24,700 of 202,479, ranked by callers