MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunction_parse_runway_task
(response: httpx.Response)
litellm/llms/runwayml/image_generation/transformation.py:58
↓ 4 callersFunction_parse_runway_task_response
(raw_response: httpx.Response)
litellm/llms/runwayml/videos/transformation.py:61
↓ 4 callersFunction_parse_runway_tts_task
(response: httpx.Response)
litellm/llms/runwayml/text_to_speech/transformation.py:44
↓ 4 callersFunction_parse_spend_report_date_range
(start_date: str | None, end_date: str | None)
litellm/proxy/spend_tracking/spend_management_endpoints.py:1848
↓ 4 callersFunction_parse_stream
( events: tuple[dict[str, object], ...], schema: dict[str, object] | None = _STREAMED_PERSON_SCHEMA )
tests/unit/llms/anthropic/chat/test_anthropic_chat_handler.py:3378
↓ 4 callersFunction_parse_task_response
A body that is not the documented task shape is a provider-side failure, not a parse error.
litellm/llms/dashscope/videos/transformation.py:203
↓ 4 callersFunction_parse_veo_operation
(raw_response: httpx.Response)
litellm/llms/vertex_ai/videos/transformation.py:72
↓ 4 callersMethod_parse_yaml_basic
(self, yaml_str: str)
litellm/integrations/gitlab/gitlab_prompt_manager.py:207
↓ 4 callersFunction_part_text
Return non-empty plaintext from any content part that carries ``text``.
litellm/proxy/guardrails/_content_utils.py:241
↓ 4 callersFunction_part_texts
(text_parts: Sequence[object])
litellm/llms/gemini/google_genai/guardrail_translation/handler.py:97
↓ 4 callersMethod_passthrough_call_server
(self, auth_type, server_id: str = "pt-call")
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:2517
↓ 4 callersFunction_passthrough_kwargs_for_reservation
( user_api_key_dict: UserAPIKeyAuth, parsed_body: dict | None = None, user_defined_route: bool = F
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:9638
↓ 4 callersFunction_past_the_default_lease
()
tests/unit/proxy/spend_tracking/test_background_interaction_settlement.py:180
↓ 4 callersFunction_patch
(gateway: Gateway, path: str, body: Mapping[str, JsonValue], message: str)
tests/integration/pricing/test_cost_margin_discount.py:28
↓ 4 callersFunction_patch_base_process
Patch ProxyBaseLLMRequestProcessing.base_process_llm_request so endpoint tests don't run the full pipeline. Returns the AsyncMock so callers can
tests/unit/proxy/google_endpoints/test_google_api_endpoints.py:27
↓ 4 callersFunction_patch_delete_user_dependencies
(mocker, mock_prisma_client, existing_user)
tests/unit/proxy/management_endpoints/scim/test_scim_v2_endpoints.py:3877
↓ 4 callersFunction_patch_resp
(status: int = 204)
tests/unit/integrations/focus/test_mavvrik_destination.py:39
↓ 4 callersFunction_patch_successful_admin_login_deps
The collaborators a real admin login exercises past the SSO gate: generating the UI session key, syncing the admin role, and reading the exper
tests/unit/proxy/auth/test_login_utils.py:1748
↓ 4 callersFunction_patch_team_request
()
tests/unit/proxy/auth/test_route_checks.py:3315
↓ 4 callersMethod_patched_dispatch
(self, general_settings: Mapping[str, object], credentials: object | None = None)
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:2195
↓ 4 callersFunction_path
(request: Request)
tests/integration/providers/_api_base_url_join_support.py:24
↓ 4 callersFunction_path
(endpoint: Endpoint)
tests/integration/providers/test_gemini_tool_result_part_reference_wire.py:264
↓ 4 callersFunction_path
(template: str, model: str, tool: str, store: str)
tests/integration/compatibility/test_missing_body_param_status.py:842
↓ 4 callersFunction_paused_background_stream
( output_may_start: asyncio.Event, upstream_paused: asyncio.Event, background: bool, after_pau
tests/unit/test_router/test_router.py:3977
↓ 4 callersFunction_payloads_attached_to_trace_1
(standard_logging_object: object)
tests/unit/integrations/opik/opik_payload_builder/test_api.py:48
↓ 4 callersFunction_pdf_base64
(text: str, page_resources: str, drawing: bytes, xobjects: tuple[bytes, ...] = ())
tests/benchmarks/test_token_counter_pdf_benchmarks.py:16
↓ 4 callersFunction_pdf_block
(endpoint: str)
tests/integration/observability/test_bedrock_guardrail_attachments.py:279
↓ 4 callersFunction_pdf_dictionary
(node: object)
litellm/litellm_core_utils/token_counter.py:1526
↓ 4 callersFunction_peer
(replies: Mapping[str, Reply])
tests/integration/sdk/test_router_tool_call_stream_fallback_budget_wire.py:102
↓ 4 callersFunction_perform_health_check
Perform a health check for each model in the list. max_concurrency: Optional limit on concurrent health check requests.
litellm/proxy/health_check.py:655
↓ 4 callersFunction_perplexity_router
()
tests/unit/integrations/websearch_interception/test_websearch_interception_handler.py:338
↓ 4 callersMethod_pick_discovery
The pod discovery a pick resolves through: the one bound when a custom strategy was registered (``resolve_pods_after_bound``), else the router
litellm/router_rust/core.py:1677
↓ 4 callersMethod_pick_model_for_tier
( self, tier: ComplexityTier | str, raw_messages: list[dict[str, object]] | None,
litellm/router_strategy/complexity_router/complexity_router.py:3177
↓ 4 callersMethod_pick_raised
A pick raised on the host (a strategy, a tag filter, a pre-routing hook): the try fails with that error, which the Rust walk retries and falls
litellm/router_rust/core.py:4591
↓ 4 callersMethod_picks_async
(self)
litellm/router_rust/core.py:2802
↓ 4 callersMethod_pin_model_for_tier
( self, tier: ComplexityTier | str, model: str, candidates: tuple[str, ...],
litellm/router_strategy/complexity_router/complexity_router.py:3132
↓ 4 callersFunction_ping_vllm_through
(call_path: str, credential_name: str)
tests/unit/test_utils.py:7635
↓ 4 callersFunction_placed
(placement: str, params: Mapping[str, JsonValue])
tests/integration/routing/test_deployment_mode_routing_wire.py:478
↓ 4 callersFunction_plain_call
(provider: str)
tests/integration/sdk/test_provider_error_and_extra_body_families_wire.py:82
↓ 4 callersFunction_plain_ids
(gateway: Gateway, *, key: str | None = None, params: Mapping[str, str] | None = None)
tests/integration/compatibility/test_codex_model_catalog.py:165
↓ 4 callersFunction_pod_deployment
(deployment_id: str)
tests/unit/test_router/core/test_host_settings_changes_characterization.py:369
↓ 4 callersFunction_policy_existing_team_key
()
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:13914
↓ 4 callersFunction_policy_state_metadata
Return the metadata bucket the policy engine wrote its pipeline state into. The route decides the bucket (``litellm_metadata`` for ``/v1/mes
litellm/proxy/utils.py:690
↓ 4 callersFunction_poll
(proxy: Gateway, session: CliSession, *, poll_secret: str | None = None)
tests/integration/authorization/test_cli_sso_login_ui_disabled.py:239
↓ 4 callersFunction_poll
(client: ManagementClient, attempt: Callable[[], T | None], failure: str)
tests/e2e/management/test_team_management_e2e.py:146
↓ 4 callersMethod_poll_and_log
( run_id: str | None, logging_obj: LiteLLMLoggingObj, result: str, start_time:
litellm/proxy/pass_through_endpoints/llm_provider_handlers/tinyfish_passthrough_logging_handler.py:228
↓ 4 callersFunction_poll_intervals
(initial: float, maximum: float, timeout: float)
litellm/interactions/background_cost_polling.py:239
↓ 4 callersFunction_pool_diagnostic_clock
(monkeypatch: pytest.MonkeyPatch)
tests/unit/llms/custom_httpx/test_http_handler.py:2476
↓ 4 callersFunction_pool_diagnostic_messages
(caplog: pytest.LogCaptureFixture)
tests/unit/llms/custom_httpx/test_http_handler.py:2519
↓ 4 callersFunction_pool_diagnostic_request
(session: ClientSession, url: URL)
tests/unit/llms/custom_httpx/test_http_handler.py:2512
↓ 4 callersFunction_pool_diagnostic_session
(source: str)
tests/unit/llms/custom_httpx/test_http_handler.py:2485
↓ 4 callersFunction_post
( target: ProxyTarget, path: str, body: Mapping[str, JsonValue], read: Callable[[Mapping[str,
tests/integration/providers/_idle_upstream_support.py:264
↓ 4 callersFunction_post
(surface: _Surface, gateway: Gateway, key: str, model: str)
tests/integration/providers/test_azure_entra_token_reuse_wire.py:252
↓ 4 callersFunction_post
(gateway: Gateway, path: str, body: Mapping[str, JsonValue], stream: tuple[bytes, ...])
tests/integration/streaming/test_responses_top_level_error_events.py:57
↓ 4 callersMethod_post
( self, path: str, payload: dict, suppress_errors: bool = False, )
litellm/proxy/guardrails/guardrail_hooks/xecguard/xecguard.py:359
↓ 4 callersFunction_post_blocked_responses
( original_response: ResponsesAPIResponse | litellm.ModelResponse | None, payload: Mapping[str, object
tests/unit/proxy/response_api_endpoints/test_endpoints.py:5396
↓ 4 callersFunction_post_chat
(client: PassthroughClient, key: str, body: CacheChatRequest)
tests/e2e/llm_translation/test_chat_mid_conversation_system_e2e.py:93
↓ 4 callersFunction_post_guardrail_body
( identity: str, provider: str, mode: str | list[str], api_base: str, scope: JsonValue,
tests/integration/observability/_logging_only_scope_support.py:824
↓ 4 callersFunction_post_in_background
( pool: ThreadPoolExecutor, gateway: Gateway, path: str, body: Mapping[str, JsonValue] )
tests/integration/management/test_team_delete_large_membership.py:274
↓ 4 callersMethod_post_json
POST ``payload`` to a Rubrik webhook and return its dict response. Raises: Exception: If the service is unavailable or returns an
litellm/integrations/rubrik.py:1111
↓ 4 callersFunction_post_with_hint
(gateway: Gateway, route: str, model: str, marker: str, hint: str)
tests/integration/routing/test_declared_provider_bare_model_routes.py:371
↓ 4 callersFunction_posted_targets
(wire: Wire)
tests/integration/sdk/test_text_completion_stream_rebuild_sdk.py:166
↓ 4 callersFunction_pr_repo
A repo whose HEAD is a feature branch off `main` with `feature_files` changed.
tests/unit/test_circleci_path_filter.py:180
↓ 4 callersFunction_pre_call
(guardrail: ToolPermissionGuardrail, tool_names: list[str])
tests/unit/proxy/guardrails/test_guardrail_initializers.py:28
↓ 4 callersMethod_pre_call_marker
(self, *, raised: bool = False)
litellm/integrations/custom_guardrail.py:996
↓ 4 callersFunction_precise_minute
(now: datetime)
litellm/proxy/hooks/parallel_request_limiter.py:41
↓ 4 callersMethod_prepare_batch_get
( self, keys: list[str], local_only: bool, throttle_redis: bool = True, **kwargs: object )
litellm/caching/dual_cache.py:341
↓ 4 callersFunction_prepare_decisions_call
( *, model: str, decision_input: OpenAIDecisionInput | None, questions: OpenAIDecisionQuestion
litellm/decisions/main.py:67
↓ 4 callersMethod_prepare_guardrail_messages_for_role
Return payload + merge metadata for the latest user message.
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:607
↓ 4 callersMethod_prepare_headers
Prepare headers for the Lasso API request.
litellm/proxy/guardrails/guardrail_hooks/lasso/lasso.py:746
↓ 4 callersMethod_prepare_log_data
(self, kwargs, response_obj, start_time, end_time)
litellm/integrations/literal_ai.py:165
↓ 4 callersMethod_prepare_request_params
Prepare and separate request parameters.
litellm/llms/bedrock/chat/converse_transformation.py:1830
↓ 4 callersFunction_prepare_unreserved_spend_counter_increment
( counter_key: str, source_cache_key: str | list[str], increment: float, reserved_counter_keys
litellm/proxy/proxy_server.py:4191
↓ 4 callersFunction_price_nova_2_streaming
An operator-supplied streaming row: the bundled map prices only nova-3 for streaming.
tests/unit/proxy/pass_through_endpoints/test_deepgram_ws_passthrough_routes.py:45
↓ 4 callersFunction_priced_model
(scenario: Scenario)
tests/integration/spend/test_budget_limit_envelopes.py:41
↓ 4 callersFunction_priced_model
(scenario: Scenario, provider_url: str)
tests/integration/spend/test_daily_activity_key_owner_traffic.py:94
↓ 4 callersFunction_print_policies_on_startup
Print loaded policies to console on startup (similar to model list).
litellm/proxy/policy_engine/init_policies.py:66
↓ 4 callersFunction_priority
(name: str, priorities: dict[str, int])
tests/unit/test_router/core/test_selection_characterization_groups.py:43
↓ 4 callersFunction_prisma
()
tests/unit/proxy/db/test_shadow_eval_funnel.py:21
↓ 4 callersMethod_prisma
(self, key_row=None, team_row=None, user_row=None)
tests/unit/proxy/common_utils/test_check_batch_cost.py:2433
↓ 4 callersFunction_prisma_client
(table: _PolicyTable)
tests/unit/proxy/policy_engine/test_policy_registry.py:80
↓ 4 callersFunction_prisma_client
(**table_overrides: object)
tests/unit/proxy/management_endpoints/test_daily_activity_routes.py:543
↓ 4 callersFunction_prisma_map_row
(data: dict[str, object], quoted: bool = False)
tests/unit/proxy/mcp_server/test_db_credentials.py:487
↓ 4 callersFunction_prisma_recording_upserts
(upserts)
tests/unit/enterprise/enterprise_callbacks/send_emails/test_endpoints.py:267
↓ 4 callersMethod_prisma_with_user
(self, user_row)
tests/unit/proxy/mcp_server/auth/test_user_api_key_auth_mcp.py:10854
↓ 4 callersFunction_probability
(marker: str)
tests/integration/providers/test_cloudflare_clef_omni_media_wire.py:81
↓ 4 callersMethod_probe_storage
Read what the spend-log tables weigh from the catalog, or None when the probe fails or has no budget.
litellm/proxy/db/db_transaction_queue/spend_log_cleanup.py:590
↓ 4 callersMethod_process_response
( self, image_embedding_responses: list | None, text_embedding_responses: list | None,
litellm/llms/azure_ai/embed/handler.py:34
↓ 4 callersFunction_process_single_key_update_under_policy
(prisma_client: AsyncMock, data: UpdateKeyRequest, policy)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:14004
↓ 4 callersMethod_process_user_message_check
Shared logic for processing user message checks
litellm/proxy/guardrails/guardrail_hooks/noma/noma.py:166
↓ 4 callersMethod_processed
(self, guardrail: CustomGuardrail, names: dict)
tests/unit/llms/anthropic/chat/guardrail_translation/test_anthropic_guardrail_handler.py:3162
↓ 4 callersFunction_project_id
(response: _BraintrustProjectResponse)
litellm/integrations/braintrust_logging.py:36
↓ 4 callersFunction_prometheus_callback
Stand-in PrometheusLogger that records ``_record_guardrail_metrics`` calls. ``MagicMock(spec=PrometheusLogger)`` passes the ``isinstance`` check
tests/unit/proxy/utils/proxy_logging/test_guardrail_pipeline.py:635
↓ 4 callersFunction_prompt
(marker: str)
tests/integration/providers/test_bedrock_runtime_chat_completions_wire.py:76
↓ 4 callersFunction_prompt
(marker: str)
tests/integration/providers/test_bedrock_gpt_responses_native_wire.py:30
↓ 4 callersFunction_prompt
(marker: str)
tests/integration/providers/test_responses_bridge_verbosity_wire.py:46
↓ 4 callersFunction_prompt
(text: str)
tests/integration/observability/test_guardrail_attachment.py:91
↓ 4 callersFunction_prompt
(body: Mapping[str, JsonValue])
tests/integration/mcp/test_mcp_llm_endpoints.py:223
↓ 4 callersFunction_prompt
()
tests/integration/spend/test_daily_activity_key_owner_traffic.py:113
↓ 4 callersFunction_prompt_caching_pins
(llm_router: "Router | None")
litellm/proxy/common_utils/debug_utils.py:136
← previousnext →18,601–18,700 of 202,479, ranked by callers