MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 5 callersMethod_make_manager
(self, servers)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:11439
↓ 5 callersFunction_make_maps_usage
(google_maps_grounding_requests: int)
tests/unit/llms/gemini/test_cost_calculator.py:146
↓ 5 callersFunction_make_membership
(user_id, org_id, role="org_admin")
tests/unit/proxy/management_endpoints/test_org_admin_team_access.py:48
↓ 5 callersMethod_make_mock_file_object
(self)
tests/unit/llms/vertex_ai/files/test_file_retrieve_provider_routing.py:18
↓ 5 callersFunction_make_mock_logger
()
tests/unit/integrations/test_prometheus_media_generation_metrics.py:41
↓ 5 callersFunction_make_mock_mcp_server
( server_id: str, alias=None, server_name=None, name=None, )
tests/unit/proxy/management_helpers/test_object_permission_utils.py:246
↓ 5 callersFunction_make_openai_response_with_tool_calls
Chat-completion response carrying several tool calls in one turn (parallel tool calling). ``tool_calls`` items are (name, arguments, id).
tests/unit/proxy/guardrails/guardrail_hooks/test_compresr.py:150
↓ 5 callersMethod_make_org
(self, organization_id: str, max_budget: float | None = None)
tests/unit/proxy/management_endpoints/test_team_default_params.py:167
↓ 5 callersFunction_make_otel_v2_logger
()
tests/unit/test_service_logger.py:142
↓ 5 callersFunction_make_policy_row
( policy_id="uuid-1", policy_name="db-policy", version_status="production", guardrails_add=Non
tests/unit/proxy/policy_engine/test_policy_engine_endpoints.py:19
↓ 5 callersMethod_make_proxy_config
(self)
tests/unit/proxy/management_endpoints/test_team_default_params.py:31
↓ 5 callersFunction_make_response
Create a ModelResponse with the given content as JSON string.
tests/unit/litellm_core_utils/test_json_schema_validation.py:19
↓ 5 callersMethod_make_router
(self, **policy_kwargs)
tests/unit/router_utils/test_cooldown_handlers.py:1542
↓ 5 callersFunction_make_router_with_access_groups
(model_names, model_access_groups, deployments)
tests/unit/proxy/test_proxy_server_endpoints_and_startup.py:2246
↓ 5 callersFunction_make_send
Datadog double: 413 batches larger than max_ok, 202 (recording delivery) otherwise.
tests/unit/integrations/datadog/test_datadog_logger_batching.py:38
↓ 5 callersMethod_make_server
(self, server_id, available_on_public_internet=True)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:11430
↓ 5 callersMethod_make_server
(self, name="test_server")
tests/unit/proxy/mcp_server/test_mcp_hook_extra_headers.py:86
↓ 5 callersFunction_make_team
(team_id="team-1", organization_id="org-1")
tests/unit/proxy/management_endpoints/test_org_admin_team_access.py:32
↓ 5 callersFunction_make_team_obj_search
(team_id="team-1", search_tools=None)
tests/unit/proxy/management_helpers/test_object_permission_utils.py:1246
↓ 5 callersFunction_make_tx
Build an async context-manager mock for prisma_client.db.tx().
tests/unit/proxy/management_endpoints/test_workflow_management_endpoints.py:86
↓ 5 callersFunction_make_user_api_key_dict
(**overrides)
tests/unit/proxy/pass_through_endpoints/test_passthrough_post_call_guardrails.py:37
↓ 5 callersMethod_make_user_api_key_dict
(self, key_alias=None, token=None, user_email=None)
tests/unit/proxy/test_common_request_processing.py:4189
↓ 5 callersFunction_make_valid_token
(**kwargs)
tests/unit/proxy/auth/test_multi_budget_windows.py:14
↓ 5 callersMethod_make_video_messages
(self, video_metadata: dict)
tests/unit/llms/vertex_ai/gemini/test_vertex_ai_gemini_transformation.py:1674
↓ 5 callersMethod_make_wrapper
(self, model: str)
tests/unit/llms/oci/test_oci_coverage_boost.py:1030
↓ 5 callersFunction_managed
(scenario: Scenario, **limits: JsonValue)
tests/integration/routing/test_responses_websocket_turn_admission.py:192
↓ 5 callersFunction_managed_openai_store
(vector_store_id: str, litellm_params: Mapping[str, object])
tests/unit/proxy/rag_endpoints/test_rag_endpoints.py:384
↓ 5 callersMethod_manager_ready_for_call_tool
( listed_tools: list[MCPTool], caller: ListedToolsCaller | None = None )
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:7686
↓ 5 callersMethod_manager_with_recording_client
()
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:15292
↓ 5 callersFunction_mantle_messages_route
(region: str)
tests/unit/llms/bedrock_mantle/test_bedrock_mantle_messages_transformation.py:98
↓ 5 callersMethod_map_audio_params
Expected input: { "voice": "alloy", "format": "mp3", "language_code": "en-US", }
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:1741
↓ 5 callersFunction_mapping_field
(container: Mapping[str, object], key: str)
litellm/litellm_core_utils/realtime_streaming.py:240
↓ 5 callersFunction_mapping_field
The value at `key` when it is a mapping, else an empty one.
litellm/integrations/datadog/datadog_llm_obs.py:269
↓ 5 callersFunction_mapping_info
(gateway: Gateway, identity: str)
tests/integration/authorization/test_jwt_key_mapping_lifecycle.py:404
↓ 5 callersFunction_mapping_row
(gateway: Gateway, identity: str)
tests/integration/authorization/test_jwt_key_mapping_lifecycle.py:410
↓ 5 callersFunction_mapping_table
View the JWT key mapping repository's untyped Prisma table through the actions used here.
litellm/proxy/management_endpoints/jwt_key_mapping_endpoints.py:138
↓ 5 callersFunction_mappings
(value: object)
litellm/llms/bedrock/guardrail_attachments.py:167
↓ 5 callersFunction_marked_tool
( name: str, cache_control: dict | None = None, *, nested: bool = False )
tests/unit/router_utils/test_prompt_caching_cache.py:493
↓ 5 callersFunction_marker
()
tests/integration/observability/test_presidio_masking_endpoints.py:490
↓ 5 callersFunction_marker
()
tests/integration/routing/test_azure_passthrough_spend_row.py:22
↓ 5 callersFunction_marker_of
(request: Request)
tests/integration/providers/test_hosted_vllm_reasoning_content_chaos.py:192
↓ 5 callersMethod_marks_on_the_last_message_after_the_responses_pass
( self, marked_calls: int, marked_tools: int = 0, other_items: tuple[dict[str, object], ...] = ()
tests/unit/integrations/test_anthropic_cache_control_hook.py:4747
↓ 5 callersFunction_masked
(value: str)
tests/integration/security/test_config_overrides.py:89
↓ 5 callersMethod_masking_guardrail
()
tests/unit/llms/anthropic/chat/guardrail_translation/test_anthropic_guardrail_handler.py:288
↓ 5 callersFunction_matches
(row: Mapping[str, object], where: Mapping[str, object])
tests/unit/proxy/management_helpers/test_bulk_user_deletion.py:54
↓ 5 callersFunction_materialize_auth_headers
Extract the header a resolved ``httpx2.Auth`` would set, as a plain dict, or None. OpenAPI tool closures egress through ``AsyncHTTPHandler`` meth
litellm/proxy/mcp_server/mcp_server_manager.py:1541
↓ 5 callersMethod_maybe_log_raw_request
(self, kwargs, response_obj, start_time, end_time, parent_span)
litellm/integrations/opentelemetry.py:1527
↓ 5 callersFunction_mcp_list_payload
(**overrides)
tests/unit/integrations/otel/test_otel_v2_logger.py:830
↓ 5 callersFunction_mcp_payload
(capture=False, **overrides)
tests/unit/integrations/otel/test_otel_v2_sources_of_truth.py:427
↓ 5 callersFunction_media_group
``refuse`` declares no audio or video input and weighs more; ``take`` declares both.
tests/unit/test_router/core/test_parity_decisions_routing.py:150
↓ 5 callersFunction_member_ids
(row)
tests/integration/management/test_team_bulk_member_delete.py:51
↓ 5 callersFunction_membership
(user_id: str, team_id: str)
tests/integration/spend/test_team_member_total_spend_reconciliation.py:69
↓ 5 callersFunction_memory_table
(prisma_client: "PrismaClient")
litellm/proxy/memory/memory_endpoints.py:56
↓ 5 callersFunction_merge_session_fields
( base: Mapping[str, object], update: Mapping[str, object], depth: int = 0 )
litellm/litellm_core_utils/realtime_streaming.py:174
↓ 5 callersFunction_message
(attrs: Iterable[tuple[str, str]], body: Iterable[_Segment])
litellm/llms/bedrock/count_tokens/kimi_k3.py:302
↓ 5 callersFunction_message_delta
(events: list[dict])
tests/unit/llms/anthropic/messages/adapters/test_streaming_iterator_tool_args.py:431
↓ 5 callersFunction_message_events
(*blocks: tuple[dict[str, object], tuple[dict[str, object], ...]])
tests/unit/llms/anthropic/chat/test_anthropic_chat_handler.py:3333
↓ 5 callersFunction_message_provider_fields
(payload: dict[str, JsonValue])
tests/integration/providers/test_audit_any_sweep_vector_store.py:63
↓ 5 callersFunction_message_stream_events
(stop_reason: str, stop_details: dict | None)
tests/unit/llms/anthropic/chat/test_anthropic_chat_handler.py:4159
↓ 5 callersMethod_messages
()
tests/unit/test_router/test_router.py:10194
↓ 5 callersFunction_messages_stream
( rig: Rig, key: str, model: str, text: str, client: Client = "httpx", *, cached: bool = False )
tests/integration/providers/test_anthropic_refusal_stop_details_wire.py:385
↓ 5 callersFunction_messages_with_compaction
History that already has a compaction block in an assistant turn.
tests/unit/llms/anthropic/messages/context_management/test_compact.py:69
↓ 5 callersFunction_metadata
(request: Mapping[str, object], bucket: str = "metadata")
tests/unit/test_router/core/test_gaps_l14000_selection.py:39
↓ 5 callersFunction_metadata_of
(standard_logging_payload: StandardLoggingPayload)
litellm/integrations/datadog/datadog_llm_obs.py:102
↓ 5 callersMethod_metadata_with_user_api_key_fields
(self)
tests/unit/integrations/test_langsmith_init.py:404
↓ 5 callersFunction_mid_stream_retry_trigger
The provider's own error, which is what the retry policy and the retry rules classify.
litellm/router_rust/invoke/streaming.py:416
↓ 5 callersFunction_mistral_router
( litellm_params: Mapping[str, JsonValue] = MappingProxyType({}), router_defaults: Mapping[str, JsonVa
tests/unit/proxy/test_proxy_token_counter.py:4095
↓ 5 callersFunction_mock_customer_row
(user_id: str, spend: float, max_budget: float | None, budget_reset_at)
tests/unit/integrations/test_prometheus_user_team_metrics.py:918
↓ 5 callersFunction_mock_http_client
(json_response: dict)
tests/unit/secret_managers/test_aws_secret_manager_replication.py:32
↓ 5 callersFunction_mock_image_generation_route
(respx_mock: respx.MockRouter, api_base: str, model: str)
tests/unit/llms/azure/image_generation/test_azure_image_generation_init.py:513
↓ 5 callersMethod_mock_manager_with_toolsets
(self, toolset_perms)
tests/unit/proxy/mcp_server/auth/test_user_api_key_auth_mcp.py:5192
↓ 5 callersFunction_mock_prisma
(null_rows, token_rows)
tests/unit/proxy/mcp_server/test_oauth2_flow_backfill.py:134
↓ 5 callersFunction_mock_prisma
(row=None, upserted_revision=1)
tests/unit/proxy/common_utils/test_periodic_reload_schedule.py:33
↓ 5 callersMethod_mock_request
()
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:2187
↓ 5 callersFunction_mock_response
()
tests/unit/llms/azure/search/test_bing_grounding_search_transformation.py:462
↓ 5 callersMethod_mock_sso_db_record
Point /get/sso_settings at a stored SSO row (or None for no row).
tests/unit/proxy/ui_crud_endpoints/test_proxy_setting_endpoints.py:525
↓ 5 callersFunction_mock_zilliz_search_route
(respx_mock: respx.MockRouter)
tests/unit/llms/milvus/vector_stores/test_milvus_vector_stores_transformation.py:153
↓ 5 callersFunction_model
(gateway: Gateway, scenario: Scenario, wire_url: str)
tests/integration/providers/test_vertex_gemini_function_call_wire.py:71
↓ 5 callersFunction_model
(scenario: Scenario, provider: Wire, name: str = "openai/gpt-4o-mini")
tests/integration/observability/test_azure_content_safety_dispatch_resilience.py:48
↓ 5 callersFunction_model_access_group_counters
(matched, **max_budget_by_group)
tests/unit/proxy/test_budget_reservation.py:3322
↓ 5 callersFunction_model_group_metrics
(activity: Mapping[str, JsonValue])
tests/integration/spend/test_ptu_share_attribution.py:187
↓ 5 callersFunction_model_info
(model: str)
tests/unit/llms/databricks/test_databricks_cost_calculator.py:118
↓ 5 callersFunction_model_on
(serving: Serving, gateway: Gateway, rig: _Rig, wire: Wire)
tests/integration/streaming/test_stream_open_error_provider_headers_proxy.py:137
↓ 5 callersMethod_model_supports_speed_param
Whether the model accepts Anthropic's ``speed`` parameter (fast mode). Fast mode is direct Anthropic API-only (not Bedrock, Vertex, or Azure)
litellm/llms/anthropic/chat/transformation.py:763
↓ 5 callersFunction_model_turn
(*parts: Mapping[str, JsonValue])
tests/integration/providers/test_gemini_thinking_replay_wire.py:77
↓ 5 callersFunction_model_user
(gateway: Gateway, model: str, max_budget: float = 10.0)
tests/integration/management/test_user_updates_wedged_coordination_redis.py:423
↓ 5 callersFunction_models_status
(candidate: Gateway, key: str)
tests/integration/management/test_scim_group_delete.py:112
↓ 5 callersMethod_monitor_unmasked
Drive the monitor path and hand back the result plus the ERROR records it logged.
tests/unit/proxy/guardrails/guardrail_hooks/test_lakera_ai_v2.py:714
↓ 5 callersFunction_most_expensive
The candidate that would have cost the most on the reference request.
litellm/router_strategy/savings_baseline.py:137
↓ 5 callersFunction_multipart_text_fields
(content_type: str, body: bytes)
tests/unit/images/test_image_edit_extra_params.py:26
↓ 5 callersFunction_multiplexed_openai_backends
( created_batch: Mapping[str, JsonValue] | None = None, content_gate: threading.Event | None = None, )
tests/integration/providers/test_files_batches_wire.py:218
↓ 5 callersFunction_named
(values: Sequence[JsonValue])
tests/integration/providers/_gemini_long_decode_support.py:322
↓ 5 callersFunction_names_caller_may_request
(deployment: object, team_id: str | None)
litellm/proxy/health_endpoints/_health_endpoints.py:1106
↓ 5 callersFunction_names_hidden_by_listing_callbacks
( user_api_key_dict: UserAPIKeyAuth, model_names: Sequence[str] )
litellm/proxy/proxy_server.py:12612
↓ 5 callersFunction_native
(sunk: tuple[Sunk, ...], stage: str)
tests/integration/mcp/test_mcp_accounting_guardrails.py:385
↓ 5 callersFunction_native_messages
(model: str, upstream: AsyncHTTPHandler, *, stream: bool, **extra: object)
tests/unit/llms/anthropic/messages/native/test_anthropic_messages_handler.py:2148
↓ 5 callersFunction_native_opus_body_sent
( respx_mock: respx.MockRouter, model_info: Mapping[str, object] | None, **params: object )
tests/unit/llms/anthropic/messages/native/test_anthropic_messages_router.py:798
↓ 5 callersFunction_native_upstream
(*, stream: bool, model: str, **extra: object)
tests/unit/llms/anthropic/messages/native/test_anthropic_messages_handler.py:2135
↓ 5 callersFunction_new_async_github_client
()
litellm/llms/github_copilot/per_user_auth.py:341
↓ 5 callersFunction_newest_marker
(text: str)
tests/integration/streaming/test_stream_open_error_provider_headers_proxy.py:101
← previousnext →14,601–14,700 of 202,479, ranked by callers