MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersMethodscheduleGc
()
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 4 callersMethodscope
Where a cache name is valid: a Vertex project and location, or the project a Gemini key belongs to. A custom ``api_base`` can replace the who
litellm/llms/vertex_ai/context_caching/known_cached_contents.py:60
↓ 4 callersFunctionscript
(keys: list[str], args: list[object])
tests/unit/caching/test_request_redis_batch_post_call.py:119
↓ 4 callersFunctionscrub_sensitive_keys_in_metadata
(litellm_params: dict | None)
litellm/litellm_core_utils/litellm_logging.py:8250
↓ 4 callersFunctionsdk
(gateway: Gateway, key: str, prefix: str)
tests/integration/authorization/_responses_compact.py:251
↓ 4 callersFunctionsdk
(gateway: Gateway)
tests/integration/routing/test_priority_scheduler_queue_cleanup.py:353
↓ 4 callersMethodsdk
(self)
tests/integration/compatibility/test_fine_tuning_managed_files_chaos.py:54
↓ 4 callersFunctionsdk_compact
(gateway: Gateway, key: str, prefix: str, model: str, text: str, previous: str)
tests/integration/authorization/_responses_compact.py:263
↓ 4 callersFunctionsdk_interaction_peer
(*, sampling: bool = False)
tests/integration/mcp/test_interactions.py:91
↓ 4 callersMethodsearch
(query, kwargs=None, rich=None)
tests/unit/integrations/websearch_interception/test_websearch_native_blocks.py:422
↓ 4 callersMethodsearchKeys
(req: DailyActivityRequest, search: string, limit?: number)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/EntityUsage/entityFetchFns.ts:23
↓ 4 callersFunctionsearchToolReadResponseBody
()
terraform/provider/litellm/resource_search_tool_test.go:23
↓ 4 callersMethodsearch_outcome
(result: object)
litellm/integrations/websearch_interception/transformation.py:516
↓ 4 callersMethodsearch_outcome_text
(outcome: SearchOutcome)
litellm/integrations/websearch_interception/transformation.py:530
↓ 4 callersFunctionsecret
(entry: Option<&Entry>)
litellm-rust/crates/redis-resolve/src/options.rs:201
↓ 4 callersMethodsecret
(&self)
litellm-rust/crates/auth-types/src/token.rs:21
↓ 4 callersMethodseed_blob
(&self, name: &str, bytes: &[u8])
litellm-rust/crates/cache-azure-blob/tests/support/mod.rs:64
↓ 4 callersFunctionseed_daily_spend
Insert every row in one transaction so no export run can read a partial seed.
tests/integration/observability/_ternary_support.py:180
↓ 4 callersFunctionseed_request_identity
Seed request-identity Baggage (no-op without V2).
litellm/integrations/otel/runtime.py:70
↓ 4 callersMethodseen
(&self)
litellm-rust/crates/redis-store/tests/support/mod.rs:51
↓ 4 callersMethodselect
(self, columns: Sequence[str], /)
litellm/integrations/ternary/export_engine.py:49
↓ 4 callersMethodselect
(self, step: Mapping[str, object])
litellm/router_rust/core.py:5398
↓ 4 callersMethodselect
( self, model: str, request_kwargs: dict[str, object] | None = None, # mutable-ok: th
litellm/router_rust/invoke/endpoints.py:142
↓ 4 callersFunctionselectFuseProfile
( value: FuseSettings, field: FuseProfileField, presetId: string | undefined, effectiveText: string, )
ui/litellm-dashboard/src/components/add_model/forecast_classifier_config.ts:71
↓ 4 callersFunctionselect_auth_plan
( inputs: &AzureAuthInputs, env_lookup: &dyn Fn(&str) -> Option<String>, )
litellm-rust/crates/auth-azure/src/resolve.rs:298
↓ 4 callersFunctionselect_imported_skill
(content: bytes, source: GitHubSkillSource)
litellm/proxy/discovery_endpoints/skill_import.py:92
↓ 4 callersFunctionselect_team
The team an ID-JAG redemption mints for, settled before the assertion is consumed since the minter refuses a teamless credential for a user who ha
litellm/proxy/mcp_server/id_jag_grant.py:345
↓ 4 callersFunctionselect_tier_for_input
Select the pricing tier for a request based on its total input token count. Alibaba Model Studio (Dashscope) tiered pricing is all-or-nothin
litellm/litellm_core_utils/llm_cost_calc/tiered_pricing.py:40
↓ 4 callersMethodselector_for
The selector a Rust ``select`` step names (``_get_routing_context``).
litellm/router_rust/steps/selection.py:226
↓ 4 callersFunctionsend
(call: _BurstCall)
tests/integration/authorization/test_hidden_alias_budget_bypass.py:1330
↓ 4 callersFunctionsend
(rig: Rig, model: str, stream: bool, request_nonce: str)
tests/integration/messages_endpoint/safeguards/test_safeguard_results_chaos.py:70
↓ 4 callersFunctionsend
()
tests/integration/routing/test_priority_scheduler_queue_cleanup.py:292
↓ 4 callersFunctionsend
Python's httpx timeout bounds each phase and each read, never the whole exchange. A complete response keeps the client's overall deadline; a stream is
litellm-rust/crates/inference-messages/src/handler.rs:363
↓ 4 callersMethodsend
(self, message: Message, *args: object, **kwargs: object)
tests/_ws_vcr.py:293
↓ 4 callersMethodsend
(self, path: str, body: Mapping[str, JsonValue], forwarded_for: str)
tests/integration/spend/test_requester_ip_address_logging.py:376
↓ 4 callersMethodsend
(self, data: str)
tests/unit/llms/openai/live/test_handler.py:112
↓ 4 callersMethodsend
(self, message: str | bytes)
tests/unit/llms/custom_httpx/test_llm_http_handler.py:5268
↓ 4 callersMethodsend
(payload: string)
ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/RealtimePlayground.test.tsx:33
↓ 4 callersMethodsend
( &self, server: &Server, mut request: ClientRequest, context: &Context, )
litellm-rust/crates/gateway-mcp/src/native.rs:46
↓ 4 callersFunctionsendMessage
(page: PlaywrightPage, message: string)
tests/e2e/ui/helpers/playground.ts:54
↓ 4 callersFunctionsend_and_receive
`before_provider_request` over `wire`, then the provider's raw response the way the driver delivers it, so `pre_call` and `post_call` have both seen t
litellm-rust/crates/callbacks-legacy-python/src/adapter.rs:1210
↓ 4 callersFunctionsend_llm_exception_alert
Only runs if router.slack_alerting_logger is set Sends a Slack / MS Teams alert for the LLM API call failure. Only if router.slack_alerting_l
litellm/router_utils/handle_error.py:25
↓ 4 callersMethodsend_max_budget_alert_email
Send email to user when max budget alert threshold is reached. Args: event: The webhook event with spend/budget info
enterprise/litellm_enterprise/enterprise_callbacks/send_emails/base_email.py:340
↓ 4 callersMethodsend_message
Send a message to the A2A agent.
litellm/a2a_protocol/client.py:91
↓ 4 callersMethodsend_non_streaming_request
Send a non-streaming A2A request to Pydantic AI agent and wait for completion. Args: api_base: Base URL of the Pydantic
litellm/a2a_protocol/providers/pydantic_ai_agents/transformation.py:240
↓ 4 callersMethodsend_text
(self, data: str)
tests/unit/proxy/test_openai_ws_passthrough_routes.py:69
↓ 4 callersFunctionsend_to_bedrock_converse
( gateway: Gateway, history: list[JsonValue], drop_params: bool = True )
tests/integration/providers/test_responses_codex_repeated_additional_tools_wire.py:73
↓ 4 callersFunctionsend_to_webhook
Send a single slack alert to the webhook
litellm/integrations/SlackAlerting/batching_handler.py:54
↓ 4 callersMethodsend_user_invitation_email
(self, event)
tests/unit/proxy/hooks/test_send_invite_email.py:166
↓ 4 callersMethodserialise
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callersFunctionseriesBy
( results: readonly DailyData[], dimension: BreakdownDimension | "api_keys", metric: UsageMetric, opti
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/overview/overviewData.ts:121
↓ 4 callersFunctionseries_cap_config
( directory: Path, settings: Mapping[str, JsonValue], *, model_list: Sequence[Mapping[str, Jso
tests/integration/_support/prometheus_series.py:158
↓ 4 callersFunctionserve
(response: &'static [u8])
litellm-rust/crates/http/src/media.rs:357
↓ 4 callersFunctionserve_in_thread
(server: ServerT, poll_interval: float = 0.5)
tests/rust-python-harness/shared/parity/local_server.py:44
↓ 4 callersMethodserve_pass_through_endpoints
(self, db_endpoints: Sequence[SettingsJsonValue])
litellm/proxy/proxy_server.py:8600
↓ 4 callersFunctionserve_tls
( pki: &Pki, require_client_certificate: bool, )
litellm-rust/crates/http/tests/websocket.rs:148
↓ 4 callersMethodserved
(self, endpoint: _Endpoint, marker: str)
tests/integration/caching/test_in_memory_cache_heap_bound.py:215
↓ 4 callersFunctionserved_genai_spans
The gen-AI spans for attempts that actually served the request. The proxy opens one gen-AI span per upstream attempt, so a call the router re
tests/e2e/otel_client.py:139
↓ 4 callersFunctionserved_output_texts
(response: object)
litellm/litellm_core_utils/served_output_texts.py:110
↓ 4 callersFunctionservice_caller
Name the litellm code a datastore call was issued for when its own frames cannot: an operation declared in one task and run in another (a batch op
litellm/_internal_context.py:144
↓ 4 callersFunctionservice_status
(connection: Connection, client: httpx.AsyncClient)
litellm/proxy/lens/adapter.py:112
↓ 4 callersMethodsession_callbacks
(self)
litellm/mcp_client/client.py:551
↓ 4 callersMethodset
(&mut self, field: &str, value: Value)
litellm-rust/crates/router-core/src/group_info.rs:174
↓ 4 callersFunctionsetFiles
(next: readonly DraftFile[])
ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat/usePlaygroundSend.ts:119
↓ 4 callersMethodsetFrom
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callersMethodsetLimit
(e,t,r,a)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 4 callersMethodsetLimit
(e,t,r,a)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 4 callersFunctionsetPending
(next: string)
ui/litellm-dashboard/src/app/(dashboard)/agents/_components/AgentFormKit.tsx:300
↓ 4 callersMethodsetQueriesData
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 4 callersFunctionsetTierModelParam
( current: TierModelParamsByTier | undefined, tier: string, model: string, [key, value]: TierModelPara
ui/litellm-dashboard/src/components/add_model/complexity_router_tiers.ts:121
↓ 4 callersFunctionset_active_span_tag
Best-effort helper to set a tag on the active Datadog span. Returns: bool: True if a span tag was set, False otherwise.
litellm/litellm_core_utils/dd_tracing.py:112
↓ 4 callersMethodset_audio_transcription_duration
(self, duration: float)
litellm/types/utils.py:3033
↓ 4 callersMethodset_cache
(self, key: str, value: object)
litellm/router_utils/pre_call_checks/prompt_caching_deployment_check.py:62
↓ 4 callersMethodset_cache
(self, key: str, value: object, *, ttl: float)
litellm/proxy/hooks/model_budget_shared_windows.py:35
↓ 4 callersMethodset_cache
(self, key, value, **kwargs)
litellm/caching/in_memory_cache.py:175
↓ 4 callersMethodset_cache
(self, key: str, value: object, **kwargs)
litellm/caching/redis_cache.py:804
↓ 4 callersMethodset_cache
(self, key: str, value: object, **kwargs: object)
tests/unit/proxy/anthropic_endpoints/test_gateway_endpoints.py:88
↓ 4 callersMethodset_cache
(&self, _: &str, value: V, _: &ExactCacheContext)
litellm-rust/crates/cache/tests/dual.rs:39
↓ 4 callersFunctionset_env_variables_in_header
checks if any headers on config.yaml are defined as os.environ/COHERE_API_KEY etc only runs for headers defined on config.yaml example
litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:226
↓ 4 callersMethodset_initial_status
(self)
tests/rust-python-harness/shared/reporting/models.py:133
↓ 4 callersMethodset_instance
(self, info: InstanceInfo)
litellm/telemetry/aggregate.py:70
↓ 4 callersMethodset_kwargs
(&mut self, kwargs: Py<PyDict>)
litellm-rust/crates/callbacks-legacy-python/src/call.rs:49
↓ 4 callersFunctionset_local_affinity_pin
Replace the entry because InMemoryCache.set_cache preserves a live key's expiry.
litellm/caching/affinity_cache.py:71
↓ 4 callersMethodset_managed_files
Install a managed_files hook exposing list_user_batches -> page.
tests/unit/proxy/batches_endpoints/test_endpoints.py:2036
↓ 4 callersMethodset_max
`_repair_stale_spend_counter`: raise memory and Redis to `spend`, never lowering either. `None` without Redis, else what Redis holds afterwards.
litellm-rust/crates/redis-store/src/spend_counters/mod.rs:224
↓ 4 callersFunctionset_mcp_message_transport_span
Publish the transport span of the request carrying the current MCP message. Also re-anchors the request root, so everything else the message emit
litellm/integrations/otel/plumbing/context.py:145
↓ 4 callersMethodset_model_id
Set the model id and response id to the given id. Ensure model id is always the same across all chunks. If a valid ID is re
litellm/litellm_core_utils/streaming_handler.py:1066
↓ 4 callersMethodset_param
(self, param_name: str, param_value: object)
tests/unit/proxy/roi_calculator/test_sync.py:85
↓ 4 callersMethodset_param_if_revision
(self, param_name: str, param_value: object, revision: int)
litellm/repositories/config_repository.py:98
↓ 4 callersMethodset_proxy_request_route_attributes
Set OTel-standard ``http.route`` / ``url.path`` on the proxy SERVER span. Called from the auth path, the only point where both the
litellm/integrations/opentelemetry.py:3611
↓ 4 callersMethodset_team_members_metric
(self, team: LiteLLM_TeamTable)
tests/unit/proxy/management_helpers/test_bulk_user_deletion.py:642
↓ 4 callersFunctionsettings
(dynamic: RouterDynamicConfig)
litellm-rust/crates/router-core/src/health.rs:735
↓ 4 callersMethodsettings
(self)
litellm/router_api.py:1552
↓ 4 callersMethodsettings
(&self)
litellm-rust/crates/secrets/src/state.rs:31
↓ 4 callersMethodsettings
(error: impl std::error::Error + Send + Sync + 'static)
litellm-rust/crates/python-bridge/src/secrets/error.rs:40
↓ 4 callersFunctionsettle
Wait for the logging and recording tasks a finished stream scheduled, and any tasks they schedule.
tests/unit/test_router/core/test_request_scoped_outcomes.py:130
↓ 4 callersFunctionsettle
Let the logging and recording tasks a failed stream scheduled run.
tests/unit/test_router/core/test_parity_regress5_streams.py:62
↓ 4 callersFunctionsetup_logging
()
tests/unit/litellm_core_utils/test_litellm_logging.py:13734
↓ 4 callersFunctionsha256_of
(path: Path)
scripts/lint_base_counts.py:76
↓ 4 callersFunctionshadowed_by_builtin_claim
(path: str, builtin_routes: Collection[BaseRoute])
litellm/proxy/route_priority.py:48
← previousnext →21,401–21,500 of 202,479, ranked by callers