MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunctionlock
(exchange: &Mutex<Exchange>)
litellm-rust/crates/python-bridge/src/router/host.rs:488
↓ 4 callersMethodlock
(&self)
litellm-rust/crates/host/tests/call.rs:119
↓ 4 callersMethodlog_event_on_langfuse
Logs a success or error event on Langfuse
litellm/integrations/langfuse/langfuse.py:490
↓ 4 callersMethodlog_failure_event
(self, kwargs, response_obj, start_time, end_time)
tests/unit/router_utils/test_embedding_batch_size_check.py:405
↓ 4 callersMethodlog_failure_event
(self, kwargs, response_obj, start_time, end_time)
tests/unit/integrations/test_custom_callback_input.py:233
↓ 4 callersFunctionlog_model_access_denial
(exc: BaseException)
litellm/proxy/auth/auth_utils.py:82
↓ 4 callersMethodlog_retry
( self, kwargs: dict[str, object], # mutable-ok: Router._core_log_retry records the retry int
litellm/router_api.py:1718
↓ 4 callersMethodlog_success_event
(self, kwargs, response_obj, start_time, end_time)
tests/unit/integrations/test_custom_callback_input.py:226
↓ 4 callersMethodlog_success_event
( self, kwargs: dict[str, object], response_obj: object, start_time: object, end_time: object )
tests/unit/integrations/SlackAlerting/test_slack_alerting_delivery.py:247
↓ 4 callersMethodlogged
The logging kwargs litellm's stream logging hands the outcome callbacks, for this attempt.
litellm/router_rust/invoke/streaming.py:176
↓ 4 callersMethodlogged
(self, line: str)
tests/integration/spend/test_shutdown_flush.py:363
↓ 4 callersMethodlogger
(&self)
litellm-rust/crates/inference-responses/tests/support/mod.rs:250
↓ 4 callersFunctionloggingOnlyScopeToChoice
(v: string | null | undefined)
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_info_helpers.tsx:144
↓ 4 callersFunctionlogin_refresh_token_expired
Whether the refresh token exchanged at login has passed the lifetime the IdP gave it. One with no recorded lifetime is left for the IdP to judge,
litellm/proxy/mcp_server/outbound_credentials/sso_assertion_store.py:267
↓ 4 callersFunctionlong_request
(request_nonce: str)
tests/integration/messages_endpoint/safeguards/test_safeguard_results_compaction.py:85
↓ 4 callersMethodlookup_groups
`get_fallback_model_group_for_lookup_groups`: the first lookup group with its own chain wins; `"*"` applies only after every group missed.
litellm-rust/crates/router-core/src/fallback.rs:241
↓ 4 callersFunctionls
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersFunctionm
(r)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 4 callersFunctionm
()
litellm/proxy/_experimental/out/_next/static/chunks/2j96ftcthirif.js:161
↓ 4 callersFunctionm
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:36
↓ 4 callersFunctionm
(r,t)
litellm/proxy/_experimental/out/_next/static/chunks/0w6kofhv0tntp.js:32
↓ 4 callersFunctionm
(e,s)
litellm/proxy/_experimental/out/_next/static/chunks/2jxpy6eth1zvy.js:1
↓ 4 callersFunctionmain
(argv: Sequence[str] | None = None)
litellm/proxy/prometheus_metrics_server.py:159
↓ 4 callersFunctionmain
(argv: Sequence[str], serve: Callable[[Sequence[str]], None] = _serve)
gateway/launch.py:78
↓ 4 callersFunctionmakeAnthropicMessagesRequest
( messages: MessageType[], updateTextUI: (role: string, delta: string, model?: string) => void, selected
ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/anthropic_messages.tsx:20
↓ 4 callersMethodmake_aporia_api_request
( self, new_messages: List[dict], response_string: Optional[str] = None )
enterprise/enterprise_hooks/aporia_ai.py:91
↓ 4 callersFunctionmake_call
( client: AsyncHTTPHandler | None, api_base: str, headers: dict, data: str, model: str,
litellm/llms/bedrock/chat/invoke_handler.py:221
↓ 4 callersMethodmake_config
Return a fresh instance of the provider's BaseBatchesConfig.
tests/unit/llms/base_llm/batches/base_batches_config_test.py:60
↓ 4 callersMethodmake_guardrails_ai_api_request
(self, llm_output: str, request_data: dict)
litellm/proxy/guardrails/guardrail_hooks/guardrails_ai/guardrails_ai.py:69
↓ 4 callersFunctionmake_streaming_response
Build a streaming-assembled response dict using 'delta' instead of 'message'.
tests/unit/integrations/newrelic/test_newrelic.py:567
↓ 4 callersMethodmake_sync_call
( self, api_base: str, headers: dict, data: str, logging_obj,
litellm/llms/sagemaker/completion/handler.py:327
↓ 4 callersFunctionmake_tool_data
( name: str, content: str | None, tool_input: Mapping[str, object] | None = None )
litellm/proxy/guardrails/guardrail_hooks/ovalix/ovalix_extraction.py:214
↓ 4 callersFunctionmake_valid_bedrock_tool_name
Normalize tool names to Bedrock pattern [a-zA-Z][a-zA-Z0-9_-]*.
litellm/litellm_core_utils/prompt_templates/factory.py:5768
↓ 4 callersFunctionmanaged_vector_store_table
The Prisma table actions for managed vector stores, behind a typed surface.
enterprise/litellm_enterprise/proxy/vector_stores/endpoints.py:62
↓ 4 callersFunctionmantle_base_segment
Return the base path segment for a Bedrock Mantle model's OpenAI surface. Data-driven from the model's price-map use_openai_responses_path flag
litellm/llms/bedrock_mantle/common_utils.py:158
↓ 4 callersFunctionmap
(value: Value)
litellm-rust/crates/llms/src/azure_ai/ocr/document_intelligence/transformation.rs:877
↓ 4 callersFunctionmapInternalToDisplayNames
(internalNames: string[])
ui/litellm-dashboard/src/components/callback_info_helpers.tsx:279
↓ 4 callersFunctionmap_api_error
(error: ClientError, context: ErrorContext)
litellm-rust/crates/secrets-hashicorp/src/secret_manager.rs:176
↓ 4 callersFunctionmap_failure
(error: Exception, request: Mapping[str, object], request_provider: str)
litellm/rust_bridge/host/routes/ocr.py:31
↓ 4 callersMethodmap_ocr_params
( &self, non_default_params: &CallArguments, model: &str, )
litellm-rust/crates/llms/src/azure_ai/ocr/document_intelligence/transformation.rs:215
↓ 4 callersMethodmap_ocr_params
( &self, non_default_params: &CallArguments, model: &str, )
litellm-rust/crates/llms/src/reducto/ocr/transformation.rs:104
↓ 4 callersMethodmap_ocr_params
( &self, non_default_params: &CallArguments, _model: &str, )
litellm-rust/crates/llms/src/cohere/ocr/transformation.rs:120
↓ 4 callersFunctionmap_openai_image_params_to_gemini
( params: Mapping[str, object], model: str, supported_params: Sequence[str], optional_params:
litellm/llms/gemini/common_utils.py:167
↓ 4 callersMethodmap_openai_params
( self, non_default_params: dict, optional_params: dict, model: str, d
litellm/llms/hosted_vllm/chat/transformation.py:83
↓ 4 callersMethodmap_openai_params
( self, non_default_params: dict, optional_params: dict, model: str, d
litellm/llms/mistral/chat/transformation.py:270
↓ 4 callersMethodmap_openai_params
( self, non_default_params: dict[str, object], optional_params: dict, model: s
litellm/llms/openrouter/chat/transformation.py:57
↓ 4 callersFunctionmap_raw_file_ids_to_unified
( raw_file_ids: frozenset[str], prisma_client: "PrismaClient | None" )
litellm/proxy/openai_files_endpoints/common_utils.py:1435
↓ 4 callersFunctionmap_vertex_image_size
(size: object, model: str, *, imagen: bool = False)
litellm/llms/vertex_ai/common_utils.py:50
↓ 4 callersFunctionmapped_params
(value: Value)
litellm-rust/crates/llms/src/mistral/ocr/transformation.rs:352
↓ 4 callersFunctionmark_advisor_orchestration_failure
Tag an exception as originating from advisor orchestration rather than the health of the router-selected deployment. Advisor orchestration fa
litellm/router_utils/cooldown_handlers.py:61
↓ 4 callersFunctionmark_dead_workers
Drop the live-gauge files of workers that no longer exist and return their pids. Uvicorn's multi-worker supervisor has no exit hook, so a replace
litellm/proxy/prometheus_cleanup.py:68
↓ 4 callersFunctionmark_deployment_selection_failure
(exception: BaseException)
litellm/router_utils/cooldown_handlers.py:80
↓ 4 callersFunctionmarkdown_pages
(analyze_result: Value)
litellm-rust/crates/llms/src/azure_ai/ocr/document_intelligence/transformation.rs:1133
↓ 4 callersFunctionmarketplace_entries
(gateway: Gateway, name: str, *, key: str | None = None)
tests/integration/management/test_claude_code_plugin_installation_preference.py:84
↓ 4 callersFunctionmask_sensitive_info
(error_message)
litellm/llms/custom_httpx/http_handler.py:509
↓ 4 callersFunctionmasked_originating_request
(request_kwargs: Mapping[str, object] | None)
litellm/litellm_core_utils/classifier_logging.py:43
↓ 4 callersFunctionmaster_key_from_config
The master key persisted in a generated config, or None when absent or blank. Single definition of "this config already has a usable key", shared
litellm/proxy/client/cli/commands/autoroute/config.py:217
↓ 4 callersMethodmatchesNode
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callersFunctionmatchesSearchTerm
(term: string, fields: ReadonlyArray<SearchField>)
ui/litellm-dashboard/src/utils/searchUtils.ts:5
↓ 4 callersMethodmatching
(self, marker: str)
tests/integration/observability/test_langfuse_otel_trace_fields.py:106
↓ 4 callersMethodmatching_denied_passthrough_route
First ``denied_passthrough_routes`` entry across ``metadata_sources`` that matches ``route``. Unlike the allowlist (key list, else te
litellm/proxy/auth/route_checks.py:818
↓ 4 callersFunctionmcpAllowedToolsFor
( server: MCPServer, toolPermissions: Readonly<Record<string, readonly string[]>>, allServers: readonly
ui/litellm-dashboard/src/components/mcp_server_management/effectiveMcpServers.ts:115
↓ 4 callersFunctionmcp_register
( request: Request, server_id: str, user_api_key_dict: UserAPIKeyAuth = Depends(user_a
litellm/proxy/management_endpoints/mcp_management_endpoints.py:2562
↓ 4 callersFunctionmember_budget_patch
Map the per-member limit fields a request actually set to their budget-table columns (merge-patch: a sent value updates, an explicit null clears,
litellm/proxy/management_endpoints/common_utils.py:602
↓ 4 callersFunctionmembers
(users: Sequence[str])
tests/integration/_support/scim.py:65
↓ 4 callersMethodmerge
(encodings: Vec<PyRef<'_, Self>>, growing_offsets: bool)
litellm-rust/crates/python-bridge/src/tokenizer.rs:636
↓ 4 callersFunctionmerge_guardrailed_scoped_messages
Substitute guardrail-returned messages back into the full conversation. Guardrails only ever see the scoped subset of messages, so a replacement
litellm/llms/base_llm/guardrail_translation/utils.py:383
↓ 4 callersFunctionmerge_mcp_headers
Merge outbound HTTP headers for MCP calls. This is used when calling out to external MCP servers (or OpenAPI-based MCP tools). Merge rules:
litellm/proxy/mcp_server/utils.py:794
↓ 4 callersFunctionmerge_messages_header_sources
Python's `_merge_messages_header_sources`: later sources win per header name, except `anthropic-beta` (any casing), whose values from every source are
litellm-rust/crates/inference-messages/src/common_utils.rs:134
↓ 4 callersMethodmerge_provider_specific_headers
( extra_headers: Mapping[str, object] | None, provider_specific_header: object, custom
litellm/responses/utils.py:256
↓ 4 callersMethodmerge_user_api_key_metadata_into_request
Add the prefixed ``user_api_key_*`` metadata to the request's resolved metadata bucket without overwriting existing keys. Wr
litellm/llms/base_llm/guardrail_translation/base_translation.py:133
↓ 4 callersFunctionmessage_start
(message_id: str, model: str)
tests/integration/_support/anthropic_sse.py:44
↓ 4 callersFunctionmessages_request
(model: str, marker: str, **fields: JsonValue)
tests/integration/routing/_reasoning_effort_levels_support.py:269
↓ 4 callersMethodmetadata
(self)
litellm/proxy/auth/auth_utils.py:1625
↓ 4 callersFunctionmetadata_header_values
(headers)
tests/unit/llms/bedrock/test_request_metadata.py:391
↓ 4 callersFunctionmetadata_variable_name_for_request
( route: str, body: Mapping[str, object] )
litellm/proxy/litellm_pre_call_utils.py:924
↓ 4 callersFunctionmigrate_encryption_endpoint
Re-encrypt all at-rest credentials into the AES-256-GCM (``v2:gcm:``) format. Admin only. Requires ``general_settings.encryption_algorithm:
litellm/proxy/management_endpoints/key_management_endpoints.py:6113
↓ 4 callersMethodmigrate_legacy_grant_ids
Rewrite object_permission.agents rows holding a legacy full-entry hash to the stable name-derived id. Only the running proxy
litellm/proxy/agent_endpoints/agent_registry.py:537
↓ 4 callersMethodmigration_dry_run_summary
`--check_migrations_against_existing_data` on its own: the pending migrations applied inside a transaction that is rolled back, as (whether th
litellm/proxy/db/prisma_client.py:1148
↓ 4 callersFunctionmock_completion_streaming_obj
( model_response: ModelResponseStream, mock_response: str | MockException | ModelResponseStream, m
litellm/utils.py:8704
↓ 4 callersFunctionmock_stream
()
tests/unit/proxy/guardrails/guardrail_hooks/test_model_armor.py:502
↓ 4 callersFunctionmock_stream
()
tests/unit/llms/anthropic/messages/adapters/test_streaming_iterator_compaction.py:45
↓ 4 callersFunctionmock_streaming_response
()
tests/unit/proxy/guardrails/guardrail_hooks/test_bedrock_guardrails.py:7146
↓ 4 callersFunctionmodeLabel
(mode: string | null | undefined)
ui/litellm-dashboard/src/components/publicModelHub/hubFormat.ts:30
↓ 4 callersFunctionmodelCreationScope
( actor: ModelActor, { teams, disabledForInternalUsers }: ModelCreationLimits, )
ui/litellm-dashboard/src/utils/modelPermissions.ts:52
↓ 4 callersFunctionmodelGroupHref
(modelGroup: string)
ui/litellm-dashboard/src/utils/entityLinks.ts:28
↓ 4 callersFunctionmodelMaxBudgetToEntries
(budget: ModelMaxBudget | null | undefined)
ui/litellm-dashboard/src/components/key_team_helpers/ModelMaxBudgetEditor.tsx:74
↓ 4 callersFunctionmodelOrAccessGroupHref
( name: string, accessGroupNames: ReadonlySet<string> | undefined, )
ui/litellm-dashboard/src/utils/entityLinks.ts:37
↓ 4 callersMethodmodelTopKeys
( req: DailyActivityRequest, model: string, byModelGroup: boolean, limit?: number, )
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/EntityUsage/entityFetchFns.ts:24
↓ 4 callersFunctionmodelUsageExample
( mode: string | null | undefined, baseUrl: string, model: string, keyHeaderName: string, )
ui/litellm-dashboard/src/components/AIHub/modelUsageExample.ts:58
↓ 4 callersFunctionmodel_access_groups_of
Access groups serving `model`, or the team's own model of that name, leaving out any named after a model the router serves. An entry with tha
litellm/proxy/hooks/model_max_budget_limiter.py:173
↓ 4 callersFunctionmodel_creation_disabled_for_internal_users
(settings: Mapping[str, object])
litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py:1864
↓ 4 callersMethodmodel_dump
(self)
litellm/proxy/hooks/key_management_event_hooks.py:39
↓ 4 callersFunctionmodel_dump_provider_response
(response: _ModelDumpable)
litellm/llms/openai/common_utils.py:104
↓ 4 callersFunctionmodel_info_is_active_for_environment
The environment-gating rule (``model_info_is_active_for_environment``): a deployment whose model_info names ``supported_environments`` loads only
litellm/router_rust/surface/registry.py:226
↓ 4 callersFunctionmodel_label
(model: str, config_dir: Path)
litellm/proxy/client/cli/commands/statusline_script.py:181
↓ 4 callersMethodmodel_top_keys
( self, scope: DailyActivityScope, *, model_group: str, by_model_group: bool, limit: int )
litellm/repositories/daily_activity_repository.py:242
↓ 4 callersMethodmoderation_check
Runs the LLM Guard moderation check on ``text``. Raises an HTTPException when the content violates the safety policy; otherw
enterprise/litellm_enterprise/enterprise_callbacks/llm_guard.py:54
↓ 4 callersMethodmoveTo
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 4 callersMethodmul
(self, quantity: Quantity)
litellm-rust/crates/cost/src/money.rs:47
← previousnext →20,801–20,900 of 202,479, ranked by callers