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
is_structured_output_request
(optional_params: Mapping[str, object])
litellm/completion_extras/litellm_responses_transformation/transformation.py:736
↓ 4 callers
Function
is_system_role_message
(message: object)
litellm/llms/anthropic/messages/native/mid_conversation_system.py:18
↓ 4 callers
Function
is_system_role_message
(message: &Message)
litellm-rust/crates/llms/src/base_llm/messages/mid_conversation_system.rs:27
↓ 4 callers
Function
is_tinyfish_agent_url
(url: str)
litellm/proxy/pass_through_endpoints/llm_provider_handlers/tinyfish_passthrough_logging_handler.py:109
↓ 4 callers
Method
is_transcribe_route
(self, custom_llm_provider: str | None)
litellm/proxy/pass_through_endpoints/success_handler.py:641
↓ 4 callers
Function
is_transient_upstream_shaped
Classify an outcome as a retryable upstream-saturation failure: a 503 or 529, an "overloaded" marker, or Bedrock's "unable to process your request
tests/e2e/claude_code/cli_driver.py:330
↓ 4 callers
Method
is_unbilled_route
(route: str)
litellm/proxy/auth/route_checks.py:456
↓ 4 callers
Function
is_url_destination_allowed_by_host
Return True when a credential-bearing provider URL is admin-allowlisted. This does not fetch, resolve, or rewrite URLs. It only answers whether t
litellm/litellm_core_utils/url_utils.py:242
↓ 4 callers
Function
is_user_proxy_admin
(user_obj: LiteLLM_UserTable | None)
litellm/proxy/auth/auth_checks.py:1634
↓ 4 callers
Function
is_valid_team_configs
(team_id=None, team_config=None, request_data=None)
litellm/proxy/utils.py:9593
↓ 4 callers
Function
is_vertex_anthropic_batch_model
Whether a Vertex batch model (bare, `vertex_ai/`-prefixed or a publisher path) is a Claude model, decided the way Vertex chat routes Claude.
litellm/llms/vertex_ai/batches/transformation.py:28
↓ 4 callers
Function
is_vertex_anthropic_batch_output_response
(response_body: Mapping[str, object])
litellm/llms/vertex_ai/batches/transformation.py:45
↓ 4 callers
Function
is_vertex_speech_to_text_model
(model: str)
litellm/llms/vertex_ai/audio_transcription/realtime_transformation.py:103
↓ 4 callers
Method
is_virtual_key_mapping_configured
(self)
litellm/proxy/_types.py:5192
↓ 4 callers
Method
is_yaml
(self, config_file_path: str)
litellm/proxy/proxy_server.py:6006
↓ 4 callers
Function
isolated_callback_registries
()
tests/test_litellm_rust/support/isolation.py:57
↓ 4 callers
Method
item
(arguments: str, status: str)
tests/unit/llms/openai/responses/test_openai_responses_guardrail_handler.py:2512
↓ 4 callers
Function
items_or_error
(open_stream: Callable[[], Iterable[object]], error_type: type[Exception])
tests/integration/observability/test_stream_error_alert_api_base.py:214
↓ 4 callers
Function
iter_request_fallback_targets
(request_body: Mapping[str, object])
litellm/proxy/auth/auth_utils.py:711
↓ 4 callers
Function
iter_tool_json_text
(value: object)
litellm/proxy/guardrails/_content_utils.py:179
↓ 4 callers
Function
j
()
litellm/proxy/_experimental/out/_next/static/chunks/0jil3rk4nihh_.js:1
↓ 4 callers
Function
j
(e,t,n,r,a=null)
litellm/proxy/_experimental/out/_next/static/chunks/0dvgjd47fte1d.js:1
↓ 4 callers
Function
j
()
litellm/proxy/_experimental/out/_next/static/chunks/0w6kofhv0tntp.js:1
↓ 4 callers
Function
jZ
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:333
↓ 4 callers
Function
join_container_api_base_path
Append ``path_suffix`` to the path of ``api_base``, keeping the query string last. Azure (and some bases) pass ``api_base`` like ``https://ho
litellm/llms/openai/containers/utils.py:8
↓ 4 callers
Function
journeys
(api_key: str)
tests/e2e/perf/setup/ui_journeys.py:372
↓ 4 callers
Method
json
(self)
litellm/proxy/guardrails/guardrail_hooks/presidio.py:98
↓ 4 callers
Method
json
(self)
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:269
↓ 4 callers
Method
json
(self)
litellm/proxy/guardrails/guardrail_hooks/grayswan/grayswan.py:62
↓ 4 callers
Method
json
(self)
litellm/proxy/guardrails/guardrail_hooks/hiddenlayer/hiddenlayer.py:127
↓ 4 callers
Function
json_headers
The shared HTTP handler sends some JSON bodies as raw content, so the type must be set here.
litellm/llms/edenai/common_utils.py:69
↓ 4 callers
Function
json_object
(value: object)
litellm/harness/endpoint.py:209
↓ 4 callers
Function
json_object_or_none
(value: object)
litellm/llms/bedrock/common_utils.py:561
↓ 4 callers
Method
json_schema
(_: &mut SchemaGenerator)
litellm-rust/crates/cost/src/money.rs:165
↓ 4 callers
Method
jwt
(self, subject: str, groups: tuple[str, ...] = ())
tests/integration/authorization/test_rag_query_vector_store_allowlist.py:136
↓ 4 callers
Function
jwt_bearer_available
()
litellm/proxy/mcp_server/id_jag_grant.py:230
↓ 4 callers
Method
jwt_mapping_list
GET /jwt/key/mapping/list under the master key.
tests/e2e/other/other_client.py:118
↓ 4 callers
Function
k
(s,o,i,a)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Function
k
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1gr6rzkj48efi.js:1
↓ 4 callers
Function
k
(e,t,r,n,a,i)
litellm/proxy/_experimental/out/_next/static/chunks/2ked4zmkgbxqy.js:1
↓ 4 callers
Function
k
()
litellm/proxy/_experimental/out/_next/static/chunks/394-894cp74ma.js:1
↓ 4 callers
Function
k
(e)
litellm/proxy/_experimental/out/_next/static/chunks/3tb8tug0et-f3.js:1
↓ 4 callers
Method
key
(self, base_point: str)
scripts/lint_base_counts.py:60
↓ 4 callers
Method
key
(&self)
litellm-rust/crates/model-catalog/src/error.rs:217
↓ 4 callers
Function
keyActivityLabel
( metadata: Pick<KeyMetadata, "key_alias" | "user_email"> | null | undefined, fallback = "-", )
ui/litellm-dashboard/src/components/UsagePage/keyActivityLabel.ts:3
↓ 4 callers
Function
keyCreateCall
( accessToken: string, userID: string, formValues: Record<string, any>, // Assuming formValues is an obj
ui/litellm-dashboard/src/components/networking.tsx:926
↓ 4 callers
Method
keyPage
(req: DailyActivityRequest, offset: number, limit: number)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/EntityUsage/entityFetchFns.ts:22
↓ 4 callers
Function
key_hash
(key: str)
tests/integration/_support/safeguards_rig.py:119
↓ 4 callers
Method
key_list
GET /key/list, the Virtual Keys page's own inventory call. `caller_key` is who is asking: the master key by default, or a virtual key.
tests/e2e/management/management_client.py:282
↓ 4 callers
Function
key_spans
(sinks: SpanSinks, key: str)
tests/integration/messages_endpoint/safeguards/test_safeguard_results_logging_opt_outs.py:82
↓ 4 callers
Function
keycloak_assertion_source
A zero-arg closure that fetches fresh on every call: the shape an ``oidc/keycloak/...`` ref dispatches to once wired into ``TokenExchangeSpec.asse
litellm/llms/base_llm/auth/client_credentials.py:217
↓ 4 callers
Function
kwargs
Kwargs whose every entry is reported under its own kwarg name.
litellm-rust/crates/redis-resolve/src/lib.rs:29
↓ 4 callers
Function
l
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/13d402rvlr6kh.js:1
↓ 4 callers
Function
l
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:1
↓ 4 callers
Function
l
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2bjw0usamfm54.js:1
↓ 4 callers
Function
l
litellm/proxy/_experimental/out/_next/static/chunks/0-i21ejarohtj.js:1
↓ 4 callers
Function
l
litellm/proxy/_experimental/out/_next/static/chunks/3i7pipwtkkn0_.js:1
↓ 4 callers
Function
l
litellm/proxy/_experimental/out/_next/static/chunks/179ck0yed1urp.js:1
↓ 4 callers
Function
lB
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callers
Function
lH
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callers
Function
lW
litellm/proxy/_experimental/out/_next/static/chunks/3yrgf44a9g52e.js:1
↓ 4 callers
Function
la
()
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:8
↓ 4 callers
Function
labelForDate
(series: Series, date: string)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/overview/overviewData.ts:189
↓ 4 callers
Function
langfuse_vars
(secret: Canary, host: str)
tests/integration/security/test_callback_credentials.py:109
↓ 4 callers
Function
last_assistant_with_tool_calls_has_no_thinking_blocks
Returns true if the last assistant message with tool_calls has no thinking_blocks. This is used to detect when thinking param should be drop
litellm/utils.py:9536
↓ 4 callers
Method
last_body
(self, path_marker: str)
tests/e2e/llm_translation/test_bedrock_converse_redacted_thinking_e2e.py:122
↓ 4 callers
Function
latest_by_model_name
The newest row per model name. The queries above return one row per (model_id, model_name), so a model group with several deployments comes b
litellm/proxy/db/health_check_latest.py:112
↓ 4 callers
Function
ld
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 4 callers
Method
legacy_resource
(self, ctx: ServerRequestContext, uri: str, *, subscribe: bool)
litellm/proxy/mcp_server/subscriptions.py:481
↓ 4 callers
Method
len
(&self)
litellm-rust/crates/redis-client/src/pipeline.rs:39
↓ 4 callers
Function
li
(s,o,i,a)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Method
license
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Method
lineTo
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 4 callers
Function
lines
()
tests/unit/llms/databricks/test_databricks_streaming_utils.py:179
↓ 4 callers
Method
list
Get the list of models supported by the server. Args: return_request (bool): If True, returns the prepared request objec
litellm/proxy/client/models.py:42
↓ 4 callers
Function
listPolicyVersions
( accessToken: string, policyName: string, )
ui/litellm-dashboard/src/components/networking.tsx:3937
↓ 4 callers
Method
list_agent_versions
( self, agents_api_config: BaseAgentsAPIConfig, name: str, litellm_params: Gen
litellm/interactions/agents/http_handler.py:374
↓ 4 callers
Method
list_files
(self, key: str)
tests/e2e/proxy_client.py:637
↓ 4 callers
Function
list_gemini_agents
List all custom agents on the Gemini side. Pass per-request Gemini credentials via the JSON-encoded ``litellm_params_template`` query pa
litellm/proxy/google_endpoints/agents_endpoints.py:222
↓ 4 callers
Function
list_orphaned_engine_pids
PIDs of direct children of ``parent_pid`` whose command name marks them as Prisma query engines. In the supervisor these are always adopted or
litellm/proxy/db/query_engine_reaper.py:77
↓ 4 callers
Method
list_resource_templates
(self, *, raise_on_error: bool = False)
litellm/mcp_client/client.py:1482
↓ 4 callers
Function
list_scope
`{"aliases": [{alias, target}], "groups": [{name, members}], "wildcard": [requests]}`.
litellm-rust/crates/python-bridge/src/router/mod.rs:1125
↓ 4 callers
Function
listed_setting
(gateway: Gateway)
tests/integration/routing/test_per_model_rate_limit_fallbacks.py:327
↓ 4 callers
Function
listed_tools_caller_for
The caller a tools/call must look its listed entry up under: the same inputs tools/list keyed by.
litellm/proxy/mcp_server/mcp_server_manager.py:1345
↓ 4 callers
Method
listen
( self, ctx: ServerRequestContext, params: SubscriptionsListenRequestParams, a
litellm/proxy/mcp_server/subscriptions.py:384
↓ 4 callers
Function
litellm_executed_provider_for
( credentials: Mapping[str, object], lacks_files_api: FilesApiProbe = upstream_lacks_files_api )
litellm/proxy/batches_endpoints/litellm_executed_batches.py:252
↓ 4 callers
Function
litellm_params
(model: str, **parameters: JsonValue)
tests/integration/_support/sagemaker_embedding.py:186
↓ 4 callers
Method
litellm_proxy_get_custom_llm_provider_info
Force use litellm proxy for all models Issue: https://github.com/BerriAI/litellm/issues/10559 Expected behavior: -
litellm/llms/litellm_proxy/chat/transformation.py:109
↓ 4 callers
Function
lives_five_minutes
(pin: Pin)
tests/integration/routing/_prompt_cache_pin_support.py:46
↓ 4 callers
Function
lm
({alias:e,value:s})
litellm/proxy/_experimental/out/_next/static/chunks/2k-fkubkt19cc.js:96
↓ 4 callers
Function
load
()
litellm/proxy/client/cli/main.py:98
↓ 4 callers
Function
load
()
ui/litellm-dashboard/src/components/skills/SkillSelector.tsx:58
↓ 4 callers
Method
load
(self, key: str)
litellm/llms/base_llm/auth/shared_token_store.py:109
↓ 4 callers
Method
load
(&self, source: CredentialSource)
litellm-rust/crates/inference-ocr/tests/resources.rs:37
↓ 4 callers
Method
load
(&self, source: CredentialSource)
litellm-rust/crates/auth-gcp/src/identity.rs:162
↓ 4 callers
Method
load_aws_secret_manager
( use_aws_secret_manager: Option<bool>, settings: KeyManagementSettings, environment:
litellm-rust/crates/secrets-aws/src/secret_manager/client.rs:16
↓ 4 callers
Method
load_builtin_template
Load a built-in route template YAML by name.
litellm/proxy/guardrails/guardrail_hooks/semantic_guard/route_loader.py:34
↓ 4 callers
Method
load_local_model_cost_map_with_revision
()
litellm/litellm_core_utils/get_model_cost_map.py:89
↓ 4 callers
Function
load_mcp_tools
Load all available MCP tools Args: session: The MCP session to use format: The format to convert the tools to By default
litellm/mcp_client/tools.py:170
↓ 4 callers
Function
load_private_key_from_file
Loads a private key from a file path.
litellm/llms/oci/common_utils.py:134
← previous
next →
20,701–20,800 of 202,479, ranked by callers