Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BerriAI/litellm
/ functions
Functions
202,479 in github.com/BerriAI/litellm
⨍
Functions
202,479
◇
Types & classes
26,341
↳
Endpoints
5,595
↓ 4 callers
Function
eR
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0dvgjd47fte1d.js:2
↓ 4 callers
Function
eS
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callers
Function
eU
()
litellm/proxy/_experimental/out/_next/static/chunks/37cr8te-omsl0.js:1
↓ 4 callers
Function
ea
()
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 4 callers
Function
eb
(e,s,a,t)
litellm/proxy/_experimental/out/_next/static/chunks/29kc101vual2o.js:1
↓ 4 callers
Function
echoed_cost_map_fields
Fields a ``/model/info`` echo copied from the cost map unchanged. Only ``litellm.get_model_info`` emits ``key``, so a blob carrying it is an echo
litellm/types/utils.py:4410
↓ 4 callers
Function
ef
()
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 4 callers
Function
effectiveAlertStatus
(alert: DeprecationAlert)
ui/litellm-dashboard/src/components/ModelDeprecationAlerts/migrationState.ts:16
↓ 4 callers
Function
effective_embedding_input
Return the input shape used for batch-size checks, or None when neither is an embedding input. Some providers merge ``extra_body`` over the reque
litellm/router_utils/embedding_batch_size_check.py:39
↓ 4 callers
Function
effective_turn_off_message_logging
(request_kwargs: Mapping[str, object] | None)
litellm/litellm_core_utils/internal_call_metadata.py:236
↓ 4 callers
Method
effort_resolves_to_none
Whether this request's reasoning effort ends up as "none", which is the single condition under which the provider accepts a non-default temper
litellm/llms/openai/chat/gpt_reasoning_transformation.py:209
↓ 4 callers
Function
eg
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 4 callers
Function
eh
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Function
ei
litellm/proxy/_experimental/out/_next/static/chunks/3yrgf44a9g52e.js:1
↓ 4 callers
Function
ej
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 4 callers
Function
eligible_deployments
`eligible_deployments`: the deployments that may serve the caller's endpoint. When none may, the refusal names what they do serve.
litellm-rust/crates/router-core/src/eligibility.rs:84
↓ 4 callers
Function
em
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 4 callers
Function
ema_assertion_retention_enabled
Whether any MCP server uses ``oauth2_id_jag``, evaluated per login so the gateway only retains bearer material while an EMA upstream exists to spe
litellm/proxy/mcp_server/outbound_credentials/sso_assertion_store.py:294
↓ 4 callers
Function
embed
(gateway: Gateway, model: str, elements: JsonValue, **extra: JsonValue)
tests/integration/providers/test_vertex_embedding_file_block_wire.py:58
↓ 4 callers
Method
embedding
(self, input: List[str], model: str, **kwargs: Any)
tests/unit/router_strategy/test_auto_router.py:367
↓ 4 callers
Function
embedding_aware_token_count
( messages: Sequence[Mapping[str, str]] | None, text: str | list[str] | None, # mutable-ok: litellm.t
litellm/litellm_core_utils/token_counter.py:726
↓ 4 callers
Function
embedding_response
(model: str = "text-embedding-3-small")
tests/unit/test_router/core/scripted_host.py:98
↓ 4 callers
Function
embeddings_of
(answer: Mapping[str, JsonValue])
tests/integration/caching/test_embedding_file_block_cache.py:79
↓ 4 callers
Method
emit
(self, record)
tests/unit/test_router/test_router.py:9731
↓ 4 callers
Method
emit_streaming_http_error
Surface a mid-stream HTTPException (a guardrail block with the default exception-on-block config, or a failed scan). A2A call types e
litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py:516
↓ 4 callers
Function
emit_vcr_classification_summary
Render the per-classification summary at session end. Output sections (only included when non-empty): * **Verdict counts** — full breakdown
tests/_vcr_conftest_common.py:1838
↓ 4 callers
Function
emptySequence
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Function
empty_stream
()
tests/unit/llms/anthropic/messages/responses_adapters/test_responses_adapters_handler.py:366
↓ 4 callers
Function
enabled
(sink: &impl Sink, metadata: &Metadata<'_>)
litellm-rust/crates/tracing/src/layer.rs:38
↓ 4 callers
Function
encode
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Method
encode_batch
( self, text: Sequence[str], *, num_threads: int = 8, allowed_special:
litellm/litellm_core_utils/tokenizer.py:117
↓ 4 callers
Function
encode_batch_response_ids
Encode all IDs in a batch response with model routing info (in-place).
litellm/proxy/openai_files_endpoints/common_utils.py:279
↓ 4 callers
Method
encode_event_stream_item
(provider: object, item: object)
litellm/llms/pass_through/guardrail_translation/handler.py:391
↓ 4 callers
Function
encode_otlp_response
(content_type: str | None, error: str | None = None)
litellm/tracing/otlp_http.py:17
↓ 4 callers
Function
encode_response
Rewrites the response id, encrypted-content items and container ids the way the Python Responses path does before returning to the caller. An already
litellm-rust/crates/inference-responses/src/ids.rs:79
↓ 4 callers
Function
encode_sse_frame
(frame: SSEFrame)
tests/integration/translation/runner.py:86
↓ 4 callers
Function
encode_url_path_segments
Percent-encode a user-controlled URL path made of multiple segments. Empty segments are rejected, so leading, trailing, or consecutive slashes
litellm/litellm_core_utils/url_utils.py:133
↓ 4 callers
Function
encoded_path
(value: str)
tests/integration/_support/sigv4.py:14
↓ 4 callers
Function
endpoint
(host: &str, db: i64)
litellm-rust/crates/redis-connect/src/hosts.rs:123
↓ 4 callers
Function
endpoint_url_for_error_message
``url`` reduced to scheme, host and path for operator-facing errors. A token endpoint is configuration, not a secret, and naming it is what makes
litellm/llms/base_llm/auth/token_exchange.py:101
↓ 4 callers
Function
enforce_file_download_limit
( cache: "InternalUsageCache", user_api_key_dict: UserAPIKeyAuth, general_settings: Mapping[str, o
litellm/proxy/openai_files_endpoints/file_usage_caps.py:234
↓ 4 callers
Method
enforce_token_limits_for_frame
(self, user_api_key_dict: object, requested_model: str | None)
tests/unit/responses/test_responses_websocket_all_providers.py:1617
↓ 4 callers
Function
ensure_prisma_toolchain
Install whatever the Prisma CLI needs to run, under its own timeout. Never raises. A toolchain that cannot be prepared is reported so the cal
litellm-proxy-extras/litellm_proxy_extras/prisma_toolchain.py:250
↓ 4 callers
Method
enter
Runs `f` inside a fresh copy of the captured context. The copy is what lets two blocking calls run concurrently: a `contextvars.Context` cannot be ent
litellm-rust/crates/host-python/src/gil.rs:27
↓ 4 callers
Method
enter
Claims the runtime for `pid`. Claim first, then look for a reservation: `reserve` does the mirror image, so when the two race at least one of them see
litellm-rust/crates/host-python/src/fork_gate.rs:44
↓ 4 callers
Function
enterprise_custom_auth
( request: Request, api_key: str, user_custom_auth: Callable[[Request, str], Awaitable[object]] |
enterprise/litellm_enterprise/proxy/auth/user_api_key_auth.py:9
↓ 4 callers
Function
entriesToModelMaxBudget
(entries: readonly ModelBudgetEntry[])
ui/litellm-dashboard/src/components/key_team_helpers/ModelMaxBudgetEditor.tsx:61
↓ 4 callers
Function
env
( pairs: impl IntoIterator<Item = (&'static str, String)>, )
litellm-rust/crates/testkit/src/agent/configure.rs:53
↓ 4 callers
Function
env_of
(values: &'static [(&'static str, &'static str)])
litellm-rust/crates/http/src/proxy.rs:74
↓ 4 callers
Function
env_of
(values: &'static [(&'static str, &'static str)])
litellm-rust/crates/core-utils/src/settings.rs:71
↓ 4 callers
Function
eo
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/0dvgjd47fte1d.js:2
↓ 4 callers
Function
eq
({label:e,children:t})
litellm/proxy/_experimental/out/_next/static/chunks/37cr8te-omsl0.js:1
↓ 4 callers
Function
er
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 4 callers
Function
er
()
litellm/proxy/_experimental/out/_next/static/chunks/3yrgf44a9g52e.js:7
↓ 4 callers
Function
error_body
The error object of an OpenAI-shaped or Anthropic-shaped error response.
tests/integration/compatibility/_status_code_audit.py:200
↓ 4 callers
Method
error_tool_result
The error result ``call_tool`` returns when it swallows a failure (no re-execution).
litellm/mcp_client/client.py:1130
↓ 4 callers
Function
es
litellm/proxy/_experimental/out/_next/static/chunks/2jxpy6eth1zvy.js:1
↓ 4 callers
Function
escapeHTML
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Function
estimator_options
(models: tuple[EstimatorModel, ...])
litellm/proxy/roi_calculator/estimator.py:67
↓ 4 callers
Function
et
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 4 callers
Function
eu
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0ayyip3c-drm1.js:1
↓ 4 callers
Function
evaluate
(py: Python<'py>, source: &str)
litellm-rust/crates/python-bridge/src/coercion.rs:265
↓ 4 callers
Method
evaluate
(self, tool_uses: Sequence[PendingToolUse])
litellm/llms/anthropic/messages/safeguards.py:151
↓ 4 callers
Function
event
(event_id: int, function: str, parent_id: int | None = None)
tests/rust-python-harness/shared/tracing/test_steps.py:11
↓ 4 callers
Function
event
(value: Value)
litellm-rust/crates/llms/src/bedrock/messages/invoke_transformations/anthropic_claude_transformation.rs:341
↓ 4 callers
Function
event_type
(event: SseEvent)
tests/integration/_support/anthropic_sse.py:152
↓ 4 callers
Method
events
(self)
tests/integration/_support/anthropic_refusal.py:443
↓ 4 callers
Function
every
(bytes: &[u8], size: usize)
litellm-rust/crates/framer/tests/support/mod.rs:38
↓ 4 callers
Function
every_item_kind
(identity: str)
tests/integration/streaming/faked_responses_case.py:106
↓ 4 callers
Function
ew
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0ayyip3c-drm1.js:1
↓ 4 callers
Function
ew
(e,s,a)
litellm/proxy/_experimental/out/_next/static/chunks/29kc101vual2o.js:1
↓ 4 callers
Function
ew
(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 4 callers
Method
execute
Execute code with skill files in sandbox. Args: code: Python code to execute skill_files: Dict mapping file
litellm/llms/litellm_proxy/skills/sandbox_executor.py:82
↓ 4 callers
Method
execute_raw
(self, query: str, *args: object)
litellm/repositories/prisma_protocols.py:174
↓ 4 callers
Function
execute_trace
(route: RouteSpec, scenario: TraceScenario, surface: Surface)
tests/rust-python-harness/strategies/trace_parity/sdk/execution.py:123
↓ 4 callers
Function
expectUnrestrictedDashboard
(page: Page)
tests/e2e/ui/helpers/userOnboarding.ts:44
↓ 4 callers
Function
expect_api_error
(result: Result[FileObject], status: int, needle: str)
tests/e2e/batches/test_managed_files_enforcement_e2e.py:51
↓ 4 callers
Function
expect_spend_rows
One new row per request on top of the rows the key already had: successes found by the response id the caller got, failures by their call id.
tests/integration/_support/prometheus_series.py:304
↓ 4 callers
Method
expected
( &self, expected: &'static str, )
litellm-rust/crates/python-bridge/src/coercion.rs:132
↓ 4 callers
Function
expected_text
(marker: str)
tests/integration/providers/_idle_upstream_support.py:52
↓ 4 callers
Function
expire
(key: &str, ttl: Duration)
litellm-rust/crates/redis-client/src/commands.rs:277
↓ 4 callers
Method
expired
(self)
litellm/litellm_core_utils/total_deadline.py:120
↓ 4 callers
Function
explicit_request_credentials
(data: Mapping[str, object])
litellm/proxy/openai_files_endpoints/common_utils.py:755
↓ 4 callers
Method
export
(self, spans: Sequence[ReadableSpan])
litellm/integrations/otel/plumbing/otlp_json.py:88
↓ 4 callers
Method
exportRows
(req: DailyActivityRequest, exportType: ExportType, format: ExportFormat)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/EntityUsage/entityFetchFns.ts:30
↓ 4 callers
Function
export_pooled_database_url
(pooled_url: str)
litellm/proxy/db/pgbouncer.py:336
↓ 4 callers
Method
expression
A sum of unary terms, checked as `ast.literal_eval` checks `BinOp`.
litellm-rust/crates/python-compat/src/literal.rs:171
↓ 4 callers
Function
extractFixture
(t *testing.T, files map[string]string)
terraform/provider/tools/endpointaudit/main_test.go:19
↓ 4 callers
Function
extractUserAgent
(tag: string)
ui/litellm-dashboard/src/components/user_agent_activity.tsx:73
↓ 4 callers
Function
extract_caller_assertion
(secret_fields: Mapping[str, object] | None)
litellm/llms/microsoft_365_copilot/common_utils.py:18
↓ 4 callers
Function
extract_classifier_json
Return the first complete JSON object in the reply, whatever prose or fence surrounds it. A reply with no complete object comes back stripped so
litellm/router_strategy/complexity_router/capability_classifier.py:218
↓ 4 callers
Function
extract_key
Extract a human-readable key for the message. Looks for file path patterns in the content. Falls back to message_{index}. Handles duplic
litellm/compression/message_stubbing.py:20
↓ 4 callers
Method
extract_model_from_operation_name
Extract the model name from a Vertex AI operation name. Args: operation_name: Operation name in format:
litellm/llms/vertex_ai/videos/transformation.py:160
↓ 4 callers
Method
extract_model_from_url
(url: str)
litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_passthrough_logging_handler.py:700
↓ 4 callers
Function
extract_reasoning_content
Extract reasoning content and main content from a message. Args: message (dict): The message dictionary that may contain reasoning_c
litellm/litellm_core_utils/prompt_templates/reasoning_utils.py:23
↓ 4 callers
Method
extract_text_from_a2a_params
Extract user message text from A2A MessageSendParams. A2A format: params.message.parts[*] where part.kind == "text"
litellm/a2a_protocol/providers/watsonx_orchestrate/transformation.py:52
↓ 4 callers
Method
extract_text_from_wxo_result
Extract response text from a WXO run result. WXO can return text in several locations; checks in priority order per the API spec.
litellm/a2a_protocol/providers/watsonx_orchestrate/transformation.py:87
↓ 4 callers
Method
extract_usage_chunk
( chunk: "_UsageBearingChunk | ModelResponse | ModelResponseStream | TextCompletionResponse", )
litellm/litellm_core_utils/streaming_chunk_builder_utils.py:935
↓ 4 callers
Function
ez
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:1
↓ 4 callers
Function
f
litellm/proxy/_experimental/out/_next/static/chunks/0csaxmztgrx3b.js:434
← previous
next →
20,101–20,200 of 202,479, ranked by callers