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
↓ 3 callers
Function
nonce
()
tests/integration/messages_endpoint/test_beta_gated_fields_wire.py:26
↓ 3 callers
Function
nonce_hex
(body: bytes)
tests/integration/messages_endpoint/test_anthropic_messages_caller_tools_wire.py:88
↓ 3 callers
Method
none_healthy
The `model` a no-deployments error names: what `_common_checks_available_deployment` returned, so the alias-resolved name a wildcard serves and not it
litellm-rust/crates/router-core/src/select.rs:90
↓ 3 callers
Function
normalize
(query: str)
tests/integration/_support/routing.py:38
↓ 3 callers
Function
normalizeCompetitorNames
(names: string[] = [])
ui/litellm-dashboard/src/app/(dashboard)/policies/_components/ai_suggestion_modal.tsx:47
↓ 3 callers
Function
normalizeEnvVars
(list: unknown)
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/utils.tsx:100
↓ 3 callers
Function
normalizeJevClassifierConfig
( config: JevClassifierConfig = defaultJevClassifierConfig(), )
ui/litellm-dashboard/src/components/add_model/jev_classifier_config.ts:77
↓ 3 callers
Function
normalizeModelName
(model: string)
ui/litellm-dashboard/src/lib/autorouter_presets.ts:68
↓ 3 callers
Function
normalizeRootPath
(serverRootPath: string | null | undefined)
ui/litellm-dashboard/src/lib/http/resolveApiBase.ts:15
↓ 3 callers
Function
normalizeSubPath
(subPath: string)
ui/litellm-dashboard/src/components/claude_code_plugins/helpers.ts:16
↓ 3 callers
Function
normalizeTeamModelSelection
(models: string[] | undefined)
ui/litellm-dashboard/src/components/team/teamModelAccess.ts:45
↓ 3 callers
Function
normalizeUnderlyingModel
(model: string)
ui/litellm-dashboard/src/lib/autorouter_presets.ts:105
↓ 3 callers
Function
normalize_a2a_jsonrpc_response
Ensure JSON-RPC responses include ``id`` when the caller supplied one. The a2a SDK may omit ``id`` on error payloads even when the upstream
litellm/types/agents.py:460
↓ 3 callers
Function
normalize_access_token
(api_key: str)
litellm/llms/meta/realtime/transformation.py:187
↓ 3 callers
Function
normalize_base_url
(value: str)
litellm/proxy/client/cli/commands/config.py:68
↓ 3 callers
Function
normalize_callback_names
(callbacks: Iterable[object] | None)
litellm/proxy/common_utils/callback_utils.py:709
↓ 3 callers
Function
normalize_custom_field_on_tools
Drop the ``custom`` field from each tool, first hoisting a boolean ``custom.defer_loading`` onto the top-level ``defer_loading`` flag that
litellm/llms/bedrock/common_utils.py:744
↓ 3 callers
Function
normalize_host
(host: &str)
litellm-rust/crates/http/src/media.rs:44
↓ 3 callers
Function
normalize_moyai_url
(value: object)
litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py:265
↓ 3 callers
Method
normalize_openai_compatible_usage_totals
( cls, usage: Usage | dict[str, object] | None, # mutable-ok: mirrors override contract )
litellm/llms/xai/chat/transformation.py:428
↓ 3 callers
Function
normalize_response
( model: &str, response: MistralOcrResponse, )
litellm-rust/crates/llms/src/mistral/ocr/transformation.rs:178
↓ 3 callers
Function
normalize_source_login
(value: str, provider: str = "github")
litellm/types/roi_calculator.py:17
↓ 3 callers
Function
normalize_spec
Accept Anthropic-native dict form or OpenAI list form; return edits list.
litellm/llms/anthropic/messages/context_management/dispatcher.py:43
↓ 3 callers
Function
normalize_speech_to_text_model
(model: str)
litellm/llms/vertex_ai/audio_transcription/realtime_transformation.py:115
↓ 3 callers
Function
normalize_system_role_messages
Python's `_normalize_system_role_messages`: a leading run of `role: "system"` entries is hoisted into the top-level `system`, a later one stays in pla
litellm-rust/crates/llms/src/base_llm/messages/normalization.rs:18
↓ 3 callers
Function
normalize_tool_input_schema_types_for_bedrock_invoke
Bedrock Invoke (Anthropic Messages) validates ``input_schema`` as JSON Schema. Anthropic's API allows ``type: \"custom\"`` for Claude Code cu
litellm/llms/bedrock/common_utils.py:816
↓ 3 callers
Function
normalize_tool_name
Normalized tool name (read, write, edit, bash, ...) or the native name if unmapped.
litellm/llms/base_llm/harness/utils.py:37
↓ 3 callers
Function
normalize_upstream_header_name
The trimmed header name if it is a usable RFC 7230 ``token``, else None. One owner for the grammar; each caller picks its own failure shape (a co
litellm/types/mcp.py:331
↓ 3 callers
Function
note
(overrides: Partial<Note>)
ui/litellm-dashboard/src/components/shared/search/__fixtures__/notes.ts:44
↓ 3 callers
Method
note
(&self, keys: impl IntoIterator<Item = String>)
litellm-rust/crates/redis-store/src/request.rs:49
↓ 3 callers
Function
notification_result
( py: Python<'_>, terminal: bool, result: PyResult<ChainStep<()>>, )
litellm-rust/crates/host-python/src/hooks/chain/dispatch.rs:221
↓ 3 callers
Method
notify
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 3 callers
Function
np
(e,t,n,s,i)
litellm/proxy/_experimental/out/_next/static/chunks/0ayyip3c-drm1.js:1
↓ 3 callers
Function
nq
()
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 3 callers
Function
nu
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 3 callers
Function
numberControl
(control: MountedFieldControlProps, precision?: number)
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mcpFieldRules.ts:60
↓ 3 callers
Function
numberIsNaN
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
nv
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0ayyip3c-drm1.js:1
↓ 3 callers
Function
nvidia_nim_model_group_in_path
(path: str, deployments: Iterable[DeploymentTypedDict] | None)
litellm/llms/nvidia_nim/passthrough/transformation.py:47
↓ 3 callers
Function
nx
()
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 3 callers
Function
o
(t,n)
litellm/proxy/_experimental/out/_next/static/chunks/13d402rvlr6kh.js:1
↓ 3 callers
Function
o
()
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 3 callers
Function
o
litellm/proxy/_experimental/out/_next/static/chunks/0jvkab8jtdz86.js:1
↓ 3 callers
Function
o
litellm/proxy/_experimental/out/_next/static/chunks/3i7pipwtkkn0_.js:1
↓ 3 callers
Function
o0
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callers
Function
o1
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callers
Function
o2
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callers
Function
o4
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callers
Function
oB
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callers
Function
oE
({message:e,code:t})
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callers
Function
oG
(e,t,n,r,l)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callers
Function
oH
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callers
Function
oR
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:5
↓ 3 callers
Function
oW
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callers
Function
oauth_protected_resource_root
(request: Request)
litellm/proxy/mcp_server/discoverable_endpoints.py:3153
↓ 3 callers
Function
ob
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
object
(shape: Shape)
ui/litellm-dashboard/src/components/liteadmin/operations.ts:74
↓ 3 callers
Function
object
(document: Document, value: Value)
litellm-rust/crates/python-bridge/src/router/config.rs:119
↓ 3 callers
Function
object
(value: Value)
litellm-rust/crates/inference-chat/tests/request.rs:40
↓ 3 callers
Function
object
(value: Value)
litellm-rust/crates/inference-chat/tests/chat_completions.rs:23
↓ 3 callers
Method
observe
(cls, wrapper: PrismaWrapper)
litellm/proxy/utils.py:5612
↓ 3 callers
Method
observe
(self, data: bytes)
tests/e2e/provider_edge.py:839
↓ 3 callers
Method
observe
(target: Element)
ui/litellm-dashboard/tests/setupTests.ts:218
↓ 3 callers
Method
observe_chunk
(self, chunk: object)
litellm/proxy/common_utils/responses_stream_errors.py:351
↓ 3 callers
Function
ocr_page
()
litellm-rust/crates/inference-ocr/tests/ocr/azure_ai.rs:72
↓ 3 callers
Function
ocr_response
( model: &str, page_markdown: Vec<(i64, String)>, document_metadata: Option<DocumentMetadata>, )
litellm-rust/crates/llms/src/aws_textract/ocr/common_utils.rs:356
↓ 3 callers
Function
ocr_route_with
(settings: OcrSettings)
litellm-rust/crates/inference-ocr/tests/ocr/main.rs:47
↓ 3 callers
Function
oe
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
of
()
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 3 callers
Method
of_unavailable
(detail: str)
litellm/proxy/mcp_server/outbound_credentials/sso_assertion_refresher.py:217
↓ 3 callers
Method
of_url_credentials_not_allowed
()
litellm/proxy/mcp_server/outbound_credentials/types.py:160
↓ 3 callers
Function
offenders
(rows: Iterable[StallRow])
tests/e2e/perf/setup/event_loop.py:186
↓ 3 callers
Function
offset_seconds
A stable point in ``[0, window_seconds)`` for this job on this process
litellm/proxy/common_utils/scheduled_job_stagger.py:175
↓ 3 callers
Function
oh
(e,t,n,r)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callers
Function
ok
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:55
↓ 3 callers
Function
ollama_embeddings
( api_base: str, model: str, prompts: list[str], optional_params: Mapping[str, object], mo
litellm/llms/ollama/completion/handler.py:143
↓ 3 callers
Method
on_each_worker
One call served by each worker of ``pod``, the others suspended while it runs.
tests/integration/observability/test_otel_team_sampling_across_pods.py:197
↓ 3 callers
Method
on_end
(self, span: ReadableSpan)
litellm/integrations/otel/plumbing/providers.py:1246
↓ 3 callers
Method
on_event
(&mut self, py: Python<'_>, event: PythonCallEvent<'_>)
litellm-rust/crates/callbacks-legacy-python/src/mapping.rs:171
↓ 3 callers
Function
only_received
(wire: Wire)
tests/integration/providers/_mantle_gpt_prompt_cache_support.py:381
↓ 3 callers
Function
only_recorded_response
(root: Path)
tests/e2e_harness/test_provider_edge.py:989
↓ 3 callers
Method
open
(&mut self)
litellm-rust/crates/python-compat/src/literal.rs:244
↓ 3 callers
Function
openDatabase
()
ui/litellm-dashboard/src/components/chat/chatImageStorage.ts:8
↓ 3 callers
Function
open_passthrough_authorization_code
Recover the sealed ephemeral client and upstream code, or ``None`` when ``code`` is not a gateway passthrough code or does not decrypt / validate,
litellm/proxy/mcp_server/discoverable_endpoints.py:433
↓ 3 callers
Method
open_socket
(core: RouterCore, host: EndpointHost)
tests/unit/test_router/core/test_gaps_l8400_precall.py:130
↓ 3 callers
Method
open_stream
(self, path: str, *, headers: BaseModel, json: BaseModel)
tests/e2e/transport.py:42
↓ 3 callers
Function
openai_batch_params
The OpenAI batch deployment, wired through the record/replay edge when a fixture mode is active and straight at OpenAI otherwise (LIT-5974). Azure
tests/e2e/batches/capabilities.py:30
↓ 3 callers
Function
openai_client
(gateway: Gateway)
tests/integration/providers/_gemini_tts_voice_support.py:181
↓ 3 callers
Function
openai_client
(gateway: Gateway, key: str)
tests/integration/observability/test_stream_error_alert_api_base.py:249
↓ 3 callers
Function
openai_compatible_provider_info
`OpenAILikeChatConfig._get_openai_compatible_provider_info`: the deployment's `api_base` wins over `OPENAI_LIKE_API_BASE`, and the deployment key over
litellm-rust/crates/llms/src/openai_like/common_utils.rs:10
↓ 3 callers
Function
openai_error_type_for_status
(status_code: int)
litellm/proxy/common_utils/openai_error_payload.py:109
↓ 3 callers
Function
openai_shaped_peer
()
tests/integration/providers/_mantle_gpt_prompt_cache_support.py:326
↓ 3 callers
Function
openai_shaped_proxy_exception
(exc: Exception, message: str, status_code: int)
litellm/proxy/common_utils/openai_error_payload.py:220
↓ 3 callers
Function
openai_tokenizer_encoding
The encoding `token_counter` uses for a model on the `openai_tokenizer` path.
litellm/litellm_core_utils/token_counter.py:1262
↓ 3 callers
Function
openai_uploaded_lines
(request: Request)
tests/integration/providers/_vertex_batch_rows.py:166
↓ 3 callers
Function
openrouter_proxy_route
( endpoint: str, request: Request, fastapi_response: Response, user_api_key_dict: Annotated[Us
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:907
↓ 3 callers
Function
opens_another_session
()
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:8509
↓ 3 callers
Function
operation
(target: Gateway, user: str, index: int)
tests/integration/mcp/test_mcp_user_env_vars.py:288
↓ 3 callers
Method
operation
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
optionByLabel
(label: string)
ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.integration.test.tsx:64
← previous
next →
28,201–28,300 of 202,479, ranked by callers