MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunctionusePtuCostAttributionEnabled
()
ui/litellm-dashboard/src/app/(dashboard)/hooks/uiSettings/usePtuCostAttributionEnabled.ts:21
↓ 4 callersFunctionuseSSOSettings
()
ui/litellm-dashboard/src/app/(dashboard)/hooks/sso/useSSOSettings.ts:59
↓ 4 callersFunctionuseTeamMemberBudgets
(teamIds: readonly string[])
ui/litellm-dashboard/src/app/(dashboard)/hooks/teams/useTeamMemberBudgets.ts:16
↓ 4 callersFunctionuseUserLookup
(userId: string | null)
ui/litellm-dashboard/src/app/(dashboard)/hooks/users/useUsers.ts:61
↓ 4 callersFunctionuseVisitedTabs
(initialTab: string)
ui/litellm-dashboard/src/hooks/useVisitedTabs.ts:3
↓ 4 callersFunctionuseWorker
()
ui/litellm-dashboard/src/hooks/useWorker.ts:20
↓ 4 callersMethoduse_multipart_form_data
(self)
tests/unit/llms/custom_httpx/test_llm_http_handler.py:4125
↓ 4 callersFunctionuserListCall
( accessToken: string, userIDs: string[] | null = null, page: number | null = null, page_size: number
ui/litellm-dashboard/src/components/networking.tsx:1112
↓ 4 callersFunctionuser_message
(text: str)
tests/e2e/llm_translation/realtime/realtime_client.py:259
↓ 4 callersMethoduser_seat_limit
(self)
litellm/proxy/auth/litellm_license.py:133
↓ 4 callersFunctionuser_turn
(text: str)
tests/integration/providers/test_bedrock_mantle_codex_input_wire.py:37
↓ 4 callersFunctionuser_update
Example curl ``` curl --location 'http://0.0.0.0:4000/user/update' \ --header "Authorization: Bearer $LITELLM_MASTER_KEY" \ --h
litellm/proxy/management_endpoints/internal_user_endpoints.py:1761
↓ 4 callersFunctionusesHeuristicV2
(value: ComplexityRouterConfigValue)
ui/litellm-dashboard/src/components/add_model/ComplexityRouterConfig.tsx:172
↓ 4 callersFunctionuses_anthropic_error_envelope
(request: Request)
litellm/proxy/common_utils/anthropic_error_payload.py:50
↓ 4 callersMethodusing
(self, image: str)
tests/e2e/migrations/containers.py:152
↓ 4 callersFunctionutc_today
()
tests/integration/observability/_ternary_support.py:50
↓ 4 callersFunctionutils_isQuoted
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callersFunctionuuid
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callersFunctionv
()
litellm/proxy/_experimental/out/_next/static/chunks/1a2lzi3ursud4.js:1
↓ 4 callersFunctionv
(e,t,r,i)
litellm/proxy/_experimental/out/_next/static/chunks/0csaxmztgrx3b.js:434
↓ 4 callersFunctionv
()
litellm/proxy/_experimental/out/_next/static/chunks/45b8usrooa1la.js:1
↓ 4 callersFunctionv
litellm/proxy/_experimental/out/_next/static/chunks/2wle2ogjmyxgm.js:1
↓ 4 callersFunctionva
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:315
↓ 4 callersMethodvalidate
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:14
↓ 4 callersMethodvalidate
(&self)
litellm-rust/crates/db/src/spend/key_spend.rs:14
↓ 4 callersFunctionvalidate_complexity_router_config_placement
Reject a complexity-router setting written beside ``complexity_router_config``. The router reads its settings only from ``litellm_params.complexi
litellm/router_strategy/auto_router/auto_router_model_naming.py:422
↓ 4 callersFunctionvalidate_deployment_access_windows
Reject a malformed `model_info.access_windows` instead of silently dropping the deployment. Checked here rather than on `ModelInfo` because
litellm/proxy/proxy_server.py:5547
↓ 4 callersMethodvalidate_effort_for_model
( cls, model: str, effort: str | None, custom_llm_provider: str, )
litellm/llms/anthropic/chat/transformation.py:730
↓ 4 callersMethodvalidate_environment
( self, presidio_analyzer_api_base: str | None = None, presidio_anonymizer_api_base: s
litellm/proxy/guardrails/guardrail_hooks/presidio.py:355
↓ 4 callersMethodvalidate_environment
( self, api_key: str | None, headers: dict | None, model: str, litellm
litellm/llms/gemini/google_genai/transformation.py:155
↓ 4 callersMethodvalidate_environment
(self, headers: dict, model: str, litellm_params: GenericLiteLLMParams | None)
litellm/llms/azure/responses/transformation.py:136
↓ 4 callersMethodvalidate_environment
Validate Azure environment and set up authentication headers. Delegates to ``BaseAzureLLM._base_validate_azure_environment`` so the
litellm/llms/azure/image_edit/transformation.py:27
↓ 4 callersMethodvalidate_environment
Validate environment and set headers for PG vector service authentication
litellm/llms/pg_vector/vector_stores/transformation.py:30
↓ 4 callersMethodvalidate_environment
Validate environment and set up headers for RAGFlow API. Args: headers: Request headers model: Model name
litellm/llms/ragflow/chat/transformation.py:169
↓ 4 callersMethodvalidate_environment
( self, headers: dict, model: str, api_key: str | None = None, optiona
litellm/llms/voyage/rerank/transformation.py:155
↓ 4 callersMethodvalidate_environment
`OpenAILikeBase._validate_environment`: a forwarded `authorization` is the whole credential, and any other call authenticates with the resolved key as
litellm-rust/crates/llms/src/openai_like/chat/transformation.rs:191
↓ 4 callersMethodvalidate_format
Validate image format and mime type for both images and documents.
litellm/litellm_core_utils/prompt_templates/factory.py:4123
↓ 4 callersFunctionvalidate_inline_document
(document: &OcrDocument)
litellm-rust/crates/llms/src/base_llm/ocr/document.rs:45
↓ 4 callersFunctionvalidate_key_team_change
Validate that a key can be moved to a new team. - The team must have access to the key's models - The key's user_id must be a member of
litellm/proxy/management_endpoints/key_management_endpoints.py:4687
↓ 4 callersFunctionvalidate_loopback_redirect_uri
Require a loopback ``redirect_uri`` (OAuth 2.1 §4.1.2.1 + RFC 8252 §7.3 native-app pattern). MCP clients are native apps that listen on a loca
litellm/proxy/mcp_server/oauth_utils.py:325
↓ 4 callersFunctionvalidate_oci_environment
Populate common OCI request headers (content-type, user-agent). Full credential validation is deferred to signing time so that credentials
litellm/llms/oci/common_utils.py:521
↓ 4 callersMethodvalidate_policies
Validate a set of policies. Args: policies: Dictionary mapping policy names to Policy objects validate_db: W
litellm/proxy/policy_engine/policy_validator.py:292
↓ 4 callersFunctionvalidate_registry
( registry: dict[SpanRole, SpanSpec] | None = None, )
litellm/integrations/otel/model/spans.py:578
↓ 4 callersMethodvalidate_request
(self, model: str, input: str | Sequence[object])
litellm/llms/openai/responses/count_tokens/transformation.py:211
↓ 4 callersFunctionvalidate_router_weights
(value: object)
litellm/types/router_weights.py:23
↓ 4 callersFunctionvalidate_routing_strategy
(routing_strategy: RoutingStrategy | str | None)
litellm/litellm_core_utils/routing_groups.py:23
↓ 4 callersFunctionvalidate_static_credential
( auth_type: MCPAuthType, headers: Mapping[str, str], upstream_token_header: str | None = None,
litellm/proxy/mcp_server/outbound_credentials/adapter.py:458
↓ 4 callersFunctionvalidate_strategy_router_model_write
Check that writing ``model`` leaves a deployment the router can load. ``present_fields`` is the set of strategy-router param fields that are
litellm/router_strategy/auto_router/auto_router_model_naming.py:444
↓ 4 callersFunctionvalidate_switchyard_config_write
(config: Mapping[str, object] | None)
litellm/router_strategy/switchyard_router/config.py:145
↓ 4 callersFunctionvalidate_target
(url: str)
tests/e2e/perf/setup/ui_query_isolation.py:32
↓ 4 callersFunctionvalidate_tool_display_names
Validate tool display name overrides against Bedrock's tool-name constraint. A display name replaces the tool name sent to the LLM provider,
litellm/proxy/mcp_server/utils.py:635
↓ 4 callersFunctionvalidator
(s,o,i,a)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callersFunctionvalue
(match: re.Match[str])
tests/unit/test_select_ui_test_scope.py:85
↓ 4 callersFunctionvalue_call
( py: Python<'py>, payload_name: &str, payload: &Bound<'py, PyAny>, kwargs: Op
litellm-rust/crates/python-bridge/src/routes/mod.rs:196
↓ 4 callersFunctionvalues
(item: Mapping[str, JsonValue])
tests/integration/streaming/faked_responses_case.py:286
↓ 4 callersMethodvalues
(self)
litellm/types/proxy/auth/user_roles.py:46
↓ 4 callersFunctionvectorStoreListCall
( accessToken: string, page: number = 1, page_size: number = 100, )
ui/litellm-dashboard/src/components/networking.tsx:5229
↓ 4 callersMethodvector_store_search
(self, request: Request)
tests/integration/_support/upstream.py:243
↓ 4 callersMethodvector_store_search_handler
( self, vector_store_id: str, query: str | list[str], vector_store_search_opti
litellm/llms/custom_httpx/llm_http_handler.py:10734
↓ 4 callersMethodverdict
(self)
tests/integration/sdk/test_device_code_login_guard_sdk.py:133
↓ 4 callersFunctionverified_archive
(content: bytes | None, manifest_json: str | None)
litellm/repositories/plugin_publication.py:89
↓ 4 callersFunctionverified_human_agent_grants
(user_id: str | None, team_id: str | None = None)
litellm/proxy/agent_endpoints/auth/agent_permission_handler.py:918
↓ 4 callersFunctionverify_api_key
Verify the API key from the Authorization header. Args: authorization: Authorization header (Bearer token) Returns: Tru
cookbook/mock_prompt_management_server/mock_prompt_management_server.py:165
↓ 4 callersMethodversion
(&self)
litellm-rust/crates/router-core/src/registry.rs:528
↓ 4 callersFunctionvertex_deployment
( scenario: Scenario, wire_url: str, token_url: str, *, api_base: str | None = None, **extra: JsonValue )
tests/integration/providers/_gemini_tts_voice_support.py:167
↓ 4 callersFunctionvertex_model_garden_model_id_in_json_body
Vertex catalog / publisher models are addressed as publisher/model (e.g. xai/grok-4.1-fast-reasoning) on the shared OpenAPI URL, with the id
litellm/llms/vertex_ai/common_utils.py:443
↓ 4 callersFunctionvertex_named_credential_router
()
tests/unit/proxy/batches_endpoints/test_endpoints.py:2945
↓ 4 callersFunctionvf
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:320
↓ 4 callersFunctionvideo_generation
( prompt: str, model: str | None = None, input_reference: FileTypes | None = None, seconds: st
litellm/videos/main.py:134
↓ 4 callersMethodview
The view a route host reads its arguments from.
litellm-rust/crates/python-bridge/src/routes/mod.rs:45
↓ 4 callersFunctionvisibleTestId
(page: PlaywrightPage, id: string)
tests/e2e/ui/tests/logs/logsPagination.spec.ts:32
↓ 4 callersFunctionvisibleTestId
(page: PlaywrightPage, id: string)
tests/e2e/ui/tests/tables/tableScrolling.spec.ts:40
↓ 4 callersFunctionvllm_stream_events
(identity: str)
tests/integration/providers/_sagemaker_chat_container.py:113
↓ 4 callersFunctionvoice_in
(body: Mapping[str, JsonValue])
tests/integration/providers/_gemini_tts_voice_support.py:242
↓ 4 callersFunctionw
(e)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 4 callersFunctionw
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/45b8usrooa1la.js:1
↓ 4 callersFunctionwI
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:333
↓ 4 callersMethodwait_for_failure_logging
Let this stream's failure log read its own deployment before a fallback reuses the logging object.
litellm/litellm_core_utils/streaming_handler.py:2748
↓ 4 callersMethodwait_for_spend_flush
Wait until the spend-tracking flush scheduled when the stream ended or was closed has finished, and say whether it logged the stream, which it
litellm/passthrough/main.py:171
↓ 4 callersMethodwait_for_turn
( self, request: FlowItem, timeout: float, get_healthy_deployments: Callable[[
litellm/scheduler.py:123
↓ 4 callersMethodwait_until_drained
(self)
litellm/proxy/db/prisma_client.py:107
↓ 4 callersFunctionwaiting_entries
(cache: OwnedRedis, group: str, priority: int)
tests/integration/routing/test_priority_scheduler_queue_cleanup.py:383
↓ 4 callersMethodwalk
(self, node: object, key_is_sensitive: bool, depth: int)
litellm/litellm_core_utils/sensitive_data_masker.py:208
↓ 4 callersFunctionwarn
(s,...o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callersMethodwarn_budget_without_db
(max_budget: float | None, prisma_client: PrismaClient | None)
litellm/proxy/proxy_server.py:11167
↓ 4 callersFunctionwarn_on_unenforced_endpoint_flag
(model_name: str, model_info: Mapping[str, object])
litellm/router_utils/endpoint_eligibility.py:87
↓ 4 callersFunctionwell_known_root_suffix
The ``SERVER_ROOT_PATH`` segment inserted into a ``.well-known`` path (RFC 8414 / 9728 path insertion), empty for a root-mounted proxy or an expli
litellm/proxy/mcp_server/oauth_utils.py:266
↓ 4 callersMethodwhere
()
tests/unit/proxy/middleware/test_per_request_root_path_middleware.py:235
↓ 4 callersFunctionwildcardExample
(modelGroup: string)
ui/litellm-dashboard/src/components/publicModelHub/hubFormat.ts:124
↓ 4 callersMethodwildcard_for
The most specific wildcard pattern matching `name`, with its deployments.
litellm-rust/crates/router-core/src/registry.rs:1011
↓ 4 callersFunctionwildcard_health_check_models
(wildcard: str, custom_llm_provider: str)
litellm/litellm_core_utils/health_check_helpers.py:120
↓ 4 callersMethodwill_think
(model: str, custom_llm_provider: str, request_params: Mapping[str, object])
litellm/llms/anthropic/common_utils.py:1174
↓ 4 callersFunctionwindow
(params)
tests/integration/_support/mcp.py:828
↓ 4 callersFunctionwindow_key
(counter: RateLimitCounter)
tests/unit/redis/stores/fake_rate_limits.py:48
↓ 4 callersFunctionwire_compat_for
(protocol_version: str)
litellm/proxy/mcp_server/tool_outcome.py:25
↓ 4 callersFunctionwire_parts
(wire: Wire)
tests/integration/providers/test_gemini_chat_video_metadata_wire.py:52
↓ 4 callersMethodwires
(self)
tests/integration/routing/test_prompt_cache_pin_ttl.py:110
↓ 4 callersFunctionwith_adaptive_thinking_as_effort
( params: Mapping[str, object], *, model: str, custom_llm_provider: str, drop_params: bool )
litellm/litellm_core_utils/reasoning_effort_capability.py:142
↓ 4 callersMethodwith_cache
(self, cache: Arc<dyn litellm_cache_response::ResponseCacheService>)
litellm-rust/crates/gateway-inference/src/lib.rs:46
↓ 4 callersMethodwith_cache
(self, cache: litellm_cache_response::ScopedCache)
litellm-rust/crates/inference-chat/src/lib.rs:38
← previousnext →21,801–21,900 of 202,479, ranked by callers