MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_worked
(report: WorkerReport)
tests/integration/sdk/test_redis_breaker_metrics_multiprocess_sdk.py:55
↓ 3 callersFunction_worker_pids
(log: Path)
tests/integration/compatibility/test_status_code_followups_chaos.py:149
↓ 3 callersFunction_worker_threads
()
tests/unit/proxy/guardrails/guardrail_hooks/test_custom_code_bounded_execution.py:16
↓ 3 callersFunction_workers
(owned: OwnedProxy)
tests/integration/providers/test_device_code_login_guard_boot.py:120
↓ 3 callersFunction_workload_identity_auth
(config: OpenAIWorkloadIdentityConfig)
litellm/llms/openai/workload_identity.py:313
↓ 3 callersFunction_workspace_request_body
(**request_params: object)
tests/unit/llms/databricks/messages/test_databricks_messages_transformation.py:320
↓ 3 callersMethod_wrap_error
Build an attributed ``BaseLLMException`` from a TinyFish error body. Used for HTTP status errors and response transformation errors.
litellm/llms/tinyfish/search/transformation.py:258
↓ 3 callersMethod_wrapped_user_lookup_error
Reproduce get_user_object's exception contract (litellm/proxy/auth/auth_checks.py): a read failure that is not a database outage is re-raised
tests/unit/proxy/mcp_server/auth/test_user_api_key_auth_mcp.py:6713
↓ 3 callersMethod_wrapper
(self)
tests/unit/llms/oci/chat/test_oci_cohere_tool_calls.py:867
↓ 3 callersFunction_wrapper_over
(stream: _RecordingProviderStream)
tests/unit/litellm_core_utils/test_streaming_handler.py:9521
↓ 3 callersMethod_write_auth_file
(self, data: XAIOAuthRecord)
litellm/llms/xai/oauth.py:225
↓ 3 callersFunction_write_back
(entries: Sequence[tuple[_CacheEntry, BaseModel]], cache: UserApiKeyCache)
litellm/proxy/auth/auth_object_prefetch.py:268
↓ 3 callersFunction_write_back_texts
( guardrailed_texts: Sequence[str], holders: Sequence[_StringHolder], )
litellm/llms/bedrock/passthrough/guardrail_translation/handler.py:587
↓ 3 callersFunction_write_config
(path: Path, wire: Wire)
tests/integration/providers/test_custom_image_provider_wire.py:22
↓ 3 callersFunction_write_config
( directory: Path, model_list: list[JsonValue], general_settings: Mapping[str, JsonValue], lit
tests/integration/spend/test_baggage_tag_mappings.py:169
↓ 3 callersFunction_write_cov_xml
(tmp_path: Path, line_rate: float, branch_rate: float)
tests/unit/proxy/proxy_server/test_harness_smoke.py:144
↓ 3 callersMethod_write_jsonl
(self, tmp_path, n_rows, padding=400)
tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py:358
↓ 3 callersFunction_write_login
(path: Path, account_id: str)
tests/unit/llms/test_subscription_accounts.py:15
↓ 3 callersFunction_write_pin_list
(tmp_path: Path, items: list)
tests/unit/proxy/proxy_server/test_harness_smoke.py:204
↓ 3 callersFunction_write_target
Write through a symlinked settings.json rather than replacing the link, which would silently detach a file symlinked into a dotfiles repo.
litellm/proxy/client/cli/commands/claude_settings.py:260
↓ 3 callersMethod_write_team_model
(self, value: object)
litellm/router_rust/surface/indexes.py:446
↓ 3 callersFunction_write_test_file
(tmp_path: Path, name: str, body: str)
tests/unit/proxy/proxy_server/test_harness_smoke.py:210
↓ 3 callersFunction_written_info
(update_by_name: AsyncMock)
tests/unit/proxy/credential_endpoints/test_endpoints.py:508
↓ 3 callersFunction_written_project_data
(mock_prisma: mock.MagicMock)
tests/unit/enterprise/proxy/management_endpoints/test_project_endpoints_prisma.py:1276
↓ 3 callersFunction_ws_base
(http_url: str)
tests/integration/providers/test_vertex_realtime_multi_region_host.py:103
↓ 3 callersFunction_xai_blocked_session
( guardrail_proxy: OwnedProxy, scenario: Scenario )
tests/integration/providers/test_realtime_transcription_guardrail_session_update.py:1289
↓ 3 callersFunction_xobject_resources
(xobject_number: int)
tests/unit/litellm_core_utils/test_token_counter.py:2802
↓ 3 callersFunction_yaml_config
( directory: Path, upstream_url: str, model_name: str, model_info: Mapping[str, object] = Mapp
tests/integration/management/test_model_hub_custom_metadata.py:201
↓ 3 callersFunction_zerobus_config
()
tests/unit/proxy/test_zerobus_dashboard_config.py:23
↓ 3 callersFunctiona
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1gr6rzkj48efi.js:1
↓ 3 callersFunctiona
litellm/proxy/_experimental/out/_next/static/chunks/1v4srkvvdb6z6.js:1
↓ 3 callersFunctiona
()
litellm/proxy/_experimental/out/_next/static/chunks/244o7xlypyuet.js:1
↓ 3 callersFunctiona
litellm/proxy/_experimental/out/_next/static/chunks/39v0w3tgm6n4z.js:1
↓ 3 callersFunctiona
(e)
litellm/proxy/_experimental/out/_next/static/chunks/242x7dx0zu3hf.js:1
↓ 3 callersFunctiona
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2u86hc-qj1be3.js:1
↓ 3 callersFunctiona
(e,r)
litellm/proxy/_experimental/out/_next/static/chunks/2zf-ya0p1l5es.js:1
↓ 3 callersFunctiona
(e,a,r)
litellm/proxy/_experimental/out/_next/static/chunks/2fu73jsgboh4w.js:1
↓ 3 callersFunctiona
(t)
litellm/proxy/_experimental/out/_next/static/chunks/0g3hfgh2z8the.js:1
↓ 3 callersFunctiona
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/2e_-x-1sa5337.js:1
↓ 3 callersFunctiona
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/turbopack-14j5un148_i39.js:1
↓ 3 callersMethoda2a_message_to_openai_messages
Transform an A2A message to OpenAI message format. Args: a2a_message: A2A message with role, parts, and messageId
litellm/a2a_protocol/litellm_completion_bridge/transformation.py:129
↓ 3 callersFunctionaA
()
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:55
↓ 3 callersFunctionaB
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:29
↓ 3 callersFunctionaC
()
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctionaE
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctionaF
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctionaH
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:29
↓ 3 callersFunctionaM
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:29
↓ 3 callersFunctionaP
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:29
↓ 3 callersFunctionaT
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctionaa
({results:e,errors:t})
litellm/proxy/_experimental/out/_next/static/chunks/11et800l-khs-.js:49
↓ 3 callersFunctionaa
()
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersMethodabandon
( self, path: str, *, headers: BaseModel, json: BaseModel, after: float )
tests/e2e/transport.py:63
↓ 3 callersMethodabort
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 3 callersFunctionac
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctionac
()
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 3 callersMethodaccept
(self, subprotocol: str | None = None)
tests/unit/proxy/pass_through_endpoints/test_deepgram_ws_passthrough_routes.py:57
↓ 3 callersMethodaccepts_logging_only_mode
(cls)
litellm/integrations/custom_guardrail.py:1071
↓ 3 callersFunctionaccessGroupNamesOf
(server: MCPServer)
ui/litellm-dashboard/src/components/mcp_server_management/effectiveMcpServers.ts:51
↓ 3 callersMethodaccess_token
( &self, config: &VertexConfig, env_lookup: &(dyn Fn(&str) -> Option<String> + Sync),
litellm-rust/crates/auth-gcp/src/auth.rs:28
↓ 3 callersFunctionaccounting_only_spend_log
(row: Mapping[str, object])
litellm/proxy/utils.py:9368
↓ 3 callersMethodaclose
(self)
litellm/proxy/utils.py:7114
↓ 3 callersMethodaclose
(self)
litellm/llms/anthropic/messages/adapters/streaming_iterator.py:80
↓ 3 callersMethodaclose
(self)
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:4624
↓ 3 callersMethodaclose
Close the upstream HTTP response so the provider connection is released (and a backend like vLLM aborts generation) when the stream is
litellm/llms/base_llm/base_model_iterator.py:94
↓ 3 callersMethodaclose
(self)
tests/unit/test_streaming_connection_cleanup.py:122
↓ 3 callersMethodaclose
(self)
tests/unit/proxy/test_proxy_server_endpoints_and_startup.py:1669
↓ 3 callersMethodaclose
(self)
tests/unit/proxy/utils/proxy_logging/test_guardrail_pipeline.py:3942
↓ 3 callersMethodaclose
()
tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py:1037
↓ 3 callersMethodaclose
(self)
tests/unit/responses/test_responses_api_lifecycle.py:351
↓ 3 callersMethodaclose
(self)
tests/unit/caching/test_evicted_client_closer.py:50
↓ 3 callersFunctionacquire
(reply: AcquireReply)
litellm-rust/crates/python-bridge/src/redis/store/rate_limits.rs:314
↓ 3 callersMethodacquire
(self, key: str, token: str, ttl_seconds: float)
litellm/proxy/mcp_server/outbound_credentials/redis_distributed_lock.py:52
↓ 3 callersMethodacquire
(self)
tests/unit/proxy/mcp_server/test_mcp_server_tool_calls_and_headers.py:4225
↓ 3 callersMethodacquire
(self, key, token, ttl_seconds)
tests/unit/proxy/mcp_server/outbound_credentials/test_redis_refresh_coordinator.py:27
↓ 3 callersMethodacquire
()
tests/unit/integrations/otel/test_otel_v2_destinations.py:4693
↓ 3 callersMethodacquire_prisma_lock
(self)
litellm-proxy-extras/litellm_proxy_extras/migration_lock.py:108
↓ 3 callersMethodacreate_batch
( self, create_batch_data: CreateBatchRequest, openai_client: AsyncOpenAI, )
litellm/llms/openai/openai.py:2206
↓ 3 callersFunctionacreate_container
Asynchronously calls the `create_container` function with the given arguments and keyword arguments. Parameters: - `name` (str): Name of the
litellm/containers/main.py:58
↓ 3 callersMethodacreate_sandbox
( self, *, template: str | None = None, timeout: int | None = None, al
litellm/llms/e2b/sandbox/transformation.py:58
↓ 3 callersFunctionactionLabel
(action: string, t: TFunction)
ui/litellm-dashboard/src/app/(dashboard)/policies/_components/pipeline_flow_builder.tsx:55
↓ 3 callersMethodactive
Declared now on the batch ``batch`` picks, so several reads can share one trip before any is awaited. Without Redis it is answered from memory
litellm/redis/stores/router_cooldowns/__init__.py:73
↓ 3 callersFunctionactiveWarnings
(warnings: readonly DeploymentWarning[])
ui/litellm-dashboard/src/components/DeploymentHealth/DeploymentHealth.tsx:22
↓ 3 callersFunctionactive_session_signing_keys
Wiring helper for the token endpoint and the admission edge: resolve the signing keys from the live ``general_settings.mcp_session_token_signing``
litellm/proxy/mcp_server/outbound_credentials/session_credentials.py:168
↓ 3 callersFunctionad
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 3 callersFunctionadapt_tool_definition_to_oci_standard
Convert OpenAI-format tool definitions to OCI GENERIC format. Resolves ``$ref``/``$defs`` and ``anyOf`` that the OCI endpoint rejects.
litellm/llms/oci/chat/generic.py:215
↓ 3 callersFunctionadapt_tool_definitions_to_cohere_standard
Adapt OpenAI-format tool definitions to the OCI Cohere format. - Resolves ``$ref``/``$defs`` and ``anyOf`` patterns that OCI rejects. - Maps
litellm/llms/oci/chat/cohere.py:208
↓ 3 callersFunctionadapt_tools_to_openai_standard
Convert OCI tool-call objects in a response to the OpenAI format.
litellm/llms/oci/chat/generic.py:289
↓ 3 callersFunctionadaptive_marker
An ``auto_router/adaptive_router`` marker over ``available_models``.
tests/unit/test_router/core/gaps_l11100_helpers.py:59
↓ 3 callersMethodadd
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/0g3hfgh2z8the.js:1
↓ 3 callersMethodadd
`add_pattern`: a new regex joins in specificity order (a stable sort, most specific first); a known one gains the deployment.
litellm-rust/crates/router-core/src/host_index.rs:314
↓ 3 callersMethodaddObserver
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 3 callersFunctionadd_cache_point_tool_block
( tool: dict, model: str | None = None, deployment_model: str | None = None, model_info: Mappi
litellm/litellm_core_utils/prompt_templates/factory.py:5795
↓ 3 callersMethodadd_dynamic_callback
(self, callback: object)
tests/unit/test_router/core/test_construction_precall_characterization.py:999
↓ 3 callersFunctionadd_end_user_spend
( executor: impl PgExecutor<'_>, spend: &EntitySpend, )
litellm-rust/crates/db/src/spend/end_user_spend.rs:6
↓ 3 callersFunctionadd_guardrail_scan_id
Record a provider scan id, keyed to the guardrail execution that produced it, so it can be surfaced to the caller. Guardrails only return sc
litellm/proxy/common_utils/callback_utils.py:607
↓ 3 callersMethodadd_headers_to_llm_call
Add headers to the LLM call - Checks request headers for forwardable headers - Checks if user information should be added to
litellm/proxy/litellm_pre_call_utils.py:1819
↓ 3 callersMethodadd_histogram
(self, other: "Histogram")
litellm/telemetry/histogram.py:32
↓ 3 callersMethodadd_litellm_async_failure_callback
(self, callback: object)
tests/unit/test_router/core/scripted_host.py:216
↓ 3 callersMethodadd_litellm_input_callback
Add a input callback to litellm.input_callback. Auto-routes async callbacks to litellm._async_input_callback.
litellm/litellm_core_utils/logging_callback_manager.py:48
← previousnext →25,801–25,900 of 202,479, ranked by callers