MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 5 callersFunctioncredentialLabelsByName
(credentials: CredentialItem[])
ui/litellm-dashboard/src/components/shared/credentialOptions.ts:14
↓ 5 callersFunctioncredentialOptions
(credentials: CredentialItem[])
ui/litellm-dashboard/src/components/shared/credentialOptions.ts:23
↓ 5 callersFunctioncredential_redirect_hook
An httpx request hook dropping ``slot`` once a redirect leaves ``configured_url``'s origin. None when no guard is needed, so callers do not each
litellm/types/mcp.py:392
↓ 5 callersFunctioncsrf_from
(client: TestClient)
tests/unit/enterprise/proxy/test_liteadmin.py:69
↓ 5 callersFunctioncursor_proxy_route
Pass-through endpoint for the Cursor Cloud Agents API. Supports all Cursor Cloud Agents endpoints: - GET /v0/agents — List ag
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:3910
↓ 5 callersFunctioncustomDimensionsError
( rows: CustomDimensionRow[] | undefined, builtinNames: string[] = Object.keys(DIMENSION_LABELS), t: TFu
ui/litellm-dashboard/src/components/add_model/custom_dimensions.ts:27
↓ 5 callersFunctioncustom_openapi
()
litellm/proxy/proxy_server.py:2325
↓ 5 callersFunctiond
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0ayyip3c-drm1.js:1
↓ 5 callersFunctiond
(e,r)
litellm/proxy/_experimental/out/_next/static/chunks/1u96d84_l-6qz.js:1
↓ 5 callersFunctionda
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 5 callersMethoddata_bytes
(self)
tests/rust-python-harness/shared/parity/models.py:72
↓ 5 callersMethoddatabase
(&self)
litellm-rust/crates/storage-clickhouse/src/lib.rs:109
↓ 5 callersFunctiondatabase_relay
(database_url: str, trigger: bytes)
tests/integration/_support/database_relay.py:350
↓ 5 callersFunctiondateRangeFromParams
(params: DateParams)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/usageUrlState.ts:127
↓ 5 callersFunctiondb_write_failure_is_requeue_safe
Whether a failed write provably never applied, so its rows can be sent again without double counting.
litellm/proxy/db/exception_handler.py:747
↓ 5 callersFunctiondb_write_never_sent
Whether the database could not take the write at all, because it was unreachable (P1001), refusing connections (57P03) or full (53300, P2024), so
litellm/proxy/db/exception_handler.py:755
↓ 5 callersFunctiondcr_fault_detail
Status and detail string for a registration fault, raised as HTTPException by the caller. RFC 7591 §3.2.2 defines registration errors as 400, so a
litellm/proxy/mcp_server/faults/render_oauth.py:97
↓ 5 callersFunctiondecodeToken
(token: string | null)
ui/litellm-dashboard/src/utils/jwtUtils.ts:16
↓ 5 callersFunctiondecode_ignoring_wall_clock
Tests mint with a fixed past ``FakeClock`` and no expected audience, so PyJWT's real-wall-clock ``exp``/``aud`` checks (irrelevant to what these t
tests/unit/llms/base_llm/auth/test_internal_issuer.py:69
↓ 5 callersFunctiondecode_oauth_payload
Return the OAuth2 payload dict held in ``stored``, else ``None``.
litellm/proxy/mcp_server/db.py:1649
↓ 5 callersFunctiondecode_prompt_id
Convert 'gitlab::invoice::extract' → 'invoice/extract
litellm/integrations/gitlab/gitlab_prompt_manager.py:50
↓ 5 callersFunctiondecode_secret_map
(value: object, *, key: str)
litellm/proxy/common_utils/encrypt_decrypt_utils.py:351
↓ 5 callersFunctiondecrypted_credential
The stored credential with every value decrypted, leaving already-plaintext values alone.
litellm/proxy/common_utils/credential_hydration.py:71
↓ 5 callersFunctiondeleteVirtualKey
(request: APIRequestContext, token: string)
tests/e2e/ui/helpers/traffic.ts:125
↓ 5 callersMethoddelete_cache
(self, key: str)
litellm/router_utils/pre_call_checks/prompt_caching_deployment_check.py:64
↓ 5 callersMethoddelete_cache
(&self, key: &str)
litellm-rust/crates/cache-memory/src/cache.rs:234
↓ 5 callersFunctiondelete_mcp_oauth_user_credential
Revoke the target user's OAuth2 credential (the caller unless an admin names another user).
litellm/proxy/management_endpoints/mcp_management_endpoints.py:2799
↓ 5 callersMethoddelete_team
(self, team_id: str)
tests/e2e/proxy_client.py:1003
↓ 5 callersFunctiondelete_user
delete user and associated user keys ``` curl --location 'http://0.0.0.0:4000/user/delete' \ --header "Authorization: Bearer $LITEL
litellm/proxy/management_endpoints/internal_user_endpoints.py:2511
↓ 5 callersMethoddelete_user
(self, user_id: str)
tests/e2e/management/management_client.py:537
↓ 5 callersMethoddelete_user_strict
Strict delete for the act phase of a test: a failed delete is a hard failure, unlike the warn-only delete_user used at teardown.
tests/e2e/management/management_client.py:546
↓ 5 callersFunctiondeploy_schema_before_the_index_migrations
(database_url: str, directory: Path)
tests/integration/database/test_request_log_indexes_at_boot.py:130
↓ 5 callersFunctiondeployment_has_io_token_limits
(deployment: dict)
litellm/router_utils/pre_call_checks/io_token_rate_limit_check.py:157
↓ 5 callersFunctiondeployment_pricing_models
``pricing_models`` read off a raw deployment dict (``model_info.base_model``, then ``litellm_params.base_model``, then ``litellm_params.model``);
litellm/litellm_core_utils/deployment_pricing.py:19
↓ 5 callersMethoddeployments
(self, model, *, source, request)
tests/unit/proxy/guardrails/test_auto_router_compression.py:64
↓ 5 callersMethoddescAt
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 5 callersFunctiondescribe_connect_flow
( request: Request, flow_handle: str, session_user_id: str | None, lookup_vendor_credential: L
litellm/proxy/mcp_server/gateway_dcr_flow.py:1177
↓ 5 callersMethoddestroyBetween
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 5 callersMethoddetach
(&mut self)
litellm-rust/crates/host-native/src/driver.rs:48
↓ 5 callersMethoddetails
(self, token: str)
enterprise/litellm_enterprise/proxy/liteadmin.py:89
↓ 5 callersFunctiondetect_content_type
Detect whether content is code, JSON, or plain text. Returns one of: "code", "json", "text"
litellm/compression/content_detection.py:14
↓ 5 callersFunctiondi
()
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:8
↓ 5 callersFunctiondiscover_guardrail_translation_mappings
Discover guardrail translation mappings by scanning the llms directory structure. Scans for modules with guardrail_translation_mappings dict
litellm/llms/__init__.py:130
↓ 5 callersMethoddispatch_failure_handlers
( self, exception: Exception, traceback_exception: str, prefer_async_handlers: bool = False )
tests/unit/litellm_core_utils/test_realtime_streaming.py:4842
↓ 5 callersFunctiondispatch_rig
( gateway: Gateway, directory: Path, *, workers: int = 2, default_on: bool = False, be
tests/integration/observability/azure_dispatch_support.py:537
↓ 5 callersMethoddispatch_success_handlers
( self, result: object = None, start_time: object = None, end_time: object = N
litellm/proxy/common_request_processing.py:736
↓ 5 callersFunctiondispatch_sync
()
tests/unit/test_audio_transcription_rust_bridge.py:71
↓ 5 callersMethoddocument_fetcher
(&self)
litellm-rust/crates/llms/src/base_llm/ocr/handler.rs:72
↓ 5 callersFunctiondrain
(queue: SimpleQueue[dict[str, JsonValue]])
tests/integration/_support/responses_ws_peer.py:185
↓ 5 callersMethoddrain
(self, iterator: ResponsesAPIStreamingIterator)
tests/unit/responses/test_responses_streaming_iterator.py:202
↓ 5 callersFunctiondrain_contract_requests
(wire: Wire)
tests/integration/providers/test_responses_core_wire.py:58
↓ 5 callersFunctiondrain_post_call_redis_batches
Sends every post-call batch still waiting on its callbacks or deadline; for the shutdown path.
litellm/caching/redis_batch.py:686
↓ 5 callersFunctiondrive
(execution: Execution, open_stream: Callable[[Execution, object], object])
litellm/rust_bridge/execution.py:88
↓ 5 callersFunctiondrive
( agent: &impl Agent, version_var: &str, wire: Wire, model: Option<&str>, prompt: Prompt,
litellm-rust/crates/testkit/tests/live.rs:29
↓ 5 callersMethoddrop
(self, scenario_id: str)
tests/integration/_support/upstream.py:179
↓ 5 callersFunctiondrop_params_from_unprocessable_entity_error
Return a copy of ``data`` without the params a 422 response names as invalid.
litellm/llms/openai/common_utils.py:208
↓ 5 callersMethoddrops
(self, field: str)
litellm/litellm_core_utils/tool_fields.py:79
↓ 5 callersFunctiondumps
`json.dumps(value)`, what `RedisCache.async_set_cache` writes.
litellm-rust/crates/redis-store/src/codec.rs:27
↓ 5 callersFunctione2
()
litellm/proxy/_experimental/out/_next/static/chunks/1a2lzi3ursud4.js:1
↓ 5 callersFunctione2
(e,t=!1)
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 5 callersFunctione4
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:11
↓ 5 callersFunctione5
({value:e})
litellm/proxy/_experimental/out/_next/static/chunks/1a2lzi3ursud4.js:1
↓ 5 callersFunctione5
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 5 callersFunctioneB
(e)
litellm/proxy/_experimental/out/_next/static/chunks/11et800l-khs-.js:1
↓ 5 callersFunctioneD
({isVisible:e,onCancel:r,onSuccess:a})
litellm/proxy/_experimental/out/_next/static/chunks/1a2lzi3ursud4.js:1
↓ 5 callersFunctioneG
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 5 callersFunctioneI
()
litellm/proxy/_experimental/out/_next/static/chunks/1a2lzi3ursud4.js:1
↓ 5 callersFunctioneM
litellm/proxy/_experimental/out/_next/static/chunks/37cr8te-omsl0.js:1
↓ 5 callersFunctioneM
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2k-fkubkt19cc.js:1
↓ 5 callersFunctioneN
litellm/proxy/_experimental/out/_next/static/chunks/269vry4mb17-_.js:1
↓ 5 callersFunctioneP
()
litellm/proxy/_experimental/out/_next/static/chunks/1a2lzi3ursud4.js:1
↓ 5 callersFunctioneT
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:1
↓ 5 callersFunctioneU
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 5 callersFunctioneW
({action:e,children:t})
litellm/proxy/_experimental/out/_next/static/chunks/37cr8te-omsl0.js:1
↓ 5 callersFunctioneW
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 5 callersFunctioneZ
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 5 callersMethodeat
(&mut self, token: &str)
litellm-rust/crates/python-compat/src/json.rs:88
↓ 5 callersFunctionec
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 5 callersMethodedit
(self, *edits)
tests/unit/proxy/client/cli/test_claude_settings.py:420
↓ 5 callersFunctionee
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 5 callersFunctionee
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:1
↓ 5 callersFunctionef
(e,t,n,r,a,l,u)
litellm/proxy/_experimental/out/_next/static/chunks/0dvgjd47fte1d.js:2
↓ 5 callersFunctioneffectiveSessionRole
(rawUserRole?: string)
ui/litellm-dashboard/src/utils/roles.ts:130
↓ 5 callersFunctionel
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0dvgjd47fte1d.js:2
↓ 5 callersMethodemail
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 5 callersMethodembed
(self, model: str, query: str, configuration: Mapping[str, object])
litellm/llms/base_llm/vector_store/transformation.py:105
↓ 5 callersMethodembed_with
(self, session: MagicMock, model: str, optional_params: Mapping[str, object])
tests/unit/llms/sagemaker/test_sagemaker_embedding_openai.py:195
↓ 5 callersFunctionemit_counts
Write HEAD's per-rule counts as the file the publisher workflow uploads. The filename stem is exactly the artifact name `fetch_ci_base_counts` wi
scripts/lint_base_counts.py:297
↓ 5 callersMethodempty
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 5 callersMethodencode
(self, text: str, /)
litellm/llms/cohere/embed/v1_transformation.py:24
↓ 5 callersMethodencode_ordinary
(self, text: str)
litellm/litellm_core_utils/tokenizer.py:82
↓ 5 callersFunctionencode_record
(value: Mapping[str, object])
litellm/tracing/exporter.py:79
↓ 5 callersFunctionencrypt_secret_map
(value: Mapping[str, str], new_encryption_key: str | None = None)
litellm/proxy/common_utils/encrypt_decrypt_utils.py:342
↓ 5 callersFunctionencrypt_value
(value: str, signing_key: str)
litellm/proxy/common_utils/encrypt_decrypt_utils.py:287
↓ 5 callersMethodend
(&self, start: usize)
litellm-rust/crates/token-counter-fast/src/tiktoken.rs:126
↓ 5 callersMethodend_operation
(self)
litellm/proxy/db/prisma_client.py:93
↓ 5 callersMethodend_user_from_db
(prisma_client: Optional["PrismaClient"], counter_key: str)
litellm/proxy/db/spend_counter_reseed.py:181
↓ 5 callersMethodenforce_project_io_token_quota_for_frame
( self, user_api_key_dict: UserAPIKeyAuth | None, requested_model: str | None,
litellm/responses/streaming_iterator.py:96
↓ 5 callersFunctionenter
(j,L,B,$,V,U)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 5 callersFunctionenv_of
(values: &'static [(&'static str, &'static str)])
litellm-rust/crates/http/src/settings.rs:199
← previousnext →15,701–15,800 of 202,479, ranked by callers