MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunctionbody_of
(request: Request)
tests/integration/providers/_anthropic_safeguards_beta_support.py:97
↓ 3 callersFunctionbooted_rig
( directory: Path, fallbacks: Sequence[Mapping[str, JsonValue]], router_settings: Mapping[str, Jso
tests/integration/streaming/test_mid_stream_fallback_continuation.py:298
↓ 3 callersFunctionbound_and_kwargs
( py: Python<'py>, kwargs: &std::ffi::CStr, )
litellm-rust/crates/python-bridge/src/routes/ocr/project.rs:610
↓ 3 callersFunctionbounded_session_id
The session id as stored, bounded so a caller-chosen identifier cannot exceed Postgres's B-tree index entry limit through the composite primary ke
litellm/proxy/db/autorouter_session_rollup.py:247
↓ 3 callersMethodbreaker
(&self, transition: &Transition<State>)
litellm-rust/crates/python-bridge/src/redis/events.rs:195
↓ 3 callersFunctionbridge_model_name
The litellm model string a bridge agent completes with: ``<custom_llm_provider>/<model>``. A provider bridged on chat names a real upstream endpo
litellm/a2a_protocol/litellm_completion_bridge/handler.py:49
↓ 3 callersFunctionbridged
(error: Exception)
tests/unit/test_router/core/test_parity_regress5_streams.py:83
↓ 3 callersFunctionbtree_max_entry_bytes
`BTMaxItemSize` from nbtree.h for btree version 4: a third of the page left after the page header, three line pointers and the btree opaque area,
litellm-proxy-extras/litellm_proxy_extras/migration_data_checks.py:194
↓ 3 callersFunctionbucketSeries
(series: Series, granularity: Granularity)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/overview/overviewData.ts:163
↓ 3 callersMethodbudget_info
(self, budget_id: str)
tests/e2e/quota_management/budgets/budget_client.py:641
↓ 3 callersFunctionbudget_reservation_from_metadata
(metadata: Mapping[str, object])
litellm/litellm_core_utils/core_helpers.py:609
↓ 3 callersMethodbuild
(client: RedisClient, mode: Mode)
litellm-rust/crates/redis-client/src/batch.rs:65
↓ 3 callersFunctionbuildAccessGroupBudgetBody
(values: AccessGroupBudgetFormValues)
ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/accessGroupBudgetPayload.ts:22
↓ 3 callersFunctionbuildAttachmentData
( formValues: AttachmentFormInput, scopeType: "global" | "specific", )
ui/litellm-dashboard/src/app/(dashboard)/policies/_components/build_attachment_data.ts:13
↓ 3 callersFunctionbuildAutoRouterCompressionParams
( state: AutoRouterCompressionState, )
ui/litellm-dashboard/src/components/add_model/buildAutoRouterCompression.ts:41
↓ 3 callersFunctionbuildAutoRouterRoutingTestRequest
({ prompt, config, defaultModel, routerName, teamId, }: BuildAutoRouterRoutingTestRequestParams)
ui/litellm-dashboard/src/components/add_model/build_auto_router_routing_test_request.ts:56
↓ 3 callersFunctionbuildCachePayload
( redisType: RedisType, values: CacheFormValues, { forTesting }: { forTesting: boolean }, )
ui/litellm-dashboard/src/app/(dashboard)/caching/_components/cache_settings/cacheSettingsUtils.ts:89
↓ 3 callersFunctionbuildChatCompletionParams
(input: ChatRequestInput)
vscode-extension/src/messages.ts:177
↓ 3 callersFunctionbuildCloudZeroPayload
(values: CloudZeroFormValues)
ui/litellm-dashboard/src/components/CloudZeroCostTracking/cloudZeroPayload.ts:19
↓ 3 callersFunctionbuildCoordinationPayload
( redisType: CoordinationRedisType, values: CoordinationFormValues, )
ui/litellm-dashboard/src/app/(dashboard)/caching/_components/coordination_redis_settings/coordinationRedisUtils.ts:106
↓ 3 callersFunctionbuildDecisionCatalog
(costMap: unknown)
ui/litellm-dashboard/src/lib/decisionModels.ts:55
↓ 3 callersFunctionbuildDynamicAgentData
( values: AgentFormValues, agentTypeInfo: AgentCreateInfo, existingAgent?: { kill_switch?: KillSwitchCon
ui/litellm-dashboard/src/app/(dashboard)/agents/_components/dynamic_agent_form_fields.tsx:176
↓ 3 callersFunctionbuildInitialValues
(agentType: string)
ui/litellm-dashboard/src/app/(dashboard)/agents/_components/add_agent_form.tsx:132
↓ 3 callersFunctionbuildLoginUrlWithReturn
(baseLoginUrl: string, returnUrl?: string)
ui/litellm-dashboard/src/utils/returnUrlUtils.ts:162
↓ 3 callersFunctionbuildMCPServerRequest
Helper function to convert schema data to MCPServerRequest
terraform/provider/litellm/resource_mcp_server_crud.go:19
↓ 3 callersFunctionbuildMcpOAuthAuthorizeUrl
({ serverId, clientId, redirectUri, state, codeChallenge, scope, }: BuildOAuthAuthorizeURLParams)
ui/litellm-dashboard/src/components/networking.tsx:6403
↓ 3 callersFunctionbuildMcpToolBlocks
({ selectedMCPServers, mcpServers, mcpToolsets, mcpServerToolRestrictions, }: BuildMcpToolBlocksArgs)
ui/litellm-dashboard/src/components/llm_calls/mcp_tool_blocks.ts:37
↓ 3 callersMethodbuildRequest
(e,{retryCount:t=0}={})
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:14
↓ 3 callersFunctionbuildSavedJevConnectionTestRequest
( rawConfig: unknown, savedModelId?: string, teamId?: string, )
ui/litellm-dashboard/src/components/add_model/build_auto_router_routing_test_request.ts:8
↓ 3 callersFunctionbuildSearchToolPayload
(values: SearchToolFormValues)
ui/litellm-dashboard/src/app/(dashboard)/search-tools/_components/searchToolPayload.ts:17
↓ 3 callersFunctionbuildTeamData
(d *schema.ResourceData, teamID string)
terraform/provider/litellm/resource_team.go:454
↓ 3 callersMethodbuild_a2a_message_response
Build a standard A2A non-streaming SendMessageResponse (kind=message).
litellm/a2a_protocol/providers/watsonx_orchestrate/transformation.py:136
↓ 3 callersFunctionbuild_agentic_followup_kwargs
Kwargs for an agentic follow-up call: the request's kwargs overlaid by the plan's, never repeating a key already sent as a request param
litellm/litellm_core_utils/agentic_followup_kwargs.py:7
↓ 3 callersFunctionbuild_algorithm
(config: SwitchyardRouterConfig)
litellm/router_strategy/switchyard_router/config.py:131
↓ 3 callersFunctionbuild_azure_entra_token_provider
The process-wide Entra token provider for the Azure Postgres OSS RDBMS scope. Cached because the writer URL, the reader URL, and the refresh loop
litellm/proxy/db/token_auth.py:249
↓ 3 callersFunctionbuild_bedrock_stream_error
Build a BedrockError for a non-200 event-stream error event. botocore hard-codes HTTP 400 on every mid-stream error event, so the modeled Res
litellm/llms/bedrock/common_utils.py:2477
↓ 3 callersFunctionbuild_bridge_refresh_token_response
Seal ``refresh`` for ``identity`` into the long-lived refresh envelope the token endpoint returns alongside the access envelope, so the client can
litellm/proxy/mcp_server/outbound_credentials/bridge_credentials.py:111
↓ 3 callersFunctionbuild_cache_leakage_keys_sql
(scope: DailyActivityScope, *, limit: int)
litellm/repositories/daily_activity_sql.py:432
↓ 3 callersFunctionbuild_config
Normalize public keyword arguments into a SessionConfig.
litellm/harness/runtime.py:178
↓ 3 callersMethodbuild_envelope
( self, request_data: Mapping[str, object], *, path: str, request_payl
litellm/proxy/guardrails/guardrail_hooks/akto/akto.py:487
↓ 3 callersMethodbuild_filename
(self, window: FocusTimeWindow)
litellm/integrations/focus/export_engine.py:161
↓ 3 callersFunctionbuild_host_call
(kind: StepKind, build: &BuildAsk<'_>, provider: Option<&str>)
litellm-rust/crates/python-bridge/src/router/host.rs:1047
↓ 3 callersFunctionbuild_index_on_partitioned_table
Build the index the way Postgres allows on a partitioned parent: a metadata-only parent index ON ONLY the parent, one CONCURRENTLY build per parti
litellm-proxy-extras/litellm_proxy_extras/request_log_indexes.py:387
↓ 3 callersFunctionbuild_instructions
System instructions plus the structured-output instruction, for runtimes that take one prompt file.
litellm/llms/base_llm/harness/utils.py:73
↓ 3 callersFunctionbuild_key_search_sql
(scope: DailyActivityScope, *, search: str, limit: int)
litellm/repositories/daily_activity_sql.py:377
↓ 3 callersFunctionbuild_mantle_messages_url
Build the bedrock-mantle Anthropic /messages URL. Honors an explicit endpoint override (``api_base``, then ``aws_bedrock_runtime_endpoint``,
litellm/llms/bedrock/common_utils.py:1519
↓ 3 callersMethodbuild_mcp_server_table
(self, server: MCPServer)
litellm/proxy/mcp_server/mcp_server_manager.py:7800
↓ 3 callersFunctionbuild_metric_attribute_filter
(value: object)
litellm/integrations/opentelemetry.py:231
↓ 3 callersFunctionbuild_model_top_keys_sql
( scope: DailyActivityScope, *, model_group: str, by_model_group: bool, limit: int )
litellm/repositories/daily_activity_sql.py:412
↓ 3 callersFunctionbuild_ms_teams_payload
(text: str)
litellm/integrations/SlackAlerting/ms_teams.py:62
↓ 3 callersFunctionbuild_muse_realtime_url
(api_base: str | None)
litellm/llms/meta/realtime/transformation.py:199
↓ 3 callersFunctionbuild_name_blocked_words
Build blocked word entries for direct competitor name mentions.
litellm/proxy/management_endpoints/policy_endpoints/endpoints.py:1063
↓ 3 callersFunctionbuild_opik_payload
Build Opik trace and span payloads from LiteLLM completion data. This is the main public API for creating Opik payloads. It: 1. Extracts
litellm/integrations/opik/opik_payload_builder/api.py:16
↓ 3 callersFunctionbuild_page_links
(request: Request, page: int, has_more: bool)
litellm/proxy/list_api/common.py:115
↓ 3 callersFunctionbuild_pool_wait_trace_config
()
litellm/llms/custom_httpx/aiohttp_pool_diagnostics.py:123
↓ 3 callersFunctionbuild_recommendation_blocked_words
Build blocked word entries for competitor recommendations.
litellm/proxy/management_endpoints/policy_endpoints/endpoints.py:1076
↓ 3 callersFunctionbuild_request_data_from_managed_vector_store
( vector_store: LiteLLM_ManagedVectorStore, )
litellm/proxy/vector_store_endpoints/endpoints.py:100
↓ 3 callersFunctionbuild_resource
(config: OpenTelemetryV2Config)
litellm/integrations/otel/plumbing/providers.py:1499
↓ 3 callersFunctionbuild_retrieval_tool
Return an OpenAI-format tool definition that lets the model retrieve the full content of a compressed message.
litellm/compression/retrieval_tool.py:6
↓ 3 callersFunctionbuild_signature_string
(method: str, path: str, headers: dict, signed_headers: list)
litellm/llms/oci/common_utils.py:112
↓ 3 callersFunctionbuild_spend_event_producer
The gateway producer for these settings, or ``None`` when the pipeline stays in-process.
litellm/proxy/spend_tracking/spend_event_producer.py:114
↓ 3 callersFunctionbuild_start_request
( model: str, update: TranscriptionSessionUpdate | None, options: SonioxRealtimeOptions, drop_params: bool
litellm/llms/soniox/realtime/transformation.py:164
↓ 3 callersFunctionbuild_token_exchanger
()
litellm/proxy/mcp_server/outbound_credentials/token_exchange_provider.py:111
↓ 3 callersFunctionbuild_tool_bulk_upsert
The single statement writing one batch of distinct tool_names, plus its positional arguments.
litellm/proxy/db/tool_table_bulk_upsert.py:50
↓ 3 callersFunctionbuild_uploaded_skill_archive
(content: bytes, name: str)
litellm/proxy/anthropic_endpoints/claude_code_endpoints/skill_upload_archive.py:13
↓ 3 callersMethodbuild_writer_url
Return the writer URL to set, or ``None`` to leave it as-is. Raises ``RuntimeError`` (naming the offending vars) when token auth is e
litellm/proxy/db/db_url_settings.py:439
↓ 3 callersMethodbuild_wxo_run_body
Build the WXO POST /v1/orchestrate/runs request body.
litellm/a2a_protocol/providers/watsonx_orchestrate/transformation.py:64
↓ 3 callersMethodbuilds_setup_from_session_update
(self)
litellm/llms/gemini/realtime/transformation.py:1867
↓ 3 callersFunctionbulk_update_processed_users
( users_to_update: list[UpdateUserRequest], user_api_key_dict: UserAPIKeyAuth, litellm_changed_by:
litellm/proxy/management_endpoints/internal_user_endpoints.py:1833
↓ 3 callersFunctionbx
({summary:e})
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 3 callersFunctionbyte_level_counter
(nfkc: bool)
litellm-rust/crates/token-counter-fast/src/byte_level.rs:197
↓ 3 callersFunctionc
(o,i)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctionc
()
litellm/proxy/_experimental/out/_next/static/chunks/40jhif8i4dzqp.js:1
↓ 3 callersFunctionc
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_3cn33of_ju9.js:1
↓ 3 callersFunctionc
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/405d6z-c_qbe0.js:1
↓ 3 callersFunctionc
()
litellm/proxy/_experimental/out/_next/static/chunks/218jq7ygtsrfo.js:1
↓ 3 callersFunctionc
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0o0w-zlajn03j.js:1
↓ 3 callersFunctionc
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/06kch0qp21l9j.js:1
↓ 3 callersFunctionc
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2bsaba02innfw.js:1
↓ 3 callersFunctionc
(t,e)
litellm/proxy/_experimental/out/_next/static/chunks/0cz1d0mv5g_q7.js:1
↓ 3 callersFunctionc$
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctionc6
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 3 callersFunctionc8
()
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:54
↓ 3 callersFunctioncO
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:54
↓ 3 callersFunctioncW
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:54
↓ 3 callersFunctionca
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersMethodcache_health_check_results
Cache health check results in Redis. Args: healthy_endpoints: List of healthy endpoints unhealthy_endpoints:
litellm/proxy/health_check_utils/shared_health_check_manager.py:164
↓ 3 callersMethodcache_hit
(self)
litellm/llms/base_llm/auth/token_exchange.py:533
↓ 3 callersFunctioncache_path
(cache_dir: Path, credentials: Credentials, session_id: str)
litellm/proxy/client/cli/commands/statusline_script.py:260
↓ 3 callersFunctioncache_rebuilds
Returns one build with a fresh cache and one with the history inline, both over a snapshot of the inputs taken before the first transform, which p
litellm/llms/vertex_ai/context_caching/rejected_cache_retry.py:26
↓ 3 callersFunctioncache_with
(config: S3CacheConfig, runtime: Handle)
litellm-rust/crates/cache-s3/tests/support/mod.rs:34
↓ 3 callersMethodcached
(&self, reference: &str)
litellm-rust/crates/secrets/src/oidc.rs:253
↓ 3 callersFunctioncachedFormat
(build: Build<Value, Options>)
ui/litellm-dashboard/src/i18n/formats.ts:19
↓ 3 callersFunctioncalculateExpiryPreviewFromDuration
(duration: string | undefined)
ui/litellm-dashboard/src/utils/keyExpiryUtils.ts:41
↓ 3 callersFunctioncalculate_batch_cost_and_usage
Calculate the cost and usage of a batch, see batch_cost_and_usage.
litellm/batches/batch_utils.py:62
↓ 3 callersFunctioncalculate_prompt_caching_savings
Read discount minus write premium, using the biller's rate and TTL resolution. Missing reads and unpublished (missing/zero) writes claim no savin
litellm/litellm_core_utils/llm_cost_calc/utils.py:2035
↓ 3 callersMethodcalculate_rerank_cost
( self, model: str, custom_llm_provider: str | None = None, billed_units: Rera
litellm/llms/voyage/rerank/transformation.py:172
↓ 3 callersMethodcalculate_stats
Calculate statistics from the results
scripts/benchmark_proxy_vs_provider.py:95
↓ 3 callersFunctioncalculate_tiles_needed
( resized_width: int, resized_height: int, tile_width: int = MAX_TILE_WIDTH, tile_height: int
litellm/litellm_core_utils/token_counter.py:206
↓ 3 callersMethodcalibrate
(self, p_solve: float)
litellm/router_strategy/complexity_router/config.py:629
← previousnext →26,201–26,300 of 202,479, ranked by callers