MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_burst
( base_url: str, key: str, model: str, calls: tuple[_Call, ...], prompt: str, *, t
tests/integration/providers/test_bedrock_kimi_k3_cache_point_wire.py:1390
↓ 3 callersFunction_burst
( base_url: str, key: str, calls: tuple[_Call, ...], *, tolerate_transport_errors: bool = False )
tests/integration/providers/test_decisions_box_deployment_flag_chaos.py:87
↓ 3 callersFunction_burst
( base_url: str, key: str, model: str, calls: tuple[_Call, ...], *, tolerate_transport_errors: bool = Fals
tests/integration/providers/test_gemini_thinking_replay_chaos.py:212
↓ 3 callersFunction_burst
( gateway: Gateway, model: str, calls: tuple[_Call, ...], *, tolerate_transport_errors: bool = False )
tests/integration/providers/test_chatgpt_responses_caller_stream_chaos.py:123
↓ 3 callersFunction_burst
(base_url: str, key: str, count: int, *, tolerate_transport_errors: bool = False)
tests/integration/providers/test_voyage_mongodb_host_wire.py:424
↓ 3 callersFunction_burst
(rig: Rig, count: int)
tests/integration/observability/test_otel_excluded_services_matrix.py:612
↓ 3 callersFunction_burst
( base_url: str, key: str, models: _Models, calls: tuple[_Call, ...], *, tolerate_transport_errors: bool =
tests/integration/messages_endpoint/providers/anthropic/test_anthropic_messages_pre_content_retry_chaos.py:219
↓ 3 callersFunction_burst
( gateway: Gateway, calls: tuple[_Call, ...], *, tolerate_transport_errors: bool = False )
tests/integration/streaming/test_faked_responses_stream_chaos.py:203
↓ 3 callersFunction_burst
(chaos: _Chaos, phase: str)
tests/integration/compatibility/test_status_code_followups_chaos.py:175
↓ 3 callersFunction_burst
( base_url: str, key: str, model: str, calls: Sequence[tuple[str, bool]], prompts: Sequenc
tests/integration/routing/test_complexity_router_databricks_classifier.py:401
↓ 3 callersFunction_burst_calls
(fleet: Fleet, per_endpoint: int, streams_per_endpoint: int)
tests/integration/caching/test_response_cache_chaos.py:192
↓ 3 callersFunction_burst_calls
(kinds: tuple[_Kind, ...], per_kind: int)
tests/integration/compatibility/test_openai_sdk_client_paths_chaos.py:229
↓ 3 callersFunction_burst_client
(gateway: Gateway)
tests/integration/providers/test_vertex_batch_row_line_errors_chaos.py:59
↓ 3 callersFunction_burst_marker
(request: Request, prefix: str)
tests/integration/spend/test_spend_log_tool_payload_content.py:1517
↓ 3 callersFunction_burst_markers
(prefix: str, count: int)
tests/integration/authorization/test_hidden_alias_budget_bypass_chaos.py:49
↓ 3 callersFunction_burst_response_id
(response: httpx.Response, kind: str, marker: str)
tests/integration/spend/test_spend_log_tool_payload_content.py:1559
↓ 3 callersFunction_by_custom_id
(records: tuple[dict[str, JsonValue], ...])
tests/integration/observability/test_batch_line_items_cold_storage.py:526
↓ 3 callersFunction_by_slug
(entries: Sequence[Mapping[str, JsonValue]])
tests/integration/configuration/test_codex_catalog_boot.py:71
↓ 3 callersFunction_by_slug
(entries: Sequence[Mapping[str, JsonValue]])
tests/integration/compatibility/test_codex_model_catalog.py:115
↓ 3 callersFunction_by_text
(received: tuple[Request, ...])
tests/integration/providers/test_gemini_tts_voice_mapping_owned_proxy.py:265
↓ 3 callersFunction_byok_authorization_server_response
(base_url: str, issuer: str)
litellm/proxy/mcp_server/byok_oauth_endpoints.py:692
↓ 3 callersFunction_byok_row_outside_caller_teams
Whether a team BYOK row belongs to a team the caller is not a member of. `team_id` is only set on team BYOK rows; non-team rows fall through
litellm/proxy/proxy_server.py:16953
↓ 3 callersFunction_byte_stream
()
tests/unit/llms/anthropic/messages/native/test_streaming_iterator.py:164
↓ 3 callersFunction_bytes_at
(answer: str, span: Mapping[str, object])
tests/unit/llms/vertex_ai/gemini/test_long_decode.py:303
↓ 3 callersFunction_cache_chat
( client: PassthroughClient, key: str, model: str, prefix: str, ttl: str | None = None )
tests/e2e/llm_translation/test_cache_control.py:125
↓ 3 callersFunction_cache_control_request_params
()
tests/unit/llms/openai_like/messages/test_openai_like_anthropic_messages_transformation.py:321
↓ 3 callersMethod_cache_controlled_messages
()
tests/unit/llms/openai/chat/test_openai_gpt_transformation.py:811
↓ 3 callersFunction_cache_creation_tokens
(usage: Usage | None)
tests/e2e/llm_translation/test_cache_control.py:242
↓ 3 callersFunction_cache_hit
(logger: LoggingSurface)
litellm/rust_bridge/host/callbacks_legacy_python.py:276
↓ 3 callersFunction_cache_key
(config: OAuthTokenExchangeConfig, subject_token: str)
litellm/litellm_core_utils/oauth_token_exchange.py:120
↓ 3 callersFunction_cache_key
(spec: TokenExchangeSpec)
litellm/llms/base_llm/auth/token_exchange.py:286
↓ 3 callersMethod_cache_key_filterable_field
(cls)
litellm/caching/redis_semantic_cache.py:176
↓ 3 callersFunction_cache_key_in_spend_log
(monkeypatch: pytest.MonkeyPatch, cache: litellm.Cache | None, preset: str | None)
tests/unit/proxy/spend_tracking/test_spend_tracking_utils.py:471
↓ 3 callersFunction_cache_model_access_group_budget
(key_cache, group, spend, max_budget=None)
tests/unit/proxy/test_budget_reservation.py:3396
↓ 3 callersFunction_cache_points
(node: object)
tests/unit/llms/bedrock/chat/test_converse_transformation.py:669
↓ 3 callersFunction_cache_with_membership
(user_id: str, team_id: str, allowed_models: list[str] | None)
tests/unit/proxy/auth/test_auth_checks_object_access_and_lookup.py:11444
↓ 3 callersMethod_cache_write_count
(usage_object: Mapping[str, object])
litellm/llms/bedrock/chat/converse_transformation.py:2618
↓ 3 callersFunction_cache_write_usage
(prompt_tokens: int, cache_write_tokens: int, completion_tokens: int)
tests/unit/test_cost_calculator.py:6366
↓ 3 callersFunction_cached
(namespace: str, name: str)
litellm/_lazy_imports.py:53
↓ 3 callersFunction_cached_azure_ad_token_refresh_provider
(scope: str)
litellm/llms/azure/common_utils.py:297
↓ 3 callersFunction_cached_budget_limits
(cached: object)
litellm/proxy/proxy_server.py:3683
↓ 3 callersMethod_cached_fetch_token
( self, creds: object, audience: str, ssl_verify: bool | str, api_key: str | None = None )
litellm/llms/gdc/chat/transformation.py:187
↓ 3 callersMethod_cached_get_model_group_info
Cached version of get_model_group_info, uses @lru_cache wrapper This is a speed optimization, since set_response_headers makes a cal
litellm/router_rust/surface/model_info.py:465
↓ 3 callersFunction_cached_messages
(marker: str)
tests/e2e/llm_translation/test_messages_prompt_caching_and_tool_search_e2e.py:87
↓ 3 callersFunction_cached_usage
(prompt_tokens: int, cached_tokens: int, completion_tokens: int)
tests/unit/test_cost_calculator.py:6320
↓ 3 callersMethod_calculate_usage
( self, input: list[str], encoding: _SupportsEncode, meta: dict, billed_input_tokens: int | None = Non
litellm/llms/cohere/embed/v1_transformation.py:85
↓ 3 callersFunction_call
(rig: _Rig, index: int, kind: Kind, label: str)
tests/integration/providers/test_malformed_tools_chaos.py:199
↓ 3 callersFunction_call
(chaos: _Chaos, kind: str, marker: str, *, key: str | None = None)
tests/integration/compatibility/test_status_code_followups_chaos.py:153
↓ 3 callersFunction_call
Run one acompletion against upstream replies served in order.
tests/unit/test_router_retry_non_retryable_errors.py:61
↓ 3 callersFunction_call
(client: BudgetClient, key: str)
tests/e2e/quota_management/budgets/test_multi_window_budget_e2e.py:46
↓ 3 callersFunction_call
(client: BudgetClient, key: str)
tests/e2e/quota_management/budgets/test_team_multi_window_budget_e2e.py:42
↓ 3 callersMethod_call_agentic_chat_completion_hooks
Call agentic chat completion hooks for all custom loggers (Chat Completions API). 1. Call async_should_run_chat_completion_agentic_l
litellm/llms/custom_httpx/llm_http_handler.py:6595
↓ 3 callersMethod_call_analyze
( self, text: str, stage: Literal["prompt", "response"], request_data: dict[st
litellm/proxy/guardrails/guardrail_hooks/repelloai/repelloai.py:182
↓ 3 callersFunction_call_async_adapter_handler
(**handler_kwargs: Any)
tests/unit/llms/anthropic/messages/context_management/test_compact.py:2447
↓ 3 callersMethod_call_classifier_model
Execute one structured classifier call with the router's shared safeguards.
litellm/router_strategy/complexity_router/complexity_router.py:2918
↓ 3 callersFunction_call_cost
Price one eval-arm call with the figure the spend pipeline bills: the router client stamps _hidden_params.response_cost from the deployment's own
litellm/integrations/shadow_eval_logger.py:519
↓ 3 callersFunction_call_count_tool
( manager: MCPServerManager, server: MCPServer, *, per_request_token: str | None = None, f
tests/unit/proxy/mcp_server/test_upstream.py:64
↓ 3 callersFunction_call_detail_problems
(kwargs: Mapping[str, object])
tests/unit/test_router/test_router_callback_hook_sequence.py:121
↓ 3 callersMethod_call_detector_server
Call IBM Detector Server directly. Args: contents: List of text strings to analyze request_data: Optional re
litellm/proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:101
↓ 3 callersMethod_call_dynamoai_guardrails
Call DynamoAI Guardrails API to analyze messages for policy violations. Args: messages: List of messages to analyze
litellm/proxy/guardrails/guardrail_hooks/dynamoai/dynamoai.py:87
↓ 3 callersFunction_call_function
(call: object)
litellm/llms/bedrock/passthrough/guardrail_translation/structured_edits.py:129
↓ 3 callersMethod_call_id_error_response
(general_settings, provider_specific_fields=None)
tests/unit/proxy/anthropic_endpoints/test_endpoints.py:669
↓ 3 callersFunction_call_id_exception
(headers)
tests/unit/proxy/proxy_server/test_exception_handlers.py:106
↓ 3 callersMethod_call_lasso_api
Call the Lasso API and return the response.
litellm/proxy/guardrails/guardrail_hooks/lasso/lasso.py:827
↓ 3 callersMethod_call_noma_api
( self, payload: dict, llm_request_id: str | None, request_data: dict,
litellm/proxy/guardrails/guardrail_hooks/noma/noma.py:732
↓ 3 callersMethod_call_orchestrator
Call IBM FMS Guardrails Orchestrator. Args: content: Text string to analyze request_data: Optional request d
litellm/proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:192
↓ 3 callersFunction_call_params
(call: Mapping[str, object])
tests/integration/mcp/test_mcp_resilience.py:235
↓ 3 callersFunction_call_part
(call_id: str | None = None, index: int = 0)
tests/integration/providers/test_gemini_tool_result_part_reference_wire.py:534
↓ 3 callersMethod_call_shield
Posts to LLM Shield Proxy, failing closed on any transport or status error. A redaction guardrail that fails open sends the very data it exis
litellm/proxy/guardrails/guardrail_hooks/llm_shield_proxy/llm_shield_proxy.py:234
↓ 3 callersFunction_call_sync_adapter_handler
(**handler_kwargs: Any)
tests/unit/llms/anthropic/messages/context_management/test_compact.py:2506
↓ 3 callersFunction_call_together
(provider: Callable[[], str], credential: _HeldCredential)
tests/unit/secret_managers/test_get_azure_ad_token_provider.py:465
↓ 3 callersFunction_call_tool_params
(name, arguments=None)
tests/unit/proxy/mcp_server/test_mcp_logging.py:324
↓ 3 callersFunction_call_type_for_route
The route's call type when it maps to a single operation (its async and sync variants); None for routes shared by several operations unless the me
litellm/proxy/utils.py:1685
↓ 3 callersFunction_call_wave
(gateway: Gateway, plans: Sequence[CallPlan], rails: Sequence[str])
tests/integration/observability/test_guardrail_stream_scope_chaos.py:438
↓ 3 callersFunction_call_with_buffered_stream_fallback
( bedrock: ScriptedBedrock, fallback: NativeOutputFallback | None, buffered_stream_fallback: NativeOutputF
tests/unit/llms/bedrock/chat/test_native_output_fallback.py:176
↓ 3 callersFunction_call_without_retries
(client: ComplexityRouterClient, key: str, group: str)
tests/e2e/router/test_reliability_cooldowns_e2e.py:105
↓ 3 callersFunction_callback_error
Build the ``{"error": ...}`` failure body the team callback endpoints return.
litellm/proxy/management_endpoints/team_callback_endpoints.py:245
↓ 3 callersFunction_callback_kwargs_mapping
(kwargs: object)
litellm/proxy/hooks/parallel_request_limiter_v3.py:619
↓ 3 callersFunction_callback_request
(code: str = "abc")
tests/unit/proxy/management_endpoints/sso/test_litellm_http_client_sso.py:138
↓ 3 callersFunction_callback_url_from_page
(response)
tests/unit/proxy/mcp_server/test_gateway_dcr_flow.py:803
↓ 3 callersFunction_caller_headers_without_litellm_secrets
( request: Request, user_api_key_dict: UserAPIKeyAuth, never_forwarded: frozenset[str] )
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:2964
↓ 3 callersFunction_caller_params
(received: dict[str, object])
tests/unit/images/test_main.py:755
↓ 3 callersFunction_caller_result
(endpoint: Endpoint, status: int, body: Mapping[str, JsonValue])
tests/integration/observability/_logging_only_scope_support.py:298
↓ 3 callersFunction_caller_tags
(raw: JsonValue)
tests/integration/spend/test_baggage_tag_mappings.py:306
↓ 3 callersFunction_caller_trace_field
The caller's value for a trace-control field, counted only when it is a usable id: a non-empty string. An explicitly empty/unusable value on the
litellm/proxy/litellm_pre_call_utils.py:191
↓ 3 callersFunction_calls
(count: int, *, fail: bool)
tests/integration/providers/test_decisions_chaos.py:51
↓ 3 callersFunction_calls
(marker: str, endpoint: Endpoint, stream: bool, indexes: range)
tests/integration/providers/test_bedrock_converse_missing_content_wire.py:775
↓ 3 callersFunction_calls
(count: int, kinds: tuple[Kind, ...])
tests/integration/providers/test_chat_completions_tool_search_chaos.py:119
↓ 3 callersFunction_calls
(marker: str, endpoint: Endpoint, indexes: range)
tests/integration/providers/test_bedrock_converse_stream_event_frames_wire.py:691
↓ 3 callersFunction_calls
(count: int, endpoints: tuple[Endpoint, ...], stream: Callable[[int], bool])
tests/integration/providers/test_gemini_thinking_replay_chaos.py:224
↓ 3 callersFunction_calls
(label: str, count: int, kinds: tuple[_Kind, ...] = _KINDS)
tests/integration/authorization/test_responses_compact_id_ownership_chaos.py:77
↓ 3 callersFunction_calls
(plan: tuple[tuple[Endpoint, bool, int], ...])
tests/integration/messages_endpoint/providers/anthropic/test_anthropic_messages_pre_content_retry_chaos.py:231
↓ 3 callersFunction_calls
(count: int, stream: bool, safeguards: bool = True)
tests/integration/messages_endpoint/providers/anthropic/test_anthropic_safeguards_beta_chaos.py:57
↓ 3 callersFunction_calls
(shape: ShapeName, tag: str)
tests/integration/messages_endpoint/chat_bridge/test_chat_bridge_multi_tool_call_blocks_wire.py:155
↓ 3 callersFunction_calls
(count: int, drop_every: int = 0)
tests/integration/streaming/test_faked_responses_stream_chaos.py:188
↓ 3 callersFunction_calls
(count: int, kinds: tuple[Kind, ...])
tests/integration/streaming/test_responses_bridge_stream_chaos.py:195
↓ 3 callersFunction_calls_to
(requests: Sequence[dict[str, JsonValue]], handle: ScenarioHandle)
tests/integration/providers/test_decisions_wire.py:258
↓ 3 callersFunction_can_object_call_vector_stores
Raises ProxyException if the object (key, team, org) cannot access the specific vector store.
litellm/proxy/auth/auth_checks.py:8208
↓ 3 callersFunction_can_user_view_spend_log
Check if the requesting user can view their own spend logs.
litellm/proxy/spend_tracking/spend_management_endpoints.py:4791
↓ 3 callersFunction_cancel_pending_gather_tasks
(tasks: Sequence["asyncio.Task[object]"])
litellm/proxy/common_request_processing.py:624
← previousnext →22,601–22,700 of 202,479, ranked by callers