MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunctiondelete_cache_access_object
( access_group_id: str, user_api_key_cache: UserApiKeyCache, proxy_logging_obj: ProxyLogging | Non
litellm/proxy/auth/auth_checks.py:3786
↓ 3 callersMethoddelete_cache_keys
(self, keys: object)
litellm/caching/caching.py:1052
↓ 3 callersFunctiondelete_cached_project_object
Every endpoint that mutates litellm_projecttable must call this, or a stale project (e.g. a pre-update empty model allowlist) keeps being enf
litellm/proxy/auth/auth_checks.py:7544
↓ 3 callersMethoddelete_credential
(self, credential_name: str)
tests/e2e/proxy_client.py:970
↓ 3 callersMethoddelete_customers
(self, user_ids: list[str])
tests/e2e/quota_management/budgets/budget_client.py:278
↓ 3 callersMethoddelete_data
Allow user to delete a key(s) Ensure user owns that key, unless admin.
litellm/proxy/utils.py:6955
↓ 3 callersMethoddelete_file
( self, _is_async: bool, file_id: str, api_base: str, api_key: str | N
litellm/llms/openai/openai.py:2055
↓ 3 callersFunctiondelete_jwt_key_mapping
( data: DeleteJWTKeyMappingRequest, user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth), )
litellm/proxy/management_endpoints/jwt_key_mapping_endpoints.py:291
↓ 3 callersFunctiondelete_mcp
(gateway: Gateway, identity: str)
tests/integration/_support/mcp.py:552
↓ 3 callersMethoddelete_mcp_server
DELETE /v1/mcp/server/{server_id}. Returns the outcome so the act phase can unwrap it while a deferred teardown can ignore an already-deleted
tests/e2e/management/management_client.py:700
↓ 3 callersFunctiondelete_mcp_user_credential
Remove the target user's BYOK credential (the caller unless an admin names another user).
litellm/proxy/management_endpoints/mcp_management_endpoints.py:2699
↓ 3 callersMethoddelete_polling
Delete a polling request from cache
litellm/proxy/response_polling/polling_handler.py:262
↓ 3 callersMethoddelete_project
(self, project_id: str)
tests/e2e/access_control/access_control_client.py:133
↓ 3 callersMethoddelete_skill
( skill_id: str, user_api_key_dict: UserAPIKeyAuth | None = None, )
litellm/llms/litellm_proxy/skills/handler.py:184
↓ 3 callersFunctiondelete_team_model_alias
Delete a team model alias Iterate through all team model aliases and delete the one that matches the model_id Returns: - List of te
litellm/proxy/management_endpoints/model_management_endpoints.py:3070
↓ 3 callersMethoddelete_token
Delete a token and archive it to the deleted tokens table. Uses a transaction to ensure atomicity of the archive-then-delete operation.
litellm/repositories/verification_token_repository.py:361
↓ 3 callersFunctiondelete_users_from_current_teams
Deletes the users and the rows referencing them after taking them off every team they are on once their rows are locked, so a group push that adde
litellm/proxy/management_helpers/bulk_user_deletion.py:592
↓ 3 callersFunctiondelete_validated_teams
What ``/team/delete`` does once the teams exist and the caller may delete them: every key and BYOK model of the teams, then ``delete_validate
litellm/proxy/management_endpoints/team_endpoints.py:4813
↓ 3 callersFunctiondelete_vector_store
Delete a vector store from both database and in-memory registry. Parameters: - vector_store_id: str - ID of the vector store to delete
litellm/proxy/vector_store_endpoints/management_endpoints.py:463
↓ 3 callersMethoddeliver
Persist the serialized export for the provided time window.
litellm/integrations/focus/destinations/base.py:22
↓ 3 callersFunctiondelta
(before: Snapshot, after: Snapshot)
tests/integration/_support/routing.py:236
↓ 3 callersFunctiondeployment
( scenario: Scenario, wire: Wire, model: str, *, model_info: Mapping[str, JsonValue] | Non
tests/integration/providers/_mantle_gpt_prompt_cache_support.py:666
↓ 3 callersFunctiondeployment
A wildcard deployment posted straight to /model/new, since Scenario.model fixes a non-wildcard name.
tests/integration/_support/bedrock_discovery.py:135
↓ 3 callersFunctiondeployment
(name: str, model_info: dict[str, object])
tests/unit/proxy/test_proxy_token_counter.py:2756
↓ 3 callersFunctiondeployment
(id: &str, info: Value)
litellm-rust/crates/router-core/src/eligibility.rs:132
↓ 3 callersFunctiondeploymentRefsFromModelInfo
( rows: readonly { model_name?: string | null; litellm_params?: { model?: string | null; base_model?
ui/litellm-dashboard/src/lib/autorouter_presets.ts:187
↓ 3 callersFunctiondeploymentWarningContent
(warningId: string, now: Date = new Date())
ui/litellm-dashboard/src/components/DeploymentHealth/DeploymentWarningContent.tsx:74
↓ 3 callersFunctiondeployment_allowed_fails
`_resolve_allowed_fails_from_policy` over a deployment's `model_info.allowed_fails_policy`: the first field set for a class the failure is an instance
litellm-rust/crates/router-core/src/health.rs:172
↓ 3 callersFunctiondeployment_can_continue
(deployment: object)
litellm/router_utils/pre_call_checks/continuation_prefill_check.py:93
↓ 3 callersFunctiondeployment_declared_mid_conversation_system_support
(model_info: object)
litellm/utils.py:3742
↓ 3 callersFunctiondeployment_hash_secret
(store: TelemetryStore | None, fallback: Callable[[], bytes])
litellm/proxy/telemetry/runtime.py:48
↓ 3 callersMethoddeployment_hook_ran
Whether a deployment-level hook ran this guardrail as a policy pipeline step of this request.
litellm/integrations/custom_guardrail.py:1021
↓ 3 callersFunctiondeployment_model_id_pin
(deployment_litellm_params: Mapping[str, object])
litellm/litellm_core_utils/routing_common_utils.py:537
↓ 3 callersFunctiondeployment_model_info
`get_deployment_model_info`: deployment `model_id`'s own cost-map entry (with what the refresh discovered, over its base model's row), merged over the
litellm-rust/crates/router-core/src/model_info.rs:489
↓ 3 callersFunctiondeployment_model_name
`set_deployment_model_name`: the deployment's model with each wildcard replaced by the group matched for it, the request itself when more groups match
litellm-rust/crates/router-core/src/host_index.rs:522
↓ 3 callersFunctiondeployment_openai_model
The OpenAI model a router deployment serves, read from its base model first, since a custom deployment name (`azure/my-gpt-5`) says nothing about
litellm/litellm_core_utils/token_counter.py:1317
↓ 3 callersFunctiondeployment_provider
(litellm_params: object)
litellm/proxy/management_helpers/model_quota_policy.py:161
↓ 3 callersFunctiondeployments_targeted_by_name
``model`` targets deployments the way a request for it routes, else by ``litellm_params.model``.
litellm/proxy/health_check.py:367
↓ 3 callersFunctiondeprecated
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctiondequeue_spend_logs
Take up to ``limit`` of the oldest queued spend logs off the queue. Every enqueue and dequeue goes through this pair so the byte total the qu
litellm/proxy/utils.py:8656
↓ 3 callersMethodderef
()
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 3 callersMethodderegister
(self)
litellm/proxy/db/proxy_worker_heartbeat.py:85
↓ 3 callersFunctionderiveKeyModelScope
( allowedRoutes: string[] | null | undefined, keyType?: string | null, )
ui/litellm-dashboard/src/components/key_scope.ts:20
↓ 3 callersFunctiondescribeBudgetResetSchedule
( budgetDuration: string | null | undefined, budgetResetAt: string | null | undefined, t: TFunction = i1
ui/litellm-dashboard/src/utils/budgetUtils.ts:80
↓ 3 callersFunctiondescribe_errors
Field names and messages only: the rejected value of ``endpoint`` can carry a token
litellm/proxy/telemetry/settings.py:63
↓ 3 callersFunctiondeselectTools
( selected: readonly MCPToolsetTool[], tools: readonly MCPToolsetTool[], )
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/toolsetSelection.ts:40
↓ 3 callersMethoddeserialise
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctiondesiredLabels
(verdict: Verdict)
scripts/label-issue.ts:37
↓ 3 callersMethoddestroy
(self, name: str)
tests/e2e/secret_manager/secret_store.py:15
↓ 3 callersMethoddetect
(s,o,i)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctiondetectAgentType
(agent: Agent)
ui/litellm-dashboard/src/app/(dashboard)/agents/_components/agent_type_utils.ts:9
↓ 3 callersFunctiondetect_local_image_media_type
Return a browser image media type for supported local image signatures.
litellm/proxy/common_utils/static_asset_utils.py:11
↓ 3 callersMethoddetected_languages
(value: object)
litellm/types/utils.py:3027
↓ 3 callersFunctiondict
(entries: [(&str, Value); N])
litellm-rust/crates/redis-store/tests/auth_cache.rs:32
↓ 3 callersFunctiondiffSSOSettingsPayload
( before: Record<string, unknown>, after: Record<string, unknown>, )
ui/litellm-dashboard/src/components/Settings/AdminSettings/SSOSettings/utils.ts:81
↓ 3 callersFunctiondirect_classifier_status
(rig: Rig, key: str, **extra: JsonValue)
tests/integration/messages_endpoint/safeguards/test_safeguard_results_caller_checks.py:231
↓ 3 callersFunctiondirect_vs_bridge
(name: str, endpoint: Endpoint, *, direct: str, bridge: str)
tests/e2e/perf/cases/direct_vs_bridge.py:20
↓ 3 callersFunctiondisable_plugin
Disable a plugin without deleting it. Requires a proxy admin API key. Parameters: - plugin_name: The name of the plugin to disa
litellm/proxy/anthropic_endpoints/claude_code_endpoints/claude_code_marketplace.py:992
↓ 3 callersMethoddisconnect
(self)
litellm/caching/redis_cache.py:1887
↓ 3 callersFunctiondiscovered
(host: &dyn Host, id: Value)
litellm-rust/crates/router-core/src/model_info.rs:131
↓ 3 callersFunctiondiscovery_proxy
( parent: Gateway, directory: Path, plane: ControlPlane, *, check_provider_endpoint: bool, workers: int )
tests/integration/_support/bedrock_discovery.py:108
↓ 3 callersFunctiondispatch
( router: RoutingContext, protocol: CompactionProtocol, payload: Mapping[str, object] )
litellm/llms/compaction.py:35
↓ 3 callersMethoddispatch_failure
The sync failure handler, then the async one for async calls. Ordinary handler errors never replace the selected failure or suppress the other family;
litellm-rust/crates/callbacks-legacy-python/src/adapter.rs:346
↓ 3 callersFunctiondispatch_proxy
( gateway: Gateway, directory: Path, redis: OwnedRedis, azure_url: str, *, workers: in
tests/integration/observability/azure_dispatch_support.py:511
↓ 3 callersFunctiondispatching_call
()
litellm-rust/crates/host-native/tests/driver.rs:150
↓ 3 callersMethoddo_POST
(self)
tests/rust-python-harness/shared/parity/fixtures/test_recording.py:174
↓ 3 callersFunctiondocument
()
litellm-rust/crates/llms/src/vertex_ai/ocr/deepseek_transformation.rs:440
↓ 3 callersMethoddocument
(&self)
litellm-rust/crates/python-bridge/src/routes/ocr/project.rs:50
↓ 3 callersFunctiondocument_bytes
(document: &OcrDocument)
litellm-rust/crates/llms/src/aws_textract/ocr/common_utils.rs:295
↓ 3 callersMethoddownload_counts
(self, plugin_ids: tuple[str, ...])
litellm/models/plugin_upload.py:178
↓ 3 callersMethoddrain
(self)
litellm/proxy/db/gateway_request_tracking.py:86
↓ 3 callersMethoddrain
(self)
tests/unit/test_router/core/test_endpoints.py:337
↓ 3 callersFunctiondrain_contract_requests
(wire: Wire)
tests/integration/providers/test_responses_compact_wire.py:40
↓ 3 callersMethoddrained
(self)
tests/integration/_support/hook_counts.py:188
↓ 3 callersFunctiondraw
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1-f3yvj3y6lg8.js:1
↓ 3 callersFunctiondrive_until
Drives the machine by hand, answering every op through `host` except `before_provider_request`, which `intercept` answers so a test can fail or cancel
litellm-rust/crates/inference-ocr/tests/ocr/machine.rs:27
↓ 3 callersMethoddrop_callbacks
(self, callbacks: Iterable[object], method_owners: Iterable[object] = ())
litellm/litellm_core_utils/logging_callback_manager.py:358
↓ 3 callersFunctiondrop_lookaround_regex_patterns
Drop every regex in a schema position that uses a lookaround assertion. Some Bedrock Converse families compile tool schema regexes with an engine
litellm/litellm_core_utils/prompt_templates/json_schema_utils.py:211
↓ 3 callersFunctiondrop_none_pairs
Return ``pairs`` as a map with ``None``-valued entries removed.
litellm/integrations/otel/mappers/utils.py:64
↓ 3 callersFunctiondrop_params_env_flag
(environ: Mapping[str, str], logger: logging.Logger)
litellm/litellm_core_utils/core_helpers.py:245
↓ 3 callersFunctiondrop_params_flag
(value: object, source: str, logger: logging.Logger)
litellm/litellm_core_utils/core_helpers.py:235
↓ 3 callersMethoddropped
(self)
tests/integration/_support/device_login.py:267
↓ 3 callersFunctiondryRunRejection
( verdict: { valid: boolean; error?: string | null }, t: TFunction = i18n.t.bind(i18n), )
ui/litellm-dashboard/src/components/add_model/build_complexity_router_config.ts:243
↓ 3 callersMethoddry_run_export_usage_data
Returns the data that would be exported to CloudZero without actually sending it. Args: limit: Limit number of records t
litellm/integrations/cloudzero/cloudzero.py:159
↓ 3 callersFunctiondt
(t)
litellm/proxy/_experimental/out/_next/static/chunks/0cz1d0mv5g_q7.js:1
↓ 3 callersFunctiondump
(value: object)
litellm/router_rust/surface/model_list.py:63
↓ 3 callersFunctionduplicateDecisionCheckNames
(checks: readonly DecisionModelCheckDraft[])
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/decision_model/buildDecisionModelParams.ts:26
↓ 3 callersFunctionduration_usage
(seconds: float)
litellm/llms/base_llm/realtime/transcription_protocol.py:283
↓ 3 callersFunctione
()
litellm/proxy/_experimental/out/_next/static/chunks/11et800l-khs-.js:1
↓ 3 callersFunctione
()
litellm/proxy/_experimental/out/_next/static/chunks/1d5pm_8gbmvlm.js:1
↓ 3 callersFunctione
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2e_-x-1sa5337.js:1
↓ 3 callersFunctione
()
litellm/proxy/_experimental/out/_next/static/chunks/03q-w6h_lqdi1.js:1
↓ 3 callersFunctione
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0lailfp2ddas6.js:1
↓ 3 callersFunctione$
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctione0
({onAdd:e})
litellm/proxy/_experimental/out/_next/static/chunks/1a2lzi3ursud4.js:1
↓ 3 callersFunctione0
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 3 callersFunctione1
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0ayyip3c-drm1.js:1
↓ 3 callersFunctione2
(n)
litellm/proxy/_experimental/out/_next/static/chunks/0ayyip3c-drm1.js:1
↓ 3 callersFunctione2
litellm/proxy/_experimental/out/_next/static/chunks/3i7pipwtkkn0_.js:1
↓ 3 callersFunctione3
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:11
← previousnext →26,701–26,800 of 202,479, ranked by callers