Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BerriAI/litellm
/ functions
Functions
202,479 in github.com/BerriAI/litellm
⨍
Functions
202,479
◇
Types & classes
26,341
↳
Endpoints
5,595
↓ 3 callers
Function
_cursor_walk
(gateway: Gateway, seeded: _Seeded, params: Mapping[str, str], number: int = 1)
tests/integration/spend/test_session_grouped_logs_pages.py:137
↓ 3 callers
Function
_custom_litellm_key_header_name
``general_settings.litellm_key_header_name``, the deployment's custom header name for the proxy virtual key, so it is stripped from observability
litellm/proxy/mcp_server/utils.py:953
↓ 3 callers
Function
_custom_logger
()
tests/unit/proxy/test_proxy_server_custom_logger.py:77
↓ 3 callers
Function
_custom_logger_callbacks
(logging_obj: LiteLLMLoggingObj)
litellm/llms/custom_httpx/llm_http_handler.py:506
↓ 3 callers
Method
_custom_tool_call_response
(item: dict)
tests/unit/llms/openai/responses/test_openai_responses_guardrail_handler.py:1786
↓ 3 callers
Method
_customer_budget_gauges_are_noop
(self)
litellm/integrations/prometheus.py:4670
↓ 3 callers
Function
_customer_info
(client: ManagementClient, route: str, user_id: str)
tests/e2e/management/test_budget_customer_user_org_e2e.py:481
↓ 3 callers
Function
_customer_router
()
tests/unit/enterprise/proxy/management_endpoints/test_project_endpoints_prisma.py:1813
↓ 3 callers
Function
_cut_stream_lines
(sent: str)
tests/unit/llms/anthropic/chat/test_anthropic_chat_handler.py:3706
↓ 3 callers
Function
_daily_activity_error
Single construction site for the `{"error": ...}` detail shape the /team/daily/activity endpoints have always returned.
litellm/proxy/management_endpoints/team_endpoints.py:7300
↓ 3 callers
Function
_daily_activity_test_client
(repository: _FakeRepository, prisma_client: object)
tests/unit/proxy/management_endpoints/test_daily_activity_routes.py:600
↓ 3 callers
Function
_daily_spend_owner_row
(api_key: str, first_owner: str, last_owner: str)
tests/unit/proxy/spend_tracking/test_key_metadata_recovery.py:797
↓ 3 callers
Function
_dangling_credential
(gateway: Gateway, scenario: Scenario)
tests/integration/management/test_model_credential_name_updates.py:12
↓ 3 callers
Function
_data
(repository: ConfigRepository)
litellm/proxy/management_endpoints/roi_observed_endpoints.py:113
↓ 3 callers
Method
_data
(self, callback_vars)
tests/unit/proxy/management_endpoints/test_callback_management_endpoints.py:297
↓ 3 callers
Function
_data_events
(text: str)
tests/integration/providers/test_inferenceapis_wire.py:198
↓ 3 callers
Function
_data_lines
(text: str)
tests/integration/compatibility/test_openai_consumer.py:125
↓ 3 callers
Function
_database_listing_index_rows
(rows: Sequence[object])
tests/unit/vector_stores/test_vector_store_registry.py:407
↓ 3 callers
Function
_date_range
()
tests/e2e/quota_management/spend_tracking/test_spend_routes.py:95
↓ 3 callers
Function
_db_model
(model_id: str, model_name: str = "gpt-3.5-turbo")
tests/unit/proxy/proxy_server/test_proxy_config.py:70
↓ 3 callers
Function
_db_record
(data)
tests/unit/proxy/management_endpoints/test_config_override_endpoints.py:72
↓ 3 callers
Method
_db_router_row
(model_id: str, config: Mapping[str, object])
tests/unit/proxy/management_endpoints/test_model_management_endpoints.py:7122
↓ 3 callers
Function
_db_row
(name: str)
tests/integration/management/test_credential_federation_values.py:228
↓ 3 callers
Function
_db_service_call_types
(hook: AsyncMock)
tests/unit/proxy/auth/test_auth_checks.py:1981
↓ 3 callers
Function
_db_store
(vector_store_id: str, vector_store_name: str)
tests/unit/vector_stores/test_vector_store_registry.py:328
↓ 3 callers
Function
_db_update_mcp_server_row
( prisma_client: PrismaClient, server_id: str, data: "prisma_db_types.LiteLLM_MCPServerTableUpdate
litellm/proxy/mcp_server/db.py:753
↓ 3 callers
Method
_db_value
(self, key: str)
litellm/proxy/config_resolvers/settings_store.py:179
↓ 3 callers
Function
_db_with_one_ptu_hour_of_team_spend
The team's daily spend table holds one day of three requests on the PTU group, carrying one PTU-hour of gpt-4.1 uncached input; the read path behi
tests/unit/proxy/management_endpoints/test_team_endpoints.py:19172
↓ 3 callers
Function
_dd_loggers
(logging_obj)
tests/unit/integrations/datadog/test_datadog_team_handler.py:284
↓ 3 callers
Function
_dead_db
()
tests/integration/authorization/test_auth_object_prefetch.py:40
↓ 3 callers
Function
_debug_client
(caller: UserAPIKeyAuth)
tests/unit/proxy/common_utils/test_debug_utils.py:115
↓ 3 callers
Function
_debug_info_for_api_base
(configured_api_base: str)
tests/unit/litellm_core_utils/test_exception_mapping_utils.py:63
↓ 3 callers
Function
_decide_in_system_one_format
(gateway: Gateway, model: str, **extra: JsonValue)
tests/integration/providers/test_decisions_openai_format_wire.py:326
↓ 3 callers
Method
_decide_locked
Decide once per destination for the held tree; the spans the verdicts keep, and a verdict remembered for the spans of this request that start
litellm/integrations/otel/plumbing/providers.py:904
↓ 3 callers
Method
_decision
(self, request_kwargs: Dict)
tests/unit/router_strategy/test_complexity_router.py:9804
↓ 3 callers
Function
_decisions_provider_entry
(provider: str)
tests/unit/proxy/public_endpoints/test_public_endpoints.py:514
↓ 3 callers
Function
_declarable_names_in
(tools: tuple[JsonValue, ...])
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:600
↓ 3 callers
Function
_declared_before_the_first_flush
(natives: FakeNatives)
tests/unit/caching/test_request_redis_batch_pre_call.py:103
↓ 3 callers
Function
_declared_query_params
(request: Request)
litellm/proxy/list_api/common.py:42
↓ 3 callers
Function
_declared_tool_call_ids
(messages)
tests/unit/llms/databricks/chat/test_databricks_chat_transformation.py:978
↓ 3 callers
Method
_decode_base64_embedding
Decode a Perplexity embedding into a list of floats. Perplexity returns base64-encoded signed int8 values by default. If the
litellm/llms/perplexity/embedding/transformation.py:140
↓ 3 callers
Function
_decode_flow_handle
(flow_handle: str)
litellm/proxy/credential_endpoints/endpoints.py:632
↓ 3 callers
Function
_decode_json_blob
(blob: object)
enterprise/litellm_enterprise/proxy/hooks/managed_files.py:162
↓ 3 callers
Method
_decode_jwt_with_public_key
( self, token: str, public_key: JWTKeyItem | str, audience: str | list[str] |
litellm/proxy/auth/handle_jwt.py:1244
↓ 3 callers
Function
_decode_secret
The keychain entry, when it is one this metadata file may be paired with
litellm/litellm_core_utils/cli_token_utils.py:654
↓ 3 callers
Method
_decode_thinking_blocks_from_input_item
Decode ``encrypted_content`` written by ``_encode_thinking_blocks`` back into the signed thinking blocks it serialized. Lite
litellm/responses/litellm_completion_transformation/transformation.py:2547
↓ 3 callers
Function
_decode_unified_id
(encoded_id: str)
tests/unit/proxy/fine_tuning_endpoints/test_endpoints.py:52
↓ 3 callers
Function
_decoded_json
(response: httpx.Response)
litellm/llms/runwayml/image_generation/transformation.py:49
↓ 3 callers
Function
_decrypt_env_vars_on_returned_row
Decrypt ``scope="global"`` env var values on a row returned by Prisma create/update. Prisma may hand back ``env_vars`` either as a parsed list (t
litellm/proxy/mcp_server/db.py:326
↓ 3 callers
Function
_decrypted_litellm_params
(litellm_params: GenericLiteLLMParams)
litellm/proxy/management_endpoints/model_management_endpoints.py:558
↓ 3 callers
Function
_decrypted_model
(stored_model: object)
litellm/proxy/management_endpoints/model_management_endpoints.py:622
↓ 3 callers
Function
_deduplicate_bedrock_tool_content
Convenience wrapper: deduplicate ``toolResult`` blocks by ``toolUseId``.
litellm/litellm_core_utils/prompt_templates/factory.py:4629
↓ 3 callers
Function
_deepgram_payload
(alternative: dict[str, object], channel_fields: dict[str, object])
tests/unit/llms/deepgram/audio_transcription/test_deepgram_audio_transcription_transformation.py:525
↓ 3 callers
Function
_default_converse
()
tests/e2e/llm_translation/test_bedrock_native_e2e.py:104
↓ 3 callers
Function
_default_missing_result_fields
Default missing/null title/url/snippet to "" on each result item in place. SearchResult requires these three fields; a degraded TinyFish result f
litellm/llms/tinyfish/search/transformation.py:302
↓ 3 callers
Function
_default_port_for_scheme
(scheme: str)
litellm/litellm_core_utils/url_utils.py:195
↓ 3 callers
Function
_default_prefs
Tier-2 prior with no declared strengths; used when a model omits prefs.
litellm/router_strategy/adaptive_router/adaptive_router.py:70
↓ 3 callers
Function
_default_range
()
litellm/proxy/management_endpoints/gateway_request_endpoints.py:37
↓ 3 callers
Method
_default_response_modality
(model: str)
litellm/llms/gemini/realtime/transformation.py:553
↓ 3 callers
Method
_delete
(self, path: str)
tests/e2e/idp.py:221
↓ 3 callers
Function
_delete_concurrently
(replica: Gateway, interaction_ids: Sequence[str], key: str)
tests/integration/spend/test_background_interaction_settlement.py:287
↓ 3 callers
Function
_delete_store_later
(proxy: ProxyClient, resources: ResourceManager, key: str, store_id: str)
tests/e2e/llm_translation/test_vector_stores_e2e.py:115
↓ 3 callers
Function
_delete_teams
(gateway: Gateway, team_ids: tuple[str, ...])
tests/integration/routing/test_ptu_shares.py:252
↓ 3 callers
Function
_deleted_verification_token_table
( prisma_client: PrismaClient, )
litellm/proxy/management_endpoints/key_management_endpoints.py:335
↓ 3 callers
Method
_deliver_day
(self, data: _Frame, window: FocusTimeWindow)
litellm/integrations/ternary/export_engine.py:243
↓ 3 callers
Function
_deliver_with_scan_counts
( proxy_logging: ProxyLogging, user_api_key_dict: UserAPIKeyAuth, data: Dict[str, Any], seen: Dict[str, An
tests/unit/proxy/utils/proxy_logging/test_guardrail_pipeline.py:4035
↓ 3 callers
Function
_delivered_logs
(intake: respx.Route)
tests/unit/integrations/datadog/test_datadog.py:852
↓ 3 callers
Function
_delta_contents
(chunks: List[Any])
tests/unit/proxy/utils/proxy_logging/test_guardrail_pipeline.py:4027
↓ 3 callers
Function
_delta_event
(sequence_number: int)
tests/unit/responses/test_responses_api_lifecycle.py:148
↓ 3 callers
Function
_delta_fields
(chunks: Sequence[Mapping[str, JsonValue]])
tests/integration/providers/test_anthropic_refusal_stop_details_wire.py:987
↓ 3 callers
Function
_delta_frame
(identity: str, delta: dict[str, JsonValue], finish: str | None = None)
tests/integration/messages_endpoint/chat_bridge/test_chat_bridge_multi_tool_call_blocks_wire.py:192
↓ 3 callers
Function
_delta_frame_texts
The guardrailable texts of one ``contentBlockDelta`` payload, each keyed by its content block and kind.
litellm/llms/bedrock/passthrough/guardrail_translation/handler.py:662
↓ 3 callers
Method
_delta_has_content
Return True if a translated chunk carries a non-empty ``content_block_delta`` payload. Gates every ``content_block_delta`` emission.
litellm/llms/anthropic/messages/adapters/streaming_iterator.py:1464
↓ 3 callers
Function
_delta_has_signed_thinking_block
(delta: object)
litellm/responses/litellm_completion_transformation/streaming_iterator.py:131
↓ 3 callers
Method
_delta_texts
(chunks: list)
tests/unit/llms/anthropic/chat/guardrail_translation/test_anthropic_guardrail_handler.py:296
↓ 3 callers
Function
_deploy_calls
(log_path: Path)
tests/integration/database/migrations/test_prisma_toolchain.py:110
↓ 3 callers
Function
_deployment
(scenario: Scenario, api_base: str)
tests/integration/providers/test_responses_bridge_message_cache_control_wire_chaos.py:239
↓ 3 callers
Function
_deployment
(scenario: Scenario, wire: Wire)
tests/integration/providers/test_responses_compact_wire.py:47
↓ 3 callers
Function
_deployment
(name: str, model: str, mode: str, **litellm_params: JsonValue)
tests/integration/providers/test_voyage_mongodb_host_wire.py:68
↓ 3 callers
Function
_deployment
(model_name: str, api_base: str, deployment_id: str)
tests/integration/sdk/test_router_cooldown_fallback_sdk.py:55
↓ 3 callers
Function
_deployment
(team: str)
tests/integration/spend/test_unmanaged_vertex_batch_deployment_routing_wire.py:34
↓ 3 callers
Function
_deployment
(model_id: str, model_name: str = "gpt-3.5-turbo")
tests/unit/proxy/proxy_server/test_proxy_config.py:62
↓ 3 callers
Function
_deployment
One entry as `Router.model_list` holds it, for either origin.
tests/unit/proxy/management_endpoints/test_auto_router_endpoints.py:51
↓ 3 callers
Method
_deployment
(blocked)
tests/unit/proxy/management_endpoints/test_model_management_endpoints.py:9995
↓ 3 callers
Function
_deployment_api_base
( deployment: _TokenCountDeployment, responses_request: Mapping[str, object] | None = None )
litellm/proxy/proxy_server.py:15909
↓ 3 callers
Method
_deployment_callback_on_failure
(self, router, kwargs)
tests/unit/test_router/test_router.py:6878
↓ 3 callers
Method
_deployment_hook_target
(self)
litellm/integrations/custom_guardrail.py:1081
↓ 3 callers
Method
_deployment_hook_target
(self)
tests/unit/integrations/test_custom_guardrail.py:3164
↓ 3 callers
Function
_deployment_id
(deployment: Mapping[str, object])
litellm/litellm_core_utils/ptu_shares.py:158
↓ 3 callers
Function
_deployment_id
(deployment: object)
litellm/proxy/health_endpoints/_health_endpoints.py:1195
↓ 3 callers
Function
_deployment_model_info
( litellm_logging_obj: LitellmLoggingObject | None, custom_pricing: bool | None, router_model_id:
litellm/cost_calculator.py:2677
↓ 3 callers
Function
_deployment_named
(rig: AliasRig, scenario: Scenario, name: str, **parameters: JsonValue)
tests/integration/authorization/test_hidden_alias_budget_bypass.py:652
↓ 3 callers
Method
_deployment_params
Deployment litellm_params funneled through ``CredentialLiteLLMParams`` (the strict allowlist ``get_deployment_credentials_with_provider`` appl
tests/unit/llms/bedrock/files/test_bedrock_files_transformation.py:2638
↓ 3 callers
Function
_deployment_ref
(kwargs: Mapping[str, object])
litellm/router_strategy/least_busy.py:106
↓ 3 callers
Function
_deployment_tags
(deployment: Deployment)
litellm/router_rust/steps/prerouting.py:113
↓ 3 callers
Function
_deployment_team_id
(deployment: Mapping[str, object])
litellm/proxy/auth/model_checks.py:454
↓ 3 callers
Method
_deployment_with_cached_ip
( self, deployment: _DeploymentT, deployment_mapping: Mapping[str, object], ke
litellm/router_utils/kubernetes_pod_discovery.py:481
↓ 3 callers
Function
_dept
(subject: str)
tests/integration/management/test_sso_sign_in.py:63
↓ 3 callers
Method
_detect
(self, monkeypatch, database_url)
tests/unit/litellm_proxy_extras/test_litellm_proxy_extras_utils.py:825
↓ 3 callers
Method
_determine_guardrail_status
Determine the guardrail status based on NOMA API response. Args: response_json: Response from NOMA API Returns:
litellm/proxy/guardrails/guardrail_hooks/noma/noma.py:334
← previous
next →
23,001–23,100 of 202,479, ranked by callers