MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunction_assert_user_rate_limit_error
(response: httpx.Response, user: str, limit_type: str)
tests/integration/management/test_user_rate_limit_updates.py:63
↓ 4 callersFunction_assert_v1_wire
(sent: tuple[dict[str, JsonValue], ...], marker: str, method: str = "SendMessage")
tests/integration/compatibility/test_a2a_protocol_version_override.py:59
↓ 4 callersFunction_assert_vendor_body
( body: Mapping[str, JsonValue], backend: str, forwarded: Sequence[JsonValue], stream: bool )
tests/integration/providers/test_responses_minted_reasoning_replay_wire.py:233
↓ 4 callersFunction_assert_verdict
(outcome: _Outcome, model: str)
tests/integration/authorization/test_responses_compact_id_ownership_chaos.py:115
↓ 4 callersFunction_assert_vertex_named_credentials_attached
(captured_kwargs: dict)
tests/unit/proxy/openai_files_endpoint/test_files_endpoint.py:3675
↓ 4 callersFunction_assert_virtual_key_absent
(upstream: Request, key: str)
tests/integration/providers/test_anthropic_passthrough_wire.py:135
↓ 4 callersFunction_assert_voice_updates
(observed: tuple[dict[str, JsonValue], ...], *later: dict[str, JsonValue])
tests/integration/providers/test_realtime_transcription_guardrail_session_update.py:763
↓ 4 callersFunction_assertion_table
The SSO assertion table, typed so the untyped prisma client surface stops here.
litellm/proxy/mcp_server/outbound_credentials/sso_assertion_store.py:76
↓ 4 callersFunction_assistant
(served: Sequence[Mapping[str, JsonValue]], stream: bool)
tests/integration/providers/test_responses_bridge_tool_search_replay.py:85
↓ 4 callersFunction_assistant
(**overrides)
tests/unit/llms/openai/test_openai.py:1893
↓ 4 callersMethod_assistant_text
(text: str)
tests/unit/llms/bedrock/realtime/test_bedrock_realtime_handler.py:1896
↓ 4 callersFunction_assistant_tool_calls
(message: object)
litellm/responses/litellm_completion_transformation/tool_search.py:287
↓ 4 callersFunction_async_chunks
( member: Member, wire: Wire, include_usage: bool, extra: Mapping[str, object] )
tests/integration/sdk/test_text_completion_stream_rebuild_sdk.py:129
↓ 4 callersFunction_async_client_raising
(provider: str, message: str)
tests/unit/llms/openai/test_openai_common_utils.py:306
↓ 4 callersFunction_async_client_returning
(response: Mock)
tests/unit/llms/custom_httpx/test_llm_http_handler.py:4428
↓ 4 callersFunction_async_ft
(search_distance)
tests/unit/caching/test_valkey_semantic_cache.py:278
↓ 4 callersFunction_async_openai
(gateway: Gateway, call: Callable[[openai.AsyncOpenAI], Awaitable[_R]])
tests/integration/compatibility/test_openai_sdk_client_paths.py:453
↓ 4 callersFunction_async_raise
(exc)
tests/unit/proxy/guardrails/guardrail_hooks/test_repelloai.py:1197
↓ 4 callersFunction_async_stream
(chunks: tuple[object, ...], error: BaseException | None = None)
tests/rust-python-harness/shared/parity/test_stream.py:94
↓ 4 callersFunction_attach_redis_usage_cache
Wires an established coordination Redis into the proxy-level caches that consume it directly: the spend counter cache, the CLI SSO login-sess
litellm/proxy/proxy_server.py:5391
↓ 4 callersFunction_attached_children
(partition, child index) pairs attached under the parent index.
tests/integration/database/migrations/test_request_log_indexes.py:213
↓ 4 callersFunction_attempt
(provider: str, status: StatusClass, *, succeeded: bool, tokens: TokenCounts)
tests/unit/proxy/telemetry/test_middleware.py:61
↓ 4 callersFunction_audio_file
()
tests/unit/llms/azure/test_audio_transcriptions.py:18
↓ 4 callersFunction_audit_log_task_done_callback
Log exceptions from audit log callback tasks so they don't slip through silently.
litellm/proxy/management_helpers/audit_logs.py:128
↓ 4 callersFunction_auth_close
(error: ConnectionClosed)
tests/integration/providers/test_responses_websocket_session_limit.py:581
↓ 4 callersFunction_auth_headers
(api_key: str | None, api_base: str, litellm_params: dict | None = None)
tests/unit/llms/azure_ai/passthrough/test_azure_ai_passthrough_transformation.py:239
↓ 4 callersFunction_authenticated_user_id
(user_api_key_dict: UserAPIKeyAuth)
litellm/proxy/credential_endpoints/endpoints.py:558
↓ 4 callersFunction_authority
(gateway: Gateway)
tests/integration/providers/test_vertex_realtime_multi_region_host.py:244
↓ 4 callersFunction_authorized
(user_id="u1", team_id="team-b")
tests/unit/proxy/mcp_server/test_idp_token_exchange.py:34
↓ 4 callersFunction_available_tool_uses
(results: object)
tests/unit/llms/anthropic/messages/adapters/test_handler_safeguard_results.py:150
↓ 4 callersFunction_await_status
(unified_id: str, status: str, seconds: float, database_url: str | None = None)
tests/integration/spend/test_background_response_poll_retirement.py:159
↓ 4 callersFunction_await_tasks_spawned_since
(existing: set["asyncio.Task[object]"])
tests/unit/responses/test_streaming_iterator.py:1503
↓ 4 callersFunction_aws_frame
(event_type: str, payload: Mapping[str, JsonValue])
tests/unit/llms/base_llm/chat/test_provider_chat_translation.py:341
↓ 4 callersFunction_azure
(outage: threading.Event)
tests/integration/observability/test_azure_content_safety_audit.py:128
↓ 4 callersFunction_azure_backend_url_dialed_for
(websocket: _ClientWebSocketWithHeaders, **kwargs: object)
tests/unit/realtime_api/test_main.py:1204
↓ 4 callersFunction_azure_chat_completion_chunks
()
tests/unit/llms/azure/passthrough/test_azure_passthrough_transformation.py:200
↓ 4 callersFunction_azure_realtime_v1_url
Azure serves WebRTC only on the GA v1 surface, which rejects any api-version query param.
litellm/llms/azure/realtime/http_transformation.py:20
↓ 4 callersFunction_backend_events
(config: MetaRealtimeConfig, payload: str)
tests/unit/llms/meta/realtime/test_meta_realtime_transformation.py:65
↓ 4 callersMethod_backfill_kwargs
Kwargs for writing a Redis read result into the in-memory tier. Applies ``default_in_memory_ttl`` exactly like the write paths do;
litellm/caching/dual_cache.py:130
↓ 4 callersFunction_background_router
( model_name: str, litellm_params: dict[str, object], fallbacks: list[dict[str, list[str]]] | None
tests/unit/test_router/test_router.py:4017
↓ 4 callersFunction_bare
A model_list entry with no ``model_info`` at all.
tests/unit/test_router/core/test_registry_characterization_construction.py:15
↓ 4 callersMethod_base64_document
(self, **extra)
tests/unit/llms/anthropic/messages/responses_adapters/test_responses_adapters_transformation.py:1971
↓ 4 callersMethod_base64_document
(self, **extra)
tests/unit/llms/anthropic/messages/responses_adapters/test_responses_adapters_transformation.py:2084
↓ 4 callersFunction_base64_run
(length: int)
tests/unit/test_logging.py:954
↓ 4 callersFunction_base_names
The names of a class's bases; a subscripted base (`Foo[int]`) counts as `Foo`.
scripts/check_type_discipline.py:769
↓ 4 callersFunction_base_url
(gateway: Gateway)
tests/integration/providers/test_responses_bridge_tool_search_wire.py:298
↓ 4 callersMethod_batch
(status: str, output_file_id: str | None)
tests/unit/litellm_core_utils/test_litellm_logging.py:1692
↓ 4 callersFunction_batches_path
(provider: str | None)
tests/e2e/batches/batch_client.py:272
↓ 4 callersFunction_batches_request_mock
()
tests/unit/proxy/test_litellm_pre_call_utils.py:655
↓ 4 callersFunction_bearer
(request: Request)
tests/integration/compatibility/test_fine_tuning_managed_files_chaos.py:61
↓ 4 callersFunction_bedrock_deployment
(gateway: Gateway, scenario: Scenario, peer: BedrockRealtimePeer, name: str)
tests/integration/providers/test_bedrock_nova_sonic_realtime_tool_calls.py:137
↓ 4 callersFunction_bedrock_frame
(event_type: str, payload: dict[str, JsonValue])
tests/integration/observability/test_bedrock_error_request_id.py:100
↓ 4 callersMethod_bedrock_guardrail
(self)
tests/unit/llms/anthropic/chat/guardrail_translation/test_anthropic_guardrail_handler.py:2092
↓ 4 callersFunction_bedrock_messages_request_with_schema
(model: str, schema: Mapping[str, object])
tests/unit/llms/bedrock/messages/invoke_transformations/test_anthropic_claude_transformation.py:3386
↓ 4 callersFunction_bedrock_pricing_info
( model: str | None, invoked_model_id: str | None, custom_llm_provider: str | None, explicit_p
litellm/cost_calculator.py:994
↓ 4 callersFunction_bedrock_stream_request
( endpoint: BedrockEndpoint, model: str, prompt: str, *, stream: bool = True )
tests/integration/observability/test_bedrock_error_request_id.py:151
↓ 4 callersFunction_beta_client_ws
()
tests/unit/litellm_core_utils/test_realtime_streaming.py:3884
↓ 4 callersFunction_billed_earlier_attempts
Every earlier retry attempt the provider also billed. The router records one ``RetryAttemptRecord`` per failed attempt in ``metadata.previous_mode
litellm/proxy/utils.py:1476
↓ 4 callersMethod_bin_pack_bedrock_content
Pack whole content items, in order, into batches whose combined text length stays within `budget`, in a single pass that carries the running
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:1476
↓ 4 callersFunction_blank_to_none
Collapse an absent, empty, or whitespace-only string to ``None``. OAuth endpoint fields are consumed by truthiness-based merges (``row or discove
litellm/proxy/mcp_server/mcp_server_manager.py:497
↓ 4 callersMethod_blob
(upstream: dict)
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:2382
↓ 4 callersMethod_block
(self, handler, is_response, scan_result)
tests/unit/proxy/guardrails/guardrail_hooks/test_panw_prisma_airs.py:6466
↓ 4 callersFunction_block_data
(lines: Sequence[str])
litellm/proxy/common_utils/responses_stream_errors.py:284
↓ 4 callersFunction_block_response
( message: str = "Blocked by policy", correlation_id: str = "corr-2", status: str = "Evaluated" )
tests/unit/proxy/guardrails/guardrail_hooks/test_agent_365.py:64
↓ 4 callersFunction_blocked_after
(chunks: int, detail: dict[str, object])
tests/unit/proxy/proxy_server/test_streaming_helpers.py:1543
↓ 4 callersFunction_blocked_phrase
( gateway: Gateway, scenario: Scenario, mode: Literal["pre_call", "realtime_input_transcription"] )
tests/integration/providers/test_bedrock_nova_sonic_realtime_guardrails.py:66
↓ 4 callersFunction_blocks
(item: Mapping[str, object], key: str = "content")
litellm/router_strategy/complexity_router/context_compaction.py:186
↓ 4 callersFunction_bodies
(wire: Wire)
tests/integration/observability/test_generic_guardrail_api_wire.py:137
↓ 4 callersFunction_body
(model: str, call: _Call)
tests/integration/messages_endpoint/chat_bridge/test_chat_bridge_mid_stream_failure_bookkeeping_wire.py:121
↓ 4 callersFunction_body_sent_upstream
( respx_mock: respx.MockRouter, litellm_params: Mapping[str, object], model_info: Mapping[str, obj
tests/unit/llms/anthropic/messages/adapters/test_handler_reasoning_effort_normalization.py:422
↓ 4 callersMethod_bound
(self)
tests/unit/test_router/core/streaming_helpers.py:85
↓ 4 callersFunction_bounded_limit
(limit: int, *, minimum: int = 1)
litellm/repositories/daily_activity_sql.py:372
↓ 4 callersFunction_bounded_requested_model_label
Bound ``requested_model`` label cardinality: names the router recognizes (model names, deployment ids, aliases, routing groups, team public m
litellm/integrations/prometheus.py:457
↓ 4 callersFunction_bpr
(file, severity, rule)
tests/unit/test_type_check_gate.py:13
↓ 4 callersFunction_breakdown
(properties: dict[str, float | str], name: str)
tests/e2e_harness/perf/setup/test_event_loop.py:46
↓ 4 callersMethod_breakdown
(records)
tests/unit/proxy/management_endpoints/test_common_daily_activity.py:2212
↓ 4 callersFunction_breakpoint
(part: dict[str, object])
tests/unit/llms/openai/chat/test_openai_gpt_transformation.py:961
↓ 4 callersFunction_bridge
( check: _RecordingCheck, inputs: GenericGuardrailAPIInputs, request_data: Mapping[str, object],
tests/unit/proxy/guardrails/guardrail_hooks/test_conduct.py:103
↓ 4 callersFunction_bridged_body
(mock_post, *, points, input, instructions="You are a documentation assistant.")
tests/unit/responses/test_responses_api_request_body.py:1079
↓ 4 callersFunction_bridged_request
(model: str, provider_kwargs: Mapping[str, object], stream: bool)
tests/unit/completion_extras/litellm_responses_transformation/test_completion_extras_litellm_responses_transformation_transformation.py:312
↓ 4 callersFunction_bridged_transform_request
( model: str, messages: list[dict[str, object]], litellm_params: dict[str, object], optional_p
tests/unit/completion_extras/litellm_responses_transformation/test_completion_extras_litellm_responses_transformation_transformation.py:6590
↓ 4 callersFunction_bridged_vllm_model
(scenario: Scenario, wire: Wire)
tests/integration/providers/test_responses_bridge_stream_output_items_wire.py:82
↓ 4 callersFunction_budget_drop_warnings
(caplog: pytest.LogCaptureFixture)
tests/unit/llms/vertex_ai/gemini/test_vertex_and_google_ai_studio_gemini.py:1698
↓ 4 callersFunction_budget_record
(budget_id: str)
tests/integration/spend/test_team_member_spend.py:203
↓ 4 callersFunction_budget_refusal
( gateway: Gateway, provider: SharedProvider, model: str, key: str, *, spent: float, limit: float )
tests/integration/spend/test_budget_limit_envelopes.py:77
↓ 4 callersFunction_budget_refused
(response: httpx.Response)
tests/integration/spend/test_team_member_spend.py:227
↓ 4 callersMethod_build_archive_data
Build archive data dict with only columns that exist in LiteLLM_DeletedTeamTable.
litellm/repositories/team_repository.py:314
↓ 4 callersMethod_build_auth_record
( self, token_payload: _TokenPayload, token_endpoint: str, fallback_refresh_to
litellm/llms/xai/oauth.py:369
↓ 4 callersFunction_build_delete_response_mock
Returns a fake httpx delete that records its kwargs.
tests/unit/llms/custom_httpx/test_llm_http_handler.py:1806
↓ 4 callersFunction_build_document_from_upload
( file_content: bytes, filename: str | None, content_type: str | None, )
litellm/proxy/ocr_endpoints/endpoints.py:45
↓ 4 callersFunction_build_expires_where_clause
(expires_filter: str, now: datetime)
litellm/proxy/management_endpoints/key_management_endpoints.py:7613
↓ 4 callersMethod_build_express_as_element
Build mstts:express-as element with optional style, styledegree, and role attributes Args: content: The inner content to
litellm/llms/azure/text_to_speech/transformation.py:164
↓ 4 callersMethod_build_extra_metadata
(self, metadata: dict)
litellm/integrations/langsmith.py:155
↓ 4 callersFunction_build_failure
A captured failure-call ``(kwargs, start, end)``. Mirrors what litellm actually hands ``async_log_failure_event``: no ``response_obj`` at all
tests/unit/integrations/otel/test_otel_v2_metrics.py:647
↓ 4 callersFunction_build_field_schema
Build field_schema dict from a Pydantic model for UI rendering.
litellm/proxy/management_endpoints/config_override_endpoints.py:222
↓ 4 callersMethod_build_headers
(self)
litellm/proxy/guardrails/guardrail_hooks/singulr/singulr.py:165
↓ 4 callersFunction_build_injection_points
()
tests/unit/integrations/test_anthropic_cache_control_hook.py:1098
↓ 4 callersFunction_build_langfuse_proxy_target
( *, endpoint: str, base_target_url: str, dynamic_host_supplied: bool, )
litellm/proxy/vertex_ai_endpoints/langfuse_endpoints.py:130
↓ 4 callersMethod_build_litellm_call_info
Build a normalized dict of routing metadata from response._hidden_params and data, abstracting away the metadata vs litellm_metadata
litellm/proxy/utils.py:4738
↓ 4 callersFunction_build_logging_obj
(kwargs: dict, *, with_datadog_callback: bool = True)
tests/unit/integrations/datadog/test_datadog_team_handler.py:267
← previousnext →17,301–17,400 of 202,479, ranked by callers