MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 6 callersMethod_client_events
(client_ws: DisconnectingClientWS | RealtimeClientWS)
tests/unit/llms/bedrock/realtime/test_bedrock_realtime_handler.py:1844
↓ 6 callersFunction_close_code
(closed: ConnectionClosed)
tests/integration/providers/test_realtime_transcription_guardrail_session_update.py:478
↓ 6 callersFunction_cluster_for_pubsub
Uninitialized RedisCluster carrying the connection kwargs a real one would.
tests/unit/caching/test_redis_cluster_cache.py:196
↓ 6 callersFunction_coerce_metadata_to_dict
Return ``value`` as a dict, parsing it from JSON if delivered as a string. Multipart/form-data and ``extra_body`` callers send ``litellm_metadata
litellm/proxy/auth/auth_utils.py:935
↓ 6 callersFunction_cold_storage_handler
(payload)
tests/unit/proxy/spend_tracking/test_spend_management_endpoints.py:6404
↓ 6 callersFunction_collect_openai_passthrough_chunks
(chunks, endpoint_type)
tests/unit/proxy/pass_through_endpoints/test_streaming_handler_interrupt.py:407
↓ 6 callersFunction_collected_samples
(metric_name: str)
tests/unit/integrations/test_prometheus_labels.py:27
↓ 6 callersFunction_compact
(content: Mapping[str, JsonValue])
tests/integration/authorization/test_agent_denial_logging.py:98
↓ 6 callersFunction_compaction_item
(summary: str)
tests/integration/providers/test_responses_compaction_items_wire.py:91
↓ 6 callersFunction_comparison_options
(data: object, nested: bool)
tests/unit/test_responses_id_security.py:800
↓ 6 callersFunction_comparison_request
(comparison_response_id: str, nested: bool)
tests/unit/test_responses_id_security.py:897
↓ 6 callersFunction_compartment
(realm)
tests/unit/llms/oci/test_oci_common_utils.py:233
↓ 6 callersFunction_complete_consent
(consent, cache=None, session_user_id="u1", **overrides)
tests/unit/proxy/mcp_server/test_gateway_dcr_flow.py:1823
↓ 6 callersFunction_completed_payload
(response: httpx.Response)
tests/integration/providers/test_responses_minted_reasoning_replay_wire.py:199
↓ 6 callersFunction_config
(tmp_path: Path, **litellm_settings: object)
tests/integration/observability/test_langtrace_delivery.py:133
↓ 6 callersFunction_config
(**overrides: Any)
tests/unit/integrations/focus/test_vantage_destination.py:29
↓ 6 callersFunction_contains_breakpoint
(value: JsonValue)
tests/integration/providers/_responses_bridge_prompt_cache_breakpoint.py:69
↓ 6 callersFunction_content
(response: httpx.Response)
tests/integration/providers/test_bedrock_runtime_chat_completions_sad_wire.py:77
↓ 6 callersFunction_contents_sent_upstream
( gateway: Gateway, peer: _GeminiPeer, body: Mapping[str, JsonValue], headers: Mapping[str, str] | None =
tests/integration/providers/test_vertex_gemini_count_tokens_wire.py:368
↓ 6 callersFunction_converged_catalog
( gateway: Gateway, satisfied: Callable[[dict[str, dict[str, JsonValue]]], bool], *, key: str
tests/integration/compatibility/test_codex_model_catalog.py:135
↓ 6 callersFunction_converse
(*blocks: object, endpoint: str = "model/haiku/converse", provider: str = "bedrock")
tests/unit/llms/bedrock/test_guardrail_attachments.py:26
↓ 6 callersFunction_converse_request
(wire: Wire, target: str = CONVERSE_TARGET)
tests/integration/providers/test_bedrock_runtime_chat_completions_wire.py:142
↓ 6 callersFunction_converse_request
( model: str, tools: list[dict[str, object]], headers: dict[str, object] | None = None )
tests/unit/llms/bedrock/chat/test_converse_transformation.py:8947
↓ 6 callersMethod_convert_llm_result_to_mcp_during_response
Convert LLM guardrail result back to MCP during call response format.
litellm/proxy/utils.py:2468
↓ 6 callersMethod_convert_llm_result_to_mcp_response
Convert LLM guardrail result back to MCP response format.
litellm/proxy/utils.py:2342
↓ 6 callersFunction_converted_stream_logging_obj
(callback: CustomLogger)
tests/unit/integrations/websearch_interception/test_websearch_streaming_wrap.py:33
↓ 6 callersMethod_core_get_model_info
(self, id: str)
litellm/router_rust/surface/registry.py:1549
↓ 6 callersMethod_core_get_model_list
( self, model_name: str | None = None, team_id: str | None = None )
litellm/router_rust/surface/registry.py:1791
↓ 6 callersFunction_cost_map_entry_prices_anything
(entry: Mapping[str, object])
litellm/cost_calculator.py:980
↓ 6 callersFunction_cost_map_max_output_tokens
(model: str)
tests/unit/llms/vertex_ai/gemini/test_long_decode.py:1352
↓ 6 callersFunction_cost_map_model_info
(model: str, custom_llm_provider: str | None)
litellm/cost_calculator.py:2731
↓ 6 callersFunction_count
(gateway: Gateway, route: _CountRoute, body: Mapping[str, JsonValue])
tests/integration/providers/test_chat_template_tool_count_wire.py:122
↓ 6 callersFunction_count
(monkeypatch: pytest.MonkeyPatch, response: httpx.Response)
tests/unit/llms/azure_ai/anthropic/count_tokens/test_token_counter.py:21
↓ 6 callersFunction_count
(monkeypatch: pytest.MonkeyPatch, response: httpx.Response)
tests/unit/llms/openai/responses/count_tokens/test_token_counter.py:23
↓ 6 callersFunction_count_bodies
(requests: Sequence[Request], target: str = _COUNT_TARGET)
tests/integration/providers/test_vertex_partner_count_tokens_wire.py:194
↓ 6 callersMethod_count_message_texts
Count the text segments the guardrail translation layer extracts from a message.
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:639
↓ 6 callersFunction_count_on_a_bridged_provider_count_api
( request_body: Mapping[str, JsonValue], monkeypatch: pytest.MonkeyPatch, bedrock_model: str = "be
tests/unit/proxy/test_proxy_token_counter.py:4386
↓ 6 callersFunction_counter_keys
(router: Router, deployment_ids: tuple[str, ...] = ("dep-a", "dep-b"))
tests/unit/caching/test_request_redis_batch_pre_call.py:340
↓ 6 callersFunction_create
(gateway: Gateway, name: str, litellm_params: Mapping[str, JsonValue], info: Mapping[str, JsonValue])
tests/integration/routing/test_non_chat_model_endpoint_gate.py:157
↓ 6 callersFunction_create
(training_file: str, validation_file: str | None = None)
tests/unit/proxy/fine_tuning_endpoints/test_endpoints.py:159
↓ 6 callersFunction_create_batch
( scenario: Scenario, routes: RoutedResponse, *, unrelated_user: bool = False, )
tests/integration/management/test_batch_output_file_listing.py:188
↓ 6 callersFunction_create_batches
(router: Router, model_group: str, attempts: int)
tests/unit/test_router/test_router.py:7912
↓ 6 callersMethod_create_client_session_with_transport
Create a new client session using transport or connector configuration.
litellm/llms/custom_httpx/aiohttp_handler.py:89
↓ 6 callersMethod_create_container
(self)
litellm/integrations/code_interpreter_interception/handler.py:818
↓ 6 callersFunction_create_id_lookup_oauth2_server
()
tests/unit/proxy/mcp_server/test_discoverable_endpoints.py:3967
↓ 6 callersFunction_create_key
(client: ManagementClient, resources: ResourceManager, model: str)
tests/e2e/management/test_key_lifecycle_e2e.py:108
↓ 6 callersFunction_create_lakera_guardrail
( gateway: Gateway, cleanups: ExitStack, api_base: str, mode: str, on_flagged: str | None )
tests/integration/authorization/test_lakera_v2_on_flagged.py:103
↓ 6 callersMethod_create_mock_httpx_response
Create a mock httpx response
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_openai_passthrough_logging_handler.py:1105
↓ 6 callersMethod_create_mock_logging_obj
Create a mock logging object with optional model and custom_llm_provider
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_anthropic_passthrough_logging_handler.py:272
↓ 6 callersMethod_create_mock_logging_obj
Create a mock logging object
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_openai_passthrough_logging_handler.py:1099
↓ 6 callersMethod_create_passthrough_logging_payload
Create a mock passthrough logging payload
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_openai_passthrough_logging_handler.py:81
↓ 6 callersFunction_create_spend_logs_table
(database_url: str)
tests/integration/spend/test_key_metadata_recovery_probe_bounds.py:53
↓ 6 callersFunction_create_team
( gateway: Gateway, metadata: Mapping[str, JsonValue] | None, team_id: str | None = None, )
tests/integration/management/test_team_metadata_validation.py:36
↓ 6 callersMethod_create_test_kwargs_and_response
Load test data from JSON files
tests/unit/integrations/test_opentelemetry.py:2939
↓ 6 callersMethod_create_usage_object_from_metadata
Create a LiteLLM Usage object from Live API usage metadata. Args: usage_metadata: Usage metadata from the Live API respo
litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_ai_live_passthrough_logging_handler.py:238
↓ 6 callersFunction_created_team
What ``new_team`` answers for a group created with no members.
tests/unit/proxy/management_endpoints/scim/test_scim_v2_endpoints.py:91
↓ 6 callersFunction_credential
( auth_type: str | None = "per_user_oauth", github_host: str | None = None, )
tests/unit/llms/github_copilot/test_per_user_auth.py:51
↓ 6 callersFunction_credential_core
(make_core: MakeCore)
tests/unit/test_router/core/test_registry_characterization_lookups.py:548
↓ 6 callersFunction_credential_provider_auth_kwargs
Use a credential provider instead of an IAM callback and conflicting static credentials.
litellm/_redis.py:823
↓ 6 callersFunction_cue_texts
(srt: str)
tests/unit/llms/soniox/audio_transcription/test_soniox_audio_transcription_transformation.py:506
↓ 6 callersMethod_cut_off_tool_use
(self, index: int, name: str, block_type: str = "tool_use")
tests/unit/proxy/guardrails/guardrail_hooks/test_tool_permission.py:3722
↓ 6 callersFunction_daily_spend_transaction
(mock_prisma: MagicMock, query_raw: AsyncMock)
tests/unit/proxy/spend_tracking/test_key_metadata_recovery.py:801
↓ 6 callersFunction_data_error
(message: str)
tests/unit/proxy/utils/prisma_and_spend/test_proxy_update_spend.py:374
↓ 6 callersFunction_day
(days_ago: int)
tests/integration/spend/test_daily_tag_spend_retention.py:25
↓ 6 callersFunction_db_fallback_handler
(litellm_jwtauth: LiteLLM_JWTAuth | None = None)
tests/unit/proxy/auth/test_handle_jwt.py:5484
↓ 6 callersFunction_decode_unverified
(token: str)
tests/unit/proxy/guardrails/test_mcp_jwt_signer.py:46
↓ 6 callersFunction_decoded
(encrypted_content: str)
tests/integration/providers/test_responses_compaction_items_wire.py:335
↓ 6 callersFunction_decoded
(managed_file_id: str)
tests/integration/management/test_vector_store_file_list_managed_ids.py:280
↓ 6 callersFunction_deepClone
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 6 callersFunction_delete_daily_tag_spend
(tag: str)
tests/integration/spend/test_daily_tag_spend_retention.py:48
↓ 6 callersFunction_delta_fields
(chunks: list)
tests/unit/llms/vertex_ai/gemini/test_long_decode.py:764
↓ 6 callersFunction_deployment
( deployment_id: str = "sonnet", model: str = "claude-sonnet-5", *, team_id: str | None = None
tests/unit/proxy/management_endpoints/test_prompt_cache_prediction.py:66
↓ 6 callersFunction_deployment
(model_id: str)
tests/unit/proxy/common_utils/test_check_responses_cost.py:44
↓ 6 callersFunction_deployment
(model_id: str, tags: list[str])
tests/unit/router_strategy/test_router_tag_routing.py:3440
↓ 6 callersFunction_deployment_id
(deployment: Mapping[str, object])
litellm/proxy/health_check.py:399
↓ 6 callersFunction_deployment_params
(backend: str)
tests/e2e/llm_translation/test_messages_prompt_caching_and_tool_search_e2e.py:76
↓ 6 callersFunction_deployment_supports_web_search
Check if a deployment supports web search. Priority: 1. Check config-level override in model_info.supports_web_search 2. Default to
litellm/litellm_core_utils/routing_common_utils.py:415
↓ 6 callersFunction_deployment_without_ptu
()
tests/unit/proxy/management_endpoints/test_ptu_model_settings.py:552
↓ 6 callersFunction_deployments_allowed_for_2048_input_tokens
(router: Router)
tests/unit/test_router_model_cost_isolation.py:3914
↓ 6 callersFunction_deployments_serving_repeats
(router: litellm.Router, request_input: object)
tests/unit/router_utils/pre_call_checks/test_prompt_caching_deployment_check.py:1646
↓ 6 callersFunction_deprecated_key_rows
(key: str)
tests/integration/management/test_project_lifecycle.py:143
↓ 6 callersFunction_dictable_table
(repo: _PrismaTableHolder[_PrismaDictableRow], lookup: str)
litellm/proxy/auth/auth_checks.py:327
↓ 6 callersFunction_digest_row
(digest: str, key_alias: str | None, team_id: str | None, user_id: str | None)
tests/unit/proxy/spend_tracking/test_key_metadata_recovery.py:41
↓ 6 callersMethod_discover
(self)
litellm/llms/xai/oauth.py:265
↓ 6 callersFunction_dispatch
Endpoint of the first route a real request to method+path would hit.
tests/unit/proxy/test_route_priority.py:33
↓ 6 callersFunction_docker
(*args: str, check: bool = True)
tests/integration/database/image/test_offline_image_migration.py:40
↓ 6 callersFunction_document
A mapping as the plain JSON document the Rust core reads.
litellm/router_rust/core.py:577
↓ 6 callersFunction_download
(rig: _Rig, video_id: str, key: str | None = None)
tests/integration/routing/test_video_poll_routing_wire.py:210
↓ 6 callersFunction_drain_spend_cache_writes
()
tests/unit/proxy/proxy_server/test_spend_counters.py:1334
↓ 6 callersMethod_drive
( self, plan: Plan, request: Mapping[str, object], overrides: Mapping[str, obj
litellm/router_rust/core.py:2908
↓ 6 callersFunction_dumped
(endpoint: Endpoint, stream: bool, models: Sequence[BaseModel])
tests/integration/providers/test_gemini_long_decode_wire.py:176
↓ 6 callersFunction_dunder_origin
(annotation: object)
litellm/proxy/guardrails/guardrail_endpoints.py:1737
↓ 6 callersFunction_eden_chat_completion
Live `/v3/chat/completions` body: OpenAI shape plus Eden's top-level `cost`, `provider` and `status`, with `model` echoing the seller's bare model
tests/unit/llms/edenai/chat/test_edenai_chat_transformation.py:30
↓ 6 callersFunction_edit_endpoint_patches
(old_record, update_mock)
tests/unit/proxy/management_endpoints/test_mcp_management_endpoints.py:7543
↓ 6 callersFunction_effective_complexity_router_config
( incoming_params: GenericLiteLLMParams | None, existing_params: GenericLiteLLMParams | None )
litellm/proxy/management_endpoints/model_management_endpoints.py:543
↓ 6 callersFunction_embed
(sync_mode: bool, **kwargs: object)
tests/unit/llms/cohere/embed/test_transformation.py:200
↓ 6 callersFunction_embedding_group
()
tests/unit/test_router/core/test_parity_regress5.py:27
↓ 6 callersFunction_embedding_response
(vector)
tests/unit/llms/s3_vectors/vector_stores/test_s3_vectors_transformation.py:20
↓ 6 callersMethod_emit
(e,...t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:5
↓ 6 callersMethod_emit
(e,...t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:28
← previousnext →11,701–11,800 of 202,479, ranked by callers