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
m
litellm/proxy/_experimental/out/_next/static/chunks/0csaxmztgrx3b.js:434
↓ 3 callers
Function
m
litellm/proxy/_experimental/out/_next/static/chunks/405d6z-c_qbe0.js:1
↓ 3 callers
Function
m
litellm/proxy/_experimental/out/_next/static/chunks/2u86hc-qj1be3.js:1
↓ 3 callers
Function
m
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0rgp8d4pvt399.js:1
↓ 3 callers
Function
mN
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 3 callers
Function
mS
()
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 3 callers
Method
machine
( self, request: super::MessagesCall, options: impl Into<litellm_inference::CallOption
litellm-rust/crates/inference-messages/src/route.rs:33
↓ 3 callers
Function
main
(snapshot_file: Path = SNAPSHOT_FILE, generate: Callable[[], SnapshotResult] = generate_snapshot)
litellm/proxy/_lazy_openapi_snapshot.py:173
↓ 3 callers
Function
main
(argv: Sequence[str] | None = None, *, repo_root: Path = ROOT)
scripts/generate_provider_endpoints_support.py:230
↓ 3 callers
Function
main
(argv)
tests/windows_tests/check_windows_wheel_install.py:60
↓ 3 callers
Function
makeBedrockCoverage
(overrides: Partial<BedrockGuardrailCoverage> = {})
ui/litellm-dashboard/src/components/logs/detail/sections/GuardrailViewer/__tests__/fixtures.ts:63
↓ 3 callers
Function
makeBedrockUsage
(overrides: Partial<BedrockGuardrailUsage> = {})
ui/litellm-dashboard/src/components/logs/detail/sections/GuardrailViewer/__tests__/fixtures.ts:57
↓ 3 callers
Function
makeEntity
(overrides: Partial<GuardrailEntity> = {})
ui/litellm-dashboard/src/components/logs/detail/sections/GuardrailViewer/__tests__/fixtures.ts:38
↓ 3 callers
Function
makeInteractionsRequest
( input: string, updateUI: (text: string, model?: string) => void, selectedModel: string, accessToken:
ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/interactions_api.tsx:12
↓ 3 callers
Function
makeMap
(s,o,i,a)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
makeOpenAIAudioSpeechRequest
( input: string, voice: OpenAIVoice, updateUI: (audioUrl: string, model: string) => void, selectedMode
ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/audio_speech.tsx:9
↓ 3 callers
Function
makeOpenAIAudioTranscriptionRequest
( audioFile: File, updateUI: (transcription: string, model: string) => void, selectedModel: string, ac
ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/audio_transcriptions.tsx:8
↓ 3 callers
Function
makeOpenAIEmbeddingsRequest
( input: string, updateEmbeddingsUI: (embeddings: string, model?: string) => void, selectedModel: string
ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/embeddings_api.tsx:11
↓ 3 callers
Function
makeOrderedMap
(s,o,i,a)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Method
makeRequest
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:14
↓ 3 callers
Method
makeRequest
(e,t,s)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:29
↓ 3 callers
Function
make_acompletion_response
Build a deterministic chat-completion response. Returns: - An async generator when ``stream=True`` - A tool-call shape when ``too
tests/unit/proxy/proxy_server/conftest.py:244
↓ 3 callers
Function
make_context
( tmp_path: Path, *, model: str | None = "anthropic/claude", gateway: GatewayTarget | None = N
tests/unit/llms/tool_loop/harness/test_transformation.py:23
↓ 3 callers
Function
make_ctx
(tmp_path: Path, **kwargs: Any)
tests/unit/llms/deepagents/harness/test_transformation.py:17
↓ 3 callers
Function
make_handler
()
tests/unit/harness/handlers/test_deepagents_handler.py:77
↓ 3 callers
Function
make_key
( token: str = "hashed-test-key", key_alias: Optional[str] = None, team_id: Optional[str] = None,
tests/unit/proxy/proxy_server/conftest.py:502
↓ 3 callers
Function
make_request
(proxy_base_url, master_key, data)
cookbook/misc/add_new_models.py:42
↓ 3 callers
Function
make_request
Make a single async request and return stats
scripts/benchmark_proxy_vs_provider.py:144
↓ 3 callers
Function
make_request
(request_id: int)
tests/unit/proxy/hooks/test_tpm_concurrent.py:126
↓ 3 callers
Function
make_sync_call
( client: HTTPHandler | None, api_base: str, headers: dict, data: str, model: str, mes
litellm/llms/bedrock/chat/converse_handler.py:29
↓ 3 callers
Function
make_sync_call
( client: HTTPHandler | None, api_base: str, headers: dict, data: str, signed_json_body: b
litellm/llms/bedrock/chat/invoke_handler.py:320
↓ 3 callers
Function
make_sync_call
( client: HTTPHandler | None, # module-level client gemini_client: HTTPHandler | None, # if passed b
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:3516
↓ 3 callers
Function
managed_agent_servers
(auth: UserAPIKeyAuth)
litellm/proxy/mcp_server/auth/managed_agent_access.py:17
↓ 3 callers
Function
managed_response
(value: str)
scripts/seed_tracing_fixtures.py:103
↓ 3 callers
Function
manifestLabels
(source: Manifest)
scripts/issue-labels.ts:28
↓ 3 callers
Function
mantle_supports_responses
Whether a Bedrock Mantle model can serve the native Responses API. Purely data-driven from the model's price-map capability signal -- either
litellm/llms/bedrock_mantle/common_utils.py:140
↓ 3 callers
Method
map
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
mapDisplayToInternalNames
(displayNames: string[])
ui/litellm-dashboard/src/components/callback_info_helpers.tsx:274
↓ 3 callers
Function
mapResourceDataToKey
(d *schema.ResourceData, key *Key)
terraform/provider/litellm/resource_key.go:544
↓ 3 callers
Function
map_aiohttp_exceptions
()
litellm/llms/custom_httpx/aiohttp_transport.py:89
↓ 3 callers
Function
map_blocks
(value: Value, map: fn(Value) -> Value)
litellm-rust/crates/llms/src/openai_like/messages/transformation.rs:56
↓ 3 callers
Function
map_error
(error: Error)
litellm-rust/crates/python-bridge/src/routes/clickhouse_spend.rs:10
↓ 3 callers
Function
map_gpt_image_quality
( quality: object, model: str, model_cost: Mapping[str, Mapping[str, object]] | None = None )
litellm/llms/fal_ai/image_generation/gpt_image_2_transformation.py:57
↓ 3 callers
Method
map_jwt_role_to_litellm_role
Map roles from JWT to LiteLLM user roles
litellm/proxy/auth/handle_jwt.py:627
↓ 3 callers
Method
map_ocr_params
( &self, non_default_params: &CallArguments, model: &str, )
litellm-rust/crates/llms/src/mistral/ocr/transformation.rs:82
↓ 3 callers
Method
map_openai_params
(self, optional_params: dict, non_default_params: dict, *, model: str)
litellm/llms/gemini/realtime/transformation.py:416
↓ 3 callers
Method
map_openai_params
( self, model: str, optional_params: Mapping[str, object], voice: object = Non
litellm/llms/mistral/audio_speech/transformation.py:78
↓ 3 callers
Method
map_openai_params
( self, non_default_params: dict, optional_params: dict, model: str, d
litellm/llms/groq/chat/transformation.py:221
↓ 3 callers
Method
map_openai_params
Map OpenAI parameters to MiniMax TTS parameters
litellm/llms/minimax/text_to_speech/transformation.py:125
↓ 3 callers
Method
map_tools
( self, tools: list[ # mutable-ok: mirrors override contract ChatCompletionToolPa
litellm/llms/anthropic/chat/transformation.py:1448
↓ 3 callers
Method
map_web_search_options
( self, value: dict[str, object], # mutable-ok: mirrors override contract )
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:994
↓ 3 callers
Method
map_web_search_tool
( self, value: OpenAIWebSearchOptions, )
litellm/llms/anthropic/chat/transformation.py:1892
↓ 3 callers
Function
mapped_gemini_speech_config
( value: Mapping[str, object], )
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:535
↓ 3 callers
Function
mark_agentic_followup_failure
(error: BaseException, served_rounds: tuple[ServedRound, ...])
litellm/litellm_core_utils/agentic_followup_failure.py:21
↓ 3 callers
Method
mark_emitted
(self, frame: str | bytes)
litellm/proxy/common_utils/responses_stream_errors.py:370
↓ 3 callers
Method
mark_reservation_released
(self)
litellm/proxy/hooks/parallel_request_limiter_v3.py:524
↓ 3 callers
Function
mark_test_outcome_for_cassette
(cassette_path: str, passed: bool)
tests/_vcr_redis_persister.py:91
↓ 3 callers
Function
marker_in
(request: Request)
tests/integration/routing/test_payment_required_cooldown.py:88
↓ 3 callers
Function
marker_in
(request: Request)
tests/integration/routing/test_per_model_rate_limit_fallbacks.py:104
↓ 3 callers
Function
marker_in
(text: str)
tests/e2e/perf/setup/mocks/mock_common.py:35
↓ 3 callers
Function
marker_of
(request: Request)
tests/integration/providers/_anthropic_safeguards_beta_support.py:92
↓ 3 callers
Function
marker_of
(request: Request)
tests/integration/providers/_coralbricks.py:259
↓ 3 callers
Function
markers_in
(text: str)
tests/integration/routing/test_priority_scheduler_queue_cleanup.py:91
↓ 3 callers
Function
mask_sensitive_keys
Return a new dict with values masked for keys listed in ``sensitive_fields``. Unlike :meth:`SensitiveDataMasker.mask_dict`, this does exact key-n
litellm/litellm_core_utils/sensitive_data_masker.py:234
↓ 3 callers
Function
match_identity
( pull: ROIPullRecord | ROIPullEvidence, observed_emails: frozenset[str], mappings: Mapping[str, s
litellm/proxy/roi_calculator/analytics.py:30
↓ 3 callers
Function
matches
(response: httpx.Response)
tests/integration/management/test_prompt_management.py:266
↓ 3 callers
Method
matches
(self, context: RouteContext)
litellm/rust_bridge/catalog.py:137
↓ 3 callers
Method
matches
(&self, name: &str)
litellm-rust/crates/gateway-mcp/src/native/registry.rs:22
↓ 3 callers
Function
matchesServerName
(query: string, serverNames: readonly string[])
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/toolsetSelection.ts:14
↓ 3 callers
Function
materialize_stock_view
(writer_url: str)
tests/integration/database/test_global_spend_refresh_writer.py:85
↓ 3 callers
Function
max_parallel_requests_limit
`_get_client(client_type="max_parallel_requests")`: the cached limit, built on first use (`InitalizeCachedClient.set_max_parallel_requests_client`
litellm/router_rust/invoke/slots.py:42
↓ 3 callers
Method
maybe_drop_disabled_thinking
Omit ``thinking={'type': 'disabled'}`` for always-on-thinking models (Fable 5 / Mythos 5), which 400 on it; omission is the API-documented
litellm/llms/anthropic/common_utils.py:1206
↓ 3 callers
Method
maybe_register_openapi_tools
Register OpenAPI tools if the server has a spec_path configured.
litellm/proxy/mcp_server/mcp_server_manager.py:3475
↓ 3 callers
Function
mc
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 3 callers
Function
mcpSubmitErrorReason
(error: unknown)
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/duplicateServerCheck.ts:44
↓ 3 callers
Function
mcpToolPermissionKeysFor
( server: MCPServer, toolPermissions: Readonly<Record<string, readonly string[]>>, allServers: readonly
ui/litellm-dashboard/src/components/mcp_server_management/effectiveMcpServers.ts:85
↓ 3 callers
Function
mcp_read_resource
Read resource contents from upstream MCP servers.
litellm/proxy/mcp_server/operations.py:3100
↓ 3 callers
Function
mcp_tool_entries
`--tools` entries that keep configured MCP servers reachable. A plain-name `--tools` list drops MCP tools in pi 1.1.0, so `mcp__*` is listed when
litellm/llms/pi/harness/transformation.py:321
↓ 3 callers
Function
memberFieldNames
(config: MemberFieldsConfig)
ui/litellm-dashboard/src/components/team/memberFormValues.ts:62
↓ 3 callers
Function
members
The member deployments of `group`, in member order, with a priority group's priorities as their `order`.
litellm-rust/crates/router-core/src/routing_groups.rs:14
↓ 3 callers
Method
membership
(self, team_id: str, user_id: str)
tests/unit/proxy/management_helpers/test_management_helpers_utils.py:956
↓ 3 callers
Method
memory_info
(self)
litellm/proxy/common_utils/debug_utils.py:243
↓ 3 callers
Function
merge
(highest_precedence_first: impl IntoIterator<Item = L>)
litellm-rust/crates/core-utils/src/settings.rs:60
↓ 3 callers
Method
merge_caller_body_tags
( request_data: MutableMapping[str, object], # mutable-ok: the request body the tag merges write into
litellm/proxy/litellm_pre_call_utils.py:2474
↓ 3 callers
Function
merge_hours
(pull: ObservedPull)
litellm/proxy/roi_calculator/observed_analytics.py:50
↓ 3 callers
Function
merge_placeholder
Fold a placeholder user into the one account its id names by SSO identity or email. The account is added to every team the placeholder is on
litellm/proxy/management_endpoints/scim/scim_v2.py:2106
↓ 3 callers
Function
merge_redis_kwargs
( env_overrides: Mapping[str, object], )
litellm/_redis.py:521
↓ 3 callers
Function
merge_returned_tools_into_request_tools
Union of the request's tools and guardrail-returned tools, keyed by name. Under ``scan_only_tool_results`` the guardrail never saw the request's
litellm/llms/base_llm/guardrail_translation/utils.py:358
↓ 3 callers
Function
merge_system_message_runs
Translate `developer` role to `system` role in place and fold each run of consecutive system messages into one, for chat templates that rende
litellm/llms/base_llm/base_utils.py:735
↓ 3 callers
Function
merged_chat_usage
(first: Usage, final: Usage)
litellm/responses/mcp/round_billing.py:59
↓ 3 callers
Function
message
(role: vscode.LanguageModelChatMessageRole, content: readonly unknown[])
vscode-extension/test/messages.test.ts:9
↓ 3 callers
Function
message
(payload: &[u8])
litellm-rust/crates/framer/tests/aws_event_stream.rs:24
↓ 3 callers
Method
message
(self)
litellm/proxy/hooks/litellm_skills/main.py:77
↓ 3 callers
Method
message
(self)
tests/integration/providers/test_device_code_login_guard_boot.py:57
↓ 3 callers
Function
message_body
(marker: str)
tests/integration/_support/anthropic_thinking.py:128
↓ 3 callers
Function
message_body
()
litellm-rust/crates/inference-messages/tests/messages/main.rs:56
↓ 3 callers
Function
message_events
(identity: str, blocks: Sequence[Event], stop_reason: str)
tests/integration/providers/_tool_search_support.py:126
↓ 3 callers
Function
message_events
(marker: str, blocks: Sequence[Sequence[Event]])
tests/integration/_support/anthropic_thinking.py:83
↓ 3 callers
Function
message_response
()
litellm-rust/crates/inference-messages/tests/openrouter/main.rs:29
↓ 3 callers
Function
message_slot_texts
(message: Mapping[str, object])
litellm/llms/base_llm/guardrail_translation/utils.py:423
← previous
next →
28,001–28,100 of 202,479, ranked by callers