MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersMethodshadows_db_value
(self, key: str)
litellm/proxy/config_resolvers/settings_store.py:78
↓ 4 callersMethodshape
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 4 callersFunctionshouldRenderPIIConfigSettings
(provider: string | null)
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_info_helpers.tsx:255
↓ 4 callersFunctionshould_create_missing_views
Run only on first time startup. If SpendLogs table already has values, then don't create views on startup.
litellm/proxy/db/create_views.py:253
↓ 4 callersFunctionshould_retry_status
`litellm.should_retry`.
litellm-rust/crates/router-core/src/health.rs:123
↓ 4 callersMethodshould_route_on_sensitive_data
Returns True if this guardrail is configured to route requests to a different model when sensitive data is detected.
litellm/integrations/custom_guardrail.py:787
↓ 4 callersMethodshould_run_prompt_management
( self, prompt_id: str | None, prompt_spec: PromptSpec | None, dynamic_callbac
litellm/integrations/prompt_management_base.py:42
↓ 4 callersFunctionshould_use_xai_oauth
(litellm_params: Mapping[str, object] | None)
litellm/llms/xai/oauth.py:421
↓ 4 callersMethodshutdown
(self)
litellm/integrations/langfuse/langfuse_sdk.py:839
↓ 4 callersMethodshutdown
(self)
litellm/integrations/otel/plumbing/providers.py:1249
↓ 4 callersFunctionsign_with_oci_signer
Sign a request using an OCI SDK Signer object passed in optional_params.
litellm/llms/oci/common_utils.py:343
↓ 4 callersFunctionsigner
()
tests/integration/management/_batch_file_caps.py:340
↓ 4 callersFunctionsigner
(service: &'static str)
litellm-rust/crates/auth-aws/src/signer.rs:103
↓ 4 callersFunctionsignoz_preset
( *, config_overrides: OpenTelemetryV2Config | None = None, allow_missing_credentials: bool = Fals
litellm/integrations/otel/presets/signoz.py:29
↓ 4 callersMethodsingle_worker_max_requests_warning
( num_workers: int, max_requests_before_restart: int | None, run_gunicorn: bool, )
litellm/proxy/proxy_cli.py:490
↓ 4 callersFunctionskillId
(skill: any, idx: number)
ui/litellm-dashboard/src/app/(dashboard)/agents/_components/agent_discovery_utils.ts:10
↓ 4 callersFunctionskill_hub_entries
(gateway: Gateway, name: str)
tests/integration/management/test_claude_code_plugin_installation_preference.py:100
↓ 4 callersFunctionskip_unless_mantle_cells_enabled
Skip the calling test unless `COMPAT_MANTLE_CELLS` opts the Bedrock Mantle cells in. A skipped cell is recorded as `not_tested` in the publis
tests/e2e/claude_code/_gpt_cells.py:48
↓ 4 callersFunctionskip_unless_openai_gpt_cells_enabled
Skip OpenAI GPT-5.6 columns unless `COMPAT_OPENAI_GPT_CELLS` opts them in. Under the full stage suite these cells routinely hit 120s Claude CLI
tests/e2e/claude_code/_gpt_cells.py:65
↓ 4 callersFunctionsl
(e,s)
litellm/proxy/_experimental/out/_next/static/chunks/269vry4mb17-_.js:3
↓ 4 callersFunctionslow_upstream
()
tests/unit/proxy/test_common_request_processing.py:10956
↓ 4 callersFunctionslow_upstream_transport
(body: bytes = b"")
tests/unit/llms/bedrock/slow_upstream.py:43
↓ 4 callersMethodsource
(&self, name: &str)
litellm-rust/crates/inference-ocr/src/types.rs:59
↓ 4 callersFunctionsp
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersMethodspans
(self)
tests/integration/observability/test_signoz_delivery.py:203
↓ 4 callersFunctionspec
(model_name: &str, params: Value, info: Value)
litellm-rust/crates/router-core/src/registry.rs:1355
↓ 4 callersFunctionspeech_media_type_from_audio_bytes
(audio: bytes)
litellm/litellm_core_utils/audio_utils/utils.py:442
↓ 4 callersFunctionspeech_request_body
Speech request body for telemetry, without the caller headers the provider SDKs take as request kwargs rather than body fields.
litellm/litellm_core_utils/logging_utils.py:344
↓ 4 callersMethodspend_logs
(self, params: SpendLogsParams)
tests/e2e/proxy_client.py:1128
↓ 4 callersFunctionspend_logs_window
(dates: AbstractSet[str | None])
litellm/proxy/management_endpoints/common_daily_activity.py:481
↓ 4 callersFunctionspend_prisma_client
(prisma_client: object)
litellm/proxy/roi_calculator/sync.py:97
↓ 4 callersFunctionspend_row
(request_id: str)
tests/integration/providers/_tool_search_support.py:354
↓ 4 callersMethodspend_row
(self, request_id: str)
tests/integration/observability/test_straiker_v3_platform.py:416
↓ 4 callersFunctionspend_row_by_call
(call_id: str)
tests/integration/providers/_gemini_tts_voice_support.py:251
↓ 4 callersFunctionspend_stays
(key: str, expected: float)
tests/integration/providers/_dashscope_video_support.py:142
↓ 4 callersFunctionsplit_embedding_input_tokens
( value: _EmbeddingInputT, media_models: Callable[[], Sequence[str]], fallback_model: str | None = None )
litellm/litellm_core_utils/token_counter.py:707
↓ 4 callersFunctionsplit_leading_system_run
Split ``messages`` into the leading run of system messages and everything after it.
litellm/litellm_core_utils/prompt_templates/mid_conversation_system.py:112
↓ 4 callersFunctionsplit_media_for_tpm
(value: object)
litellm/litellm_core_utils/prompt_templates/tpm_media_utils.py:160
↓ 4 callersFunctionsse
(event: Mapping[str, JsonValue])
tests/integration/_support/safeguards_rig.py:613
↓ 4 callersMethodstable_agent_id
(self, agent_id: str)
litellm/proxy/agent_endpoints/agent_registry.py:463
↓ 4 callersFunctionstandard_events
( marker: str, *, parts: Sequence[JsonValue] = THINKING_PARTS, signatures: Sequence[JsonValue]
tests/integration/_support/anthropic_thinking.py:103
↓ 4 callersMethodstart
(self)
litellm/harness/runtime.py:642
↓ 4 callersMethodstart
(self)
tests/integration/observability/test_otel_conversation_id.py:272
↓ 4 callersMethodstart
(self)
tests/integration/authorization/test_key_guardrail_opt_out_chaos.py:46
↓ 4 callersMethodstart
(self)
tests/integration/_support/database_relay.py:33
↓ 4 callersMethodstart
(require_client_certificate: bool)
litellm-rust/crates/redis-testing/src/tls.rs:44
↓ 4 callersFunctionstart_metrics_server_process
Spawn the metrics server next to the proxy and block until it answers on its port.
litellm/proxy/prometheus_metrics_server.py:139
↓ 4 callersFunctionstarted_transcription_job
(response_body: Mapping[str, object] | None)
litellm/proxy/pass_through_endpoints/llm_provider_handlers/transcribe_passthrough_logging_handler.py:354
↓ 4 callersMethodstatus
(self)
litellm/proxy/roi_calculator/sync_store.py:117
↓ 4 callersFunctionstay_idle
(gateways: tuple[IdleGateway, ...], seconds: float)
tests/integration/providers/_idle_upstream_support.py:598
↓ 4 callersFunctionstderr_tail_text
(stderr_tail: Sequence[str])
litellm/llms/base_llm/harness/utils.py:129
↓ 4 callersFunctionstep
Record `label` on the running test whenever this helper is called. Goes on HARNESS helpers (client methods, fixtures), never on tests. The la
tests/e2e/e2e_metadata.py:400
↓ 4 callersMethodstep_of
Zero-based step of the request with 1-based plan number `seq`.
tests/e2e/perf/setup/performance_test_case.py:135
↓ 4 callersMethodstop
(self)
tests/integration/_support/async_server.py:37
↓ 4 callersMethodstop
(self)
tests/e2e/perf/setup/podcpu.py:108
↓ 4 callersMethodstop_background_tasks
(self)
tests/unit/proxy/test_proxy_server_endpoints_and_startup.py:1666
↓ 4 callersMethodstop_token_refresh_task
Stop the background token refresh task gracefully. Should be called during application shutdown to clean up resources.
litellm/proxy/db/prisma_client.py:765
↓ 4 callersFunctionstorage_url_to_row_id
(storage_url: str)
litellm/llms/base_llm/files/litellm_db_storage_backend.py:13
↓ 4 callersMethodstore
( &'a self, request: &'a litellm_cache_response::ResponseCacheRequest, response: Value
litellm-rust/crates/inference-responses/tests/caching.rs:79
↓ 4 callersFunctionstoreLoginToken
(token: string)
ui/litellm-dashboard/src/utils/cookieUtils.ts:86
↓ 4 callersMethodstore_in_memory_daily_tag_spend_updates_in_redis
Flush in-memory daily tag spend updates and append them to Redis.
litellm/proxy/db/db_transaction_queue/redis_update_buffer.py:860
↓ 4 callersFunctionstore_rows
(vector_store_id: str)
tests/integration/management/test_vector_store_config_ownership.py:50
↓ 4 callersMethodstore_valid_token
(self, provider: Provider)
tests/integration/providers/test_device_code_login_guard_wire.py:153
↓ 4 callersFunctionstored_attribute
(obj: object, name: str)
litellm/litellm_core_utils/hidden_params.py:54
↓ 4 callersFunctionstored_budget_row
The budget row the create call persists, minus the audit columns.
tests/unit/proxy/common_utils/test_upsert_budget_membership.py:62
↓ 4 callersFunctionstr_keyed_mapping
A request field such as a deployment's ``model_info`` when it is a mapping, read without narrowing the caller's variable (``litellm.completion`` r
litellm/responses/bridge_check.py:98
↓ 4 callersFunctionstr_to_bool
(value: str | None)
litellm-proxy-extras/litellm_proxy_extras/utils.py:49
↓ 4 callersFunctionstream
(gateway: Gateway, model: str, key: str, **fields: JsonValue)
tests/integration/spend/_partial_stream.py:103
↓ 4 callersFunctionstreamScopeByModeFromConfig
(raw: unknown, modes: string[])
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_info_helpers.tsx:418
↓ 4 callersFunctionstreamScopePayload
( modes: string[], scopes: Record<string, GuardrailStreamScope>, )
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_info_helpers.tsx:421
↓ 4 callersFunctionstream_cost_injection_requested
The global include_cost_in_streaming_usage flag or the per-request header asks for usage.cost on streams.
litellm/litellm_core_utils/core_helpers.py:124
↓ 4 callersFunctionstream_gated_guardrail_names
( request_data: Mapping[str, object], user_api_key_dict: UserAPIKeyAuth )
litellm/proxy/utils.py:1141
↓ 4 callersMethodstream_policy
What may still take over a stream from `origin` that fails before content, and the retry budget for a failure of `kind`.
litellm-rust/crates/router-core/src/call/stream.rs:154
↓ 4 callersFunctionstream_request
()
litellm-rust/crates/router-core/tests/call_loop.rs:890
↓ 4 callersFunctionstream_usage_tracking_updates
( data: Mapping[str, object], general_settings: Mapping[str, object], route_type: str, support
litellm/proxy/common_request_processing.py:666
↓ 4 callersFunctionstream_with_fallbacks
()
litellm/router_rust/invoke/streaming.py:955
↓ 4 callersFunctionstreamed_text
(raw: bytes)
tests/integration/messages_endpoint/safeguards/test_safeguard_results_synthesized_streams.py:217
↓ 4 callersFunctionstreaming_outcome
( resp: SseResponse, stream: bool, *, sent_at: float, clock: Callable[[], float] = time.monotonic )
tests/e2e/e2e_http.py:734
↓ 4 callersFunctionstreaming_reply
(case: StreamingTranslationTestCase)
tests/integration/translation/runner.py:98
↓ 4 callersMethodstring_to_dict_parser
( cls, str_line: str, )
litellm/llms/base_llm/base_model_iterator.py:137
↓ 4 callersFunctionstrip_beta_gated_request_fields
Apply both strips to an Anthropic ``/v1/messages`` shaped body. Returns the same mapping when nothing is gated, otherwise a shallow copy with ``th
litellm/anthropic_beta_gated_fields.py:227
↓ 4 callersFunctionstrip_bug_report_notice
(message: str)
litellm/litellm_core_utils/bug_report.py:183
↓ 4 callersFunctionstrip_leading_model_segment
(endpoint: str, model_names: tuple[str, ...])
litellm/llms/base_llm/passthrough/transformation.py:47
↓ 4 callersFunctionstrip_litellm_response_only_fields
Drop the fields litellm attaches to a returned message (e.g. Anthropic thinking blocks or Responses API items) that no OpenAI-compatible endpoint
litellm/litellm_core_utils/prompt_templates/common_utils.py:1130
↓ 4 callersFunctionstrip_null_bytes
Strip NUL bytes, which PostgreSQL text/jsonb columns reject (error 22P05).
litellm/litellm_core_utils/safe_json_dumps.py:13
↓ 4 callersFunctionstrip_parens
Blank parenthesised groups in place, so an `IF EXISTS (SELECT ...)` guard does not stand in for the statement it guards.
tests/code_coverage_tests/check_migrations_no_data_rewrites.py:415
↓ 4 callersFunctionstrip_responses_routing_prefix
(model: str)
litellm/responses/main.py:1254
↓ 4 callersFunctionstub_timeout_conversion
(py: Python<'_>)
litellm-rust/crates/python-bridge/src/routes/ocr/project.rs:398
↓ 4 callersFunctionsubject_resolver
``ResolveSubject`` over the JWT auth claim mapping and the proxy's user and team lookups.
litellm/proxy/mcp_server/id_jag_grant.py:306
↓ 4 callersMethodsubmit
(self, processor)
tests/unit/integrations/otel/test_otel_v2_destinations.py:4406
↓ 4 callersMethodsubscribe
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1gr6rzkj48efi.js:1
↓ 4 callersMethodsubscribe
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 4 callersMethodsubscription_auth_fingerprint
(self)
litellm/mcp_client/client.py:577
↓ 4 callersFunctionsuite_parts
Path components of a suite file relative to tests/e2e, however it ran. Pytest paths are rootdir-relative, and rootdir moves with the invocation:
tests/e2e/junit_properties.py:31
↓ 4 callersMethodsummaries
(&self, name: &str)
litellm-rust/crates/inference-responses/tests/support/mod.rs:258
↓ 4 callersMethodsupports
(deployment: Deployment)
litellm/llms/anthropic/cache_aware_routing.py:101
↓ 4 callersFunctionsupports_mid_conversation_system
Check if the given model accepts a system role message after the leading system block and return a boolean value.
litellm/utils.py:3722
↓ 4 callersMethodsupports_native_websocket
XAI does not support native WebSocket for Responses API
litellm/llms/xai/responses/transformation.py:294
↓ 4 callersFunctionsupports_none_reasoning_effort
Check if the given model accepts reasoning effort "none" and return a boolean value.
litellm/utils.py:3715
↓ 4 callersFunctionsupports_response_schema
Check if the given model + provider supports 'response_schema' as a param. Parameters: model (str): The model name to be checked. cu
litellm/utils.py:3334
← previousnext →21,501–21,600 of 202,479, ranked by callers