MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunctionclassifier_flagging_everything
(request: Request)
tests/integration/_support/safeguards_rig.py:438
↓ 3 callersMethodclassifier_response
(self, body: Mapping[str, object], requested_model: str)
litellm/llms/databricks/decisions/transformation.py:119
↓ 3 callersFunctionclassifier_slow
(seconds: float)
tests/integration/_support/safeguards_rig.py:469
↓ 3 callersFunctionclassify
(index: int, item: BulkNewUserItem)
litellm/proxy/management_helpers/bulk_user_creation.py:247
↓ 3 callersFunctionclassify
`_map_exception_by_status`, the one place a provider status picks a class. Statuses below 400 are not failures the table claims.
litellm-rust/crates/core-utils/src/exception_mapping_utils/status.rs:5
↓ 3 callersFunctionclassifyToolOp
(name: string, description = "")
ui/litellm-dashboard/src/utils/mcpToolCrudClassification.ts:25
↓ 3 callersFunctionclaude_hosted_web_tool_call
(search: ResponseFunctionWebSearch)
litellm/types/llms/anthropic.py:868
↓ 3 callersFunctionclaude_peer
(request: Request)
tests/integration/routing/_prompt_cache_pin_support.py:160
↓ 3 callersFunctioncleanUsageUrl
(params: UsageUrlParams, access: UsageUrlAccess)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/usageUrlState.ts:209
↓ 3 callersMethodcleanup
()
tests/unit/integrations/test_opentelemetry.py:5135
↓ 3 callersFunctioncleanup_files
(directory: &Path, filenames: Vec<String>)
litellm-rust/crates/cache-disk/src/sqlite.rs:801
↓ 3 callersMethodclear
Clear all policies from the registry.
litellm/proxy/policy_engine/policy_registry.py:329
↓ 3 callersMethodclear
()
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 3 callersMethodclear
(&self)
litellm-rust/crates/cache-disk/src/sqlite.rs:474
↓ 3 callersMethodclearGcTimeout
()
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 3 callersMethodclearInterval
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 3 callersFunctionclearRequestState
()
ui/litellm-dashboard/src/app/(dashboard)/playground/components/systemOneUI/SystemOneUI.tsx:124
↓ 3 callersFunctionclear_reload_interval
Admin-owned write: drops the schedule but keeps the row, because the revision counter identifies a request rather than ordering one and so can nev
litellm/proxy/common_utils/periodic_reload_schedule.py:194
↓ 3 callersFunctionclient
(token: str)
tests/unit/mcp_client/test_mcp_client.py:2893
↓ 3 callersFunctionclientPanelPatch
(client: UsageUrlParams["client"])
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/usageUrlState.ts:176
↓ 3 callersFunctionclient_error_details
(error: Exception)
litellm/llms/sagemaker/common_utils.py:225
↓ 3 callersFunctionclient_sent_openai_beta_realtime_header
True when the client WebSocket includes ``OpenAI-Beta: realtime=v1``.
litellm/litellm_core_utils/realtime_streaming.py:2478
↓ 3 callersMethodclock
(self)
tests/e2e_harness/cli_harness/test_rate_limiter.py:25
↓ 3 callersFunctionclose
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersMethodclose
(self)
litellm/passthrough/main.py:289
↓ 3 callersMethodclose
(self)
litellm/litellm_core_utils/streaming_handler.py:626
↓ 3 callersMethodclose
(self)
litellm/harness/endpoint.py:259
↓ 3 callersMethodclose
(self)
litellm/llms/vertex_ai/audio_transcription/realtime_backend.py:195
↓ 3 callersMethodclose
(self)
tests/unit/proxy/guardrails/guardrail_hooks/test_presidio.py:5312
↓ 3 callersMethodclose
(self)
tests/e2e_harness/test_e2e_http.py:44
↓ 3 callersMethodclose
(&mut self, py: Python<'_>)
litellm-rust/crates/callbacks-legacy-python/src/adapter.rs:666
↓ 3 callersMethodclose
(&mut self, byte: u8)
litellm-rust/crates/python-compat/src/literal.rs:251
↓ 3 callersMethodclose
(&mut self)
litellm-rust/crates/host-python/src/native.rs:121
↓ 3 callersFunctioncloseGuardrailDetail
()
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/GuardrailsPanel.tsx:68
↓ 3 callersMethodclose_api_window
Python times the provider exchange inside the async `AsyncHTTPHandler.post`; its sync client is untimed.
litellm-rust/crates/callbacks-legacy-python/src/adapter.rs:142
↓ 3 callersMethodclose_route_phase
The pick ended: a served pick marks ``litellm.request.deployment_selected`` inside it first.
litellm/router_rust/core.py:4784
↓ 3 callersFunctionclosure
(closer: Closer, state: IssueClosure["state"] = "CLOSED")
scripts/comment-fixed-issue.test.ts:46
↓ 3 callersFunctionco
(e,t,n,r,l)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersMethodcoalesced_window
( prisma_client: Optional["PrismaClient"], spend_counter_store: SpendCounterStore, cou
litellm/proxy/db/spend_counter_reseed.py:398
↓ 3 callersFunctioncodex_credentials
(env: Mapping[str, str])
litellm/proxy/client/cli/commands/statusline_script.py:154
↓ 3 callersFunctioncoerceElementMatchingCallback
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctioncoerce_model_access_groups
Model access group names out of untrusted request metadata, deduped and order preserving.
litellm/litellm_core_utils/litellm_logging.py:6894
↓ 3 callersFunctioncoerce_stream_scope
(value: object)
litellm/types/guardrails.py:982
↓ 3 callersMethodcohere_passthrough_handler
Handle Cohere passthrough logging with route detection and cost tracking.
litellm/proxy/pass_through_endpoints/llm_provider_handlers/cohere_passthrough_logging_handler.py:77
↓ 3 callersFunctioncollect
(index: int, settings: ROISettings, branch_reader: BranchSpendReader)
litellm/proxy/roi_calculator/observed_workspace.py:117
↓ 3 callersFunctioncollect
(stream: object)
tests/test_litellm_rust/cache/support.py:114
↓ 3 callersMethodcollect_and_combine_usage_from_responses_ws_results
( results: Sequence[Mapping[str, object]], )
litellm/cost_calculator.py:3618
↓ 3 callersFunctioncollect_entry
Records a string held directly in a list, rather than under a key.
litellm/proxy/guardrails/guardrail_hooks/llm_shield_proxy/payload.py:61
↓ 3 callersFunctioncollect_env_var_references
Union of every ``${NAME}`` reference across a collection of strings.
litellm/proxy/mcp_server/utils.py:756
↓ 3 callersFunctioncollect_json_leaves
Collects every string leaf of a JSON-ish structure, with a write-back per leaf. An Anthropic `tool_use` block carries `input`, an arbitrary JSON
litellm/proxy/guardrails/guardrail_hooks/llm_shield_proxy/payload.py:122
↓ 3 callersFunctioncollect_output
Close stdin, read stdout/stderr to EOF; kill on cancel, and kill and raise SandboxError on timeout.
litellm/harness/sandbox/local.py:114
↓ 3 callersFunctioncollect_python_function_tests
( functions: Sequence[PythonFunctionIdentity], selectors: Sequence[str], repo_root: Path, *,
tests/rust-python-harness/shared/tracing/pytest_usage.py:238
↓ 3 callersFunctioncollect_text_parts
Collects the `text` of every part in the list held at `key`.
litellm/proxy/guardrails/guardrail_hooks/llm_shield_proxy/payload.py:76
↓ 3 callersFunctioncolorForModel
(model: string, colorByModel: ReadonlyMap<string, string>)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/overview/overviewData.ts:65
↓ 3 callersMethodcombine_cached_embedding_response_with_api_result
Combines the cached embedding response with the API EmbeddingResponse For caching there can be a cache hit for some of the inputs in
litellm/caching/caching_handler.py:834
↓ 3 callersFunctioncombine_optional_catalog
( request: CatalogListRequest, pages: Sequence[CatalogListResult], next_cursor: str | None, me
litellm/proxy/mcp_server/catalog.py:1279
↓ 3 callersMethodcombine_usage
(self, usage1: Usage, usage2: Usage)
litellm/caching/caching_handler.py:773
↓ 3 callersMethodcommit
(self)
litellm/repositories/prisma_protocols.py:176
↓ 3 callersFunctioncommitTierRows
( rows: TierRow[], fallbackTierId: string, base: ComplexityRouterConfigValue, )
ui/litellm-dashboard/src/components/add_model/tier_set_actions.ts:32
↓ 3 callersFunctioncompact_input
(text: str)
tests/integration/authorization/_responses_compact.py:92
↓ 3 callersFunctioncompacted_id
(compact_marker: str)
tests/integration/authorization/_responses_compact.py:84
↓ 3 callersFunctioncompaction_output_item
(provider_specific_fields: object)
litellm/responses/litellm_completion_transformation/compaction_items.py:100
↓ 3 callersMethodcompare_and_set
( self, batch: LiteLLMBatch, unchanged: Mapping[str, object], updated_by: str | None )
litellm/repositories/managed_batch_repository.py:26
↓ 3 callersFunctioncomplete
(response: MessagesCallResponse)
litellm-rust/crates/inference-messages/tests/live/support.rs:112
↓ 3 callersMethodcomplete
( self, first: _Terminal | InputRequiredResult, retry: Callable[[InputResponses | None
litellm/proxy/mcp_server/interactions.py:245
↓ 3 callersMethodcomplete_round
( self, completed: ResponsesAPIStreamingResponse, response: ResponsesAPIResponse,
litellm/responses/mcp/stream_round_billing.py:192
↓ 3 callersMethodcompleted
(self)
tests/integration/streaming/test_interception_converted_stream_options.py:134
↓ 3 callersMethodcompleted_turn
(self, scenario_id: str)
tests/integration/providers/test_vertex_realtime_multi_region_host.py:88
↓ 3 callersFunctioncompletion
Follows the exact same API spec as `OpenAI's Completions API https://platform.openai.com/docs/api-reference/completions` ```bash curl -X
litellm/proxy/proxy_server.py:13359
↓ 3 callersFunctioncompletion
( authorization: str | None = Header(default=None), x_lens_internal: str | None = Header(default=None)
tests/unit/proxy/lens/test_internal.py:87
↓ 3 callersMethodcompletion
(self, *args, **kwargs)
litellm/proxy/example_config_yaml/custom_handler.py:9
↓ 3 callersMethodcompletion
Completion method that uses Azure authentication instead of Anthropic's x-api-key. All other logic is the same as AnthropicChatComple
litellm/llms/azure_ai/anthropic/handler.py:35
↓ 3 callersMethodcompletion
( self, *, model: str, messages: list, api_base: str, custom_l
litellm/llms/openai_like/chat/handler.py:229
↓ 3 callersFunctioncompletion_body
(group: str, marker: str, **extra: JsonValue)
tests/integration/routing/test_priority_scheduler_queue_cleanup.py:247
↓ 3 callersFunctioncompletion_kwargs
(ctx: SessionContext)
litellm/llms/tool_loop/harness/transformation.py:92
↓ 3 callersFunctioncompletion_response_id
SpendLogs.request_id is the chat completion body id, not x-litellm-call-id.
tests/e2e/logging/logging_client.py:261
↓ 3 callersFunctioncompletion_window_for_service_tier
Sail picks speed and price by ``metadata.completion_window`` and rejects ``service_tier``, so the tier is translated.
litellm/llms/sail/common_utils.py:55
↓ 3 callersFunctioncompose
(...s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersMethodcomprehend_medical_passthrough_handler
Prices a Comprehend Medical sync operation from the request text length (billed per started 100-character unit, 1-unit minimum) and r
litellm/proxy/pass_through_endpoints/llm_provider_handlers/comprehend_medical_passthrough_logging_handler.py:55
↓ 3 callersMethodcomputeAttrs
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 3 callersFunctioncompute_totals
(groups: Sequence[CacheActivityGroup])
litellm/proxy/analytics_endpoints/cache_activity.py:153
↓ 3 callersFunctionconfig
()
tests/unit/llms/bedrock/batches/test_transformation.py:49
↓ 3 callersFunctionconfig
(variable: &str)
litellm-rust/crates/redis-connect/tests/live/main.rs:21
↓ 3 callersFunctionconfig
(endpoint: &str)
litellm-rust/crates/cache-s3/tests/support/mod.rs:17
↓ 3 callersMethodconfig
(&self)
litellm-rust/crates/inference/tests/caching.rs:349
↓ 3 callersMethodconfig
(self)
litellm-rust/crates/inference-chat/src/common_utils.rs:24
↓ 3 callersMethodconfig_deployments
(self)
litellm/router_deprecated.py:421
↓ 3 callersFunctionconfig_files
settings.json for every key but mcpServers, and mcp.json for mcpServers; each only when non-empty.
litellm/llms/pi/harness/transformation.py:425
↓ 3 callersFunctionconfig_overrides
`-c` override strings for CodexOptions.config, rejecting managed keys.
litellm/llms/codex/harness/transformation.py:189
↓ 3 callersMethodconfigure_command
(self)
litellm/llms/vertex_ai/audio_transcription/realtime_transformation.py:95
↓ 3 callersFunctionconfigure_targets
( ctx: click.Context, targets: tuple[Target, ...], *, model: str | None = None, default_mo
litellm/proxy/client/cli/commands/configure_setup.py:389
↓ 3 callersFunctionconfigured_app
( model: &str, api_base: &str, permissions: litellm_gateway_auth::Permissions, cache: Option<A
litellm-rust/crates/gateway-inference/tests/support/mod.rs:75
↓ 3 callersFunctionconfigured_bedrock_control_plane_endpoint
An ``aws_bedrock_control_plane_endpoint`` value without a trailing slash, or None when unset.
litellm/llms/bedrock/common_utils.py:162
↓ 3 callersFunctionconfigured_display_names
response_id -> configured `model_info.display_name` for the listing entries that have one. Metadata is looked up by each entry's internal loo
litellm/proxy/common_utils/model_listing_utils.py:37
↓ 3 callersFunctionconfigured_flush_at
``LANGFUSE_FLUSH_AT`` as the export batch size, the SDK's own knob, with its default when unset or unusable.
litellm/integrations/langfuse/langfuse_sdk.py:546
↓ 3 callersFunctionconfigured_sample_rate
``LANGFUSE_SAMPLE_RATE`` as a fraction, exporting everything when it is unset or unusable.
litellm/integrations/langfuse/langfuse_sdk.py:477
↓ 3 callersFunctionconfirm
(replica: Replica, key: str, alias: str)
tests/e2e/migrations/upgrade.py:43
↓ 3 callersFunctionconflicting_span_scope_error
( callback_vars: Mapping[str, str] | None, stored_vars_by_entry: Sequence[Mapping[str, str]], )
litellm/proxy/common_utils/callback_config_validation.py:227
↓ 3 callersMethodconnect
Connect to LiteLLM proxy realtime endpoint.
cookbook/nova_sonic_realtime.py:53
↓ 3 callersMethodconnect
For connecting to db and creating / updating any tables
litellm/proxy/db/base_client.py:32
← previousnext →26,401–26,500 of 202,479, ranked by callers