MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_dict_block
(block: object)
litellm/litellm_core_utils/prompt_templates/factory.py:2415
↓ 3 callersFunction_dict_fields
(value: object)
litellm/router_strategy/adaptive_router/hooks.py:165
↓ 3 callersFunction_digest
(value: JsonValue)
litellm/proxy/mcp_server/interactions.py:77
↓ 3 callersFunction_digest
(value: object)
litellm/proxy/hooks/autorouter_baseline_cache.py:109
↓ 3 callersFunction_direct_vector_store_embedding_executor
( value: object, router: "Router | None", request_kwargs: Mapping[str, object] )
litellm/vector_stores/main.py:46
↓ 3 callersMethod_disarm
(self)
litellm/responses/mcp/chat_stream_round_billing.py:274
↓ 3 callersMethod_discard_dead_loops_locked
(self)
litellm/caching/evicted_client_closer.py:288
↓ 3 callersMethod_disconnect
(self)
litellm/proxy/spend_tracking/spend_event_producer.py:308
↓ 3 callersFunction_discover_jwks_url
(issuer: str)
litellm/proxy/mcp_server/oauth_identity_binding.py:116
↓ 3 callersFunction_discovery_failure_leaves_needs_unresolved
( *, needs_authorization_url: bool, needs_token_url: bool, manual_authorization_url: str | Non
litellm/proxy/mcp_server/mcp_server_manager.py:1079
↓ 3 callersMethod_dispatch
(self, row: _RoundRow, billed: _BilledRounds, logger: LiteLLMLoggingObj)
litellm/responses/mcp/stream_round_billing.py:300
↓ 3 callersMethod_dispatch
(self, monkeypatch, interval, headers_delay=0.0, body_delay=0.0)
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:7080
↓ 3 callersMethod_dispatch
( self, method: str, sub_route: str, request_body: dict[str, object],
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_openai_passthrough_logging_handler.py:2178
↓ 3 callersMethod_dispatch_provider_chunk
( self, chunk: Any, model_response: ModelResponseStream, completion_obj: dict[
litellm/litellm_core_utils/streaming_handler.py:1489
↓ 3 callersMethod_dispatch_proxy_only_failure_handlers
Runs the async failure handler plus the threaded sync handler. Expected client (4xx) errors skip traceback formatting unless litellm.l
litellm/proxy/utils.py:4391
↓ 3 callersFunction_display_hash
Bound a model-supplied hash for logs/fallback text. A real marker hash is 24 hex chars; a prompt-injected ``compresr_retrieve`` call could pass a
litellm/proxy/guardrails/guardrail_hooks/compresr/compresr.py:275
↓ 3 callersFunction_doc
(doc_id, distance, **fields)
tests/unit/llms/valkey/vector_stores/test_valkey_transformation.py:83
↓ 3 callersMethod_docker
Run `docker <args>` to completion; returns (exit_code, stdout, stderr).
litellm/harness/sandbox/docker.py:102
↓ 3 callersFunction_done
(value: T)
tests/unit/redis/stores/test_router_usage.py:21
↓ 3 callersFunction_download
(gateway: Gateway, key: str | None, url: str)
tests/integration/management/test_skill_download_history.py:52
↓ 3 callersFunction_download
(task_payload: dict[str, object], video_bytes: bytes = b"mp4")
tests/unit/llms/volcengine/test_volcengine_video_transformation.py:631
↓ 3 callersFunction_drain
(queue: SimpleQueue[T])
tests/integration/providers/test_responses_websocket_session_limit.py:276
↓ 3 callersFunction_drain
(wrapper: CustomStreamWrapper, sync_mode: bool)
tests/unit/litellm_core_utils/test_streaming_handler.py:2243
↓ 3 callersFunction_drain
()
tests/unit/llms/anthropic/messages/native/test_streaming_iterator.py:629
↓ 3 callersMethod_drain
(self, responses_id_security, monkeypatch)
tests/unit/test_responses_id_security.py:667
↓ 3 callersFunction_drain_release_task
()
tests/unit/proxy/hooks/test_parallel_request_limiter_v3.py:5380
↓ 3 callersFunction_drain_sse_streams
()
tests/integration/_support/mcp.py:235
↓ 3 callersFunction_drain_stream
(model: str, events: list[str])
tests/unit/llms/oci/chat/test_oci_chat_transformation.py:1922
↓ 3 callersFunction_drain_stream_chain
( proxy_logging: ProxyLogging, user_api_key_dict: UserAPIKeyAuth, upstream: AsyncIterator[object],
tests/unit/proxy/utils/proxy_logging/test_streaming_hooks.py:847
↓ 3 callersFunction_drain_while_hook_io_hangs
(hook: Coroutine[object, object, None])
tests/unit/proxy/management_helpers/test_audit_logs_proxy.py:607
↓ 3 callersMethod_drain_workers
()
tests/unit/integrations/otel/test_otel_v2_destinations.py:4483
↓ 3 callersMethod_drainable_locked
Retired processors no thread is exporting through, removed from the list. ``on_end`` holds a processor across an export, so closing an evicte
litellm/integrations/otel/plumbing/providers.py:1094
↓ 3 callersMethod_drive
(self, *, monkeypatch, response, logging_obj, route_type)
tests/unit/proxy/test_common_request_processing.py:7823
↓ 3 callersMethod_drive_cache_steps
( self, call: "RouterCall[_FailureReportSteps | _SuccessReportSteps]" )
litellm/router_rust/surface/health.py:149
↓ 3 callersFunction_drive_fuzzy_pick
Drives the real InquirerPy fuzzy prompt through prompt_toolkit's own test input/output, exercising the actual widget (filtering, tab-to-toggle, en
tests/unit/proxy/client/cli/autoroute/test_wizard.py:309
↓ 3 callersFunction_drive_streaming_pass_through
Drive pass_through_request against an upstream that stalls before its first byte. ``client_asked_for_stream`` picks which of pass_through_request
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:9750
↓ 3 callersMethod_drivers
(self)
tests/unit/proxy/management_endpoints/test_common_daily_activity.py:1837
↓ 3 callersMethod_drop
(dropper)
tests/unit/litellm_core_utils/prompt_templates/test_json_schema_utils.py:677
↓ 3 callersFunction_drop_after_message_start
(logging_obj: LiteLLMLoggingObj, message_id: str, input_tokens: int)
tests/unit/proxy/pass_through_endpoints/test_streaming_handler_interrupt.py:840
↓ 3 callersFunction_drop_created_key
(scenario: Scenario, response: httpx.Response)
tests/integration/management/test_batch_limit_metadata_admin_only.py:70
↓ 3 callersFunction_drop_keys
(mapping: ObjectMapping, keys: frozenset[str])
litellm/proxy/spend_tracking/spend_event.py:226
↓ 3 callersFunction_drop_stale_object_permission_mcp_servers
( object_permission: ObjectPermissionDict, identifier_to_server_ids: dict[str, set[str]], )
litellm/proxy/management_helpers/object_permission_utils.py:392
↓ 3 callersFunction_drop_stream_chunk_token_ids
(chunk: object)
litellm/proxy/utils.py:743
↓ 3 callersFunction_dual_cache_with_open_breaker_and_a_memory_hit
()
tests/unit/caching/test_dual_cache.py:611
↓ 3 callersFunction_dump_agent_params
(raw: Mapping[str, object])
litellm/proxy/agent_endpoints/agent_registry.py:197
↓ 3 callersFunction_dunder_name
(annotation: object)
litellm/proxy/guardrails/guardrail_endpoints.py:1742
↓ 3 callersFunction_duration_value
(value: object)
litellm/llms/fal_ai/videos/transformation.py:108
↓ 3 callersMethod_dynamic_document
(self, model_names: Sequence[str])
litellm/router_rust/core.py:1659
↓ 3 callersMethod_dynamic_newrelic_credentials_are_passed
( standard_callback_dynamic_params: StandardCallbackDynamicParams, )
litellm/integrations/newrelic/newrelic_team_handler.py:87
↓ 3 callersFunction_eager_invoke_tool
(name: str, eager_input_streaming: bool)
tests/unit/llms/bedrock/messages/invoke_transformations/test_anthropic_claude_transformation.py:3600
↓ 3 callersFunction_eager_openai_tool
(name: str, **extra: object)
tests/unit/llms/bedrock/chat/invoke_transformations/test_bedrock_chat_invoke_transformations_anthropic_claude_transformation.py:1280
↓ 3 callersFunction_echo_wire_view
What the service receives (and echoes back when it changes nothing). The system row and the trailing user row are never sent.
tests/unit/proxy/guardrails/guardrail_hooks/test_headroom.py:1888
↓ 3 callersFunction_edit_response
(body: object)
tests/unit/llms/bedrock/image_edit/test_stability_transformation.py:30
↓ 3 callersFunction_edited_images
(count: int, input_images: int)
tests/unit/llms/dashscope/test_dashscope_image_edit_transformation.py:304
↓ 3 callersFunction_effective_model_info
What a deployment is actually charged, or ``None`` to price by name. `Router.get_deployment_model_info` owns this: it merges a deployment's confi
litellm/proxy/spend_tracking/savings.py:84
↓ 3 callersFunction_elements
(input: GeminiEmbeddingInput)
litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_transformation.py:307
↓ 3 callersMethod_eligible
(self, deployment: object)
litellm/router_utils/kubernetes_pod_discovery.py:257
↓ 3 callersFunction_embedding
(gateway: Gateway, model: str, marker: str)
tests/integration/providers/test_api_base_trailing_slash_wire.py:87
↓ 3 callersFunction_embedding_batch
(text_input: object)
litellm/router_rust/steps/precall.py:138
↓ 3 callersFunction_embedding_batch_limit
(deployment: Mapping[str, object])
litellm/router_utils/embedding_batch_size_check.py:59
↓ 3 callersFunction_embedding_list
(model: str)
tests/integration/providers/_api_base_trailing_slash_support.py:185
↓ 3 callersFunction_emit
(prometheus_logger: PrometheusLogger, metadata: dict)
tests/unit/integrations/test_prometheus_carried_budget_state.py:161
↓ 3 callersFunction_emit_error_span
(message, error_type="litellm.APIError")
tests/unit/integrations/otel/test_otel_v2_components.py:1145
↓ 3 callersMethod_emit_new_item_added_to_queue_event
( self, queue_size: int | None = None, )
litellm/proxy/db/db_transaction_queue/spend_update_queue.py:224
↓ 3 callersMethod_emit_phase_failure
Report rows that could not be reset without failing the chunk: the rows that did reset are already committed, and raising here would cost
litellm/proxy/common_utils/reset_budget_job.py:1104
↓ 3 callersFunction_emit_team_callback_audit_log
Emit an audit-log row for a team-callback mutation. Mirrors the ``store_audit_logs``-gated pattern used in ``team_endpoints.py``: the call is
litellm/proxy/management_endpoints/team_callback_endpoints.py:196
↓ 3 callersFunction_emitted_metric_names
(reader)
tests/unit/integrations/otel/test_otel_v2_logger.py:3021
↓ 3 callersFunction_empty_aiter
()
tests/unit/litellm_core_utils/test_streaming_handler.py:6334
↓ 3 callersFunction_empty_bin
(tmp_path: Path)
tests/unit/litellm_proxy_extras/test_prisma_toolchain.py:105
↓ 3 callersFunction_empty_block_msgs
()
tests/unit/llms/anthropic/messages/native/test_anthropic_messages_handler.py:740
↓ 3 callersFunction_empty_choices_chunk
(usage: Usage | None = None)
tests/unit/responses/litellm_completion_transformation/test_streaming_iterator_transformation.py:1095
↓ 3 callersFunction_empty_transactions
(**overrides: dict[str, float])
tests/unit/proxy/db/test_model_access_group_spend.py:94
↓ 3 callersFunction_encode
The OTLP body, or ``None`` when nothing survived: a span the encoder rejects is dropped, not the whole batch.
litellm/integrations/langfuse/langfuse_sdk.py:772
↓ 3 callersMethod_encode_graph_user_id
Percent-encode Entra user id for Graph ``/users/{id}/...`` path segments.
litellm/proxy/guardrails/guardrail_hooks/microsoft_purview/base.py:99
↓ 3 callersMethod_end_stream
(self, stream_id: int)
tests/integration/_support/bedrock_realtime_peer.py:497
↓ 3 callersMethod_end_thinking_run
(self)
litellm/llms/anthropic/messages/adapters/streaming_iterator.py:526
↓ 3 callersFunction_end_user_keys
(cache, metadata_field, *end_user_ids)
tests/unit/caching/test_caching.py:194
↓ 3 callersFunction_end_user_on_github_only
(rig: _Rig)
tests/integration/observability/test_bedrock_converse_guardrail_rewrites.py:633
↓ 3 callersFunction_end_user_row
(user_id: str)
tests/integration/spend/test_end_user_budget_enforcement.py:513
↓ 3 callersMethod_ended_tool_call_stream_chunks
()
tests/unit/llms/openai/chat/guardrail_translation/test_openai_guardrail_handler.py:1338
↓ 3 callersFunction_ending_with
(body: Mapping[str, object], finish_reason: str)
tests/unit/llms/vertex_ai/gemini/test_long_decode.py:79
↓ 3 callersFunction_endless_client_secrets
(raw: str)
tests/integration/authorization/test_realtime_client_secret_access.py:65
↓ 3 callersFunction_endpoint
(name: str)
tests/unit/proxy/test_route_priority.py:43
↓ 3 callersFunction_endpoint
(body, sink=None)
tests/unit/proxy/mcp_server/outbound_credentials/test_authz_code_refresher.py:44
↓ 3 callersFunction_endpoint_not_configured_detail
The 400 detail for an unresolved OAuth endpoint, naming the likely cause for this server's shape (LIT-4658): an anchored issuer whose metadata fel
litellm/proxy/mcp_server/discoverable_endpoints.py:789
↓ 3 callersMethod_enforce_admitted_live_policy
Run the standard pipeline's authorization checks over the admitted identity. Mirrors the ``user_api_key_auth`` wrapper between the builder an
litellm/proxy/mcp_server/auth/user_api_key_auth_mcp.py:1707
↓ 3 callersMethod_enforce_authorized_model
Overwrite any ``model`` field in a ``response.create`` frame with the connection-authorized model to prevent deployment-substitution
litellm/responses/streaming_iterator.py:2792
↓ 3 callersFunction_enforce_bedrock_converse_models
( model_cost: Mapping[str, ModelInfoBase], whitelist_models: Collection[str] )
tests/unit/test_utils_get_model_info.py:155
↓ 3 callersFunction_enforce_mcp_server_rate_limit
( user_api_key_auth: UserAPIKeyAuth | None, server: MCPServer, )
litellm/proxy/mcp_server/operations.py:270
↓ 3 callersMethod_enforce_or_reject_frame
Run the per-frame project quota check. On rejection, sends an ``error`` event to the client and reports that the frame must be droppe
litellm/responses/streaming_iterator.py:3056
↓ 3 callersFunction_enforce_proxy_admin
(user_api_key_dict: UserAPIKeyAuth)
litellm/proxy/management_endpoints/coordination_redis_endpoints.py:69
↓ 3 callersFunction_enforce_unique_key_alias
Helper to enforce unique key aliases across all keys. Args: key_alias (Optional[str]): The key alias to check prisma_client
litellm/proxy/management_endpoints/key_management_endpoints.py:8520
↓ 3 callersMethod_enhance_usage_with_xai_web_search_fields
Copy usage.server_side_tool_usage_details from the provider usage block onto model_response.usage for tool cost calculation.
litellm/llms/xai/chat/transformation.py:391
↓ 3 callersMethod_enqueue_task
(self, task: LoggingTask)
litellm/litellm_core_utils/logging_worker.py:293
↓ 3 callersFunction_enrich_model_info_with_litellm_data
Enrich a model dictionary with litellm model info (pricing, context window, etc.) and remove sensitive information. Args: model:
litellm/proxy/proxy_server.py:16810
↓ 3 callersFunction_enriched_model_info
(monkeypatch, litellm_params: dict, model_info: dict)
tests/unit/proxy/proxy_server/test_routes_model_info.py:367
↓ 3 callersMethod_ensure_cache_key_payload_index
(self)
litellm/caching/qdrant_semantic_cache.py:200
↓ 3 callersFunction_ensure_litellm_received_at_on_request_state
Idempotently stamp ``request.state.litellm_received_at`` with the moment litellm's own code started handling this request -- the first line of
litellm/proxy/auth/user_api_key_auth.py:2071
↓ 3 callersFunction_enter_circuit_breaker
Reject the call if the breaker is open, else hold the admission its outcome settles.
litellm/caching/redis_cache.py:436
↓ 3 callersFunction_enterprise_extension_sub_path
(path: str)
litellm/proxy/management_endpoints/scim/scim_v2.py:2319
← previousnext →23,101–23,200 of 202,479, ranked by callers