MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersMethodreceived
(self, marker: str)
tests/integration/providers/test_bedrock_passthrough_request_metadata_wire.py:121
↓ 4 callersMethodreceived
(self, markers: tuple[str, ...])
tests/integration/configuration/test_callback_delete.py:237
↓ 4 callersMethodreceived
(self, identity: str)
tests/integration/caching/response_cache_case.py:224
↓ 4 callersFunctionrecord
(hook: str, kwargs: dict[str, object], response_obj: object)
tests/unit/litellm_core_utils/test_litellm_logging.py:2853
↓ 4 callersFunctionrecord
( kwargs: dict[str, object], response_obj: object, start_time: datetime, end_t
tests/unit/proxy/common_utils/test_check_batch_cost.py:5023
↓ 4 callersFunctionrecord
(seq: int = 0, *, started_at: float = 100)
tests/e2e_harness/perf/test_run.py:13
↓ 4 callersMethodrecord_applied_timeout
(self, timeout: float | Timeout)
litellm/litellm_core_utils/litellm_logging.py:1282
↓ 4 callersMethodrecord_bridged_model_response
The chat completion a /v1/messages response was translated from. The Anthropic shape served to the caller has no field for reasoning tokens,
litellm/litellm_core_utils/litellm_logging.py:5299
↓ 4 callersMethodrecord_error_attributes_on_span
Stamp structured ``error.*`` attributes on the SERVER span from the exception returned to the client, with ``error.code`` pinned to the real
litellm/integrations/opentelemetry.py:3647
↓ 4 callersMethodrecord_failure
Record a failed attempt and cool the deployment down when the rules say so. Returns the cooldown applied, if any.
litellm-rust/crates/router-core/src/health.rs:385
↓ 4 callersMethodrecord_failure_after_earlier_rounds
Bill a failed round on the failure log after the rounds of its request before it were billed on the success log. The fixed margin is
litellm/litellm_core_utils/litellm_logging.py:2707
↓ 4 callersMethodrecord_served_rounds_for_failure
(self, served_rounds: tuple[ServedRound, ...])
litellm/litellm_core_utils/litellm_logging.py:2867
↓ 4 callersMethodrecord_skip
(self, target: str, reason: FallbackSkipReason)
litellm/router_utils/fallback_event_handlers.py:244
↓ 4 callersFunctionrecorded_guardrail_information
(source: Mapping[str, object])
litellm/proxy/policy_engine/pipeline_executor.py:769
↓ 4 callersFunctionrecorded_requests
(url: str)
tests/integration/_support/otlp_sink.py:358
↓ 4 callersFunctionrecorded_stream
(root: Path)
tests/e2e_harness/test_provider_edge.py:995
↓ 4 callersFunctionrecorder
(name: &str, client_loop: Option<&str>)
litellm-rust/crates/python-bridge/src/redis/events.rs:234
↓ 4 callersFunctionrecords_of_key
(node: JsonValue, api_key: str)
tests/integration/_support/daily_activity.py:226
↓ 4 callersMethodrecv
(self, decode: Optional[bool] = None)
tests/_ws_vcr.py:56
↓ 4 callersFunctionredacted_response_obj_for_custom_logger
(response_obj: object, custom_logger: CustomLogger)
litellm/litellm_core_utils/redact_messages.py:109
↓ 4 callersFunctionredeem_code
( contract: CliAuthContract, client_id: str, redirect_uri: str, code: str, code_verifier:
litellm/proxy/client/cli/commands/pkce_login.py:323
↓ 4 callersMethodredis_breaker_hook
(self, transitions_to: str | None, failure_class: str | None)
litellm/integrations/prometheus_services.py:151
↓ 4 callersMethodrefresh
( &self, key: K, load: impl Future<Output = Result<Option<V>, E>>, )
litellm-rust/crates/secrets-types/src/cache.rs:49
↓ 4 callersFunctionrefusal
(identity: str)
tests/integration/messages_endpoint/safeguards/test_safeguard_results_synthesized_streams.py:185
↓ 4 callersFunctionrefuse_while_owned
Refuse while `lite up` or `lite autoroute start` holds a backup it will restore over any write; a purely local check, so commands run it before an
litellm/proxy/client/cli/commands/claude_settings.py:248
↓ 4 callersFunctionrefuses
(status: int)
tests/integration/providers/_gemini_long_decode_support.py:127
↓ 4 callersFunctionregion
( settings: &KeyManagementSettings, environment: &dyn Lookup, )
litellm-rust/crates/secrets-aws/src/auth.rs:72
↓ 4 callersFunctionregisterBaseUrlGetter
(getter: Getter<string>)
ui/litellm-dashboard/src/lib/http/runtime.ts:27
↓ 4 callersFunctionregisterErrorHandler
(handler: (message: string) => void)
ui/litellm-dashboard/src/lib/http/runtime.ts:39
↓ 4 callersFunctionregister_client
(contract: CliAuthContract, redirect_uri: str, http: Http)
litellm/proxy/client/cli/commands/pkce_login.py:277
↓ 4 callersFunctionregister_exporter_factory
Register a custom exporter ``factory`` for the exporter ``kind``.
litellm/integrations/otel/plumbing/providers.py:108
↓ 4 callersFunctionregister_mcp_server
Allow team members to submit an MCP server for admin review. Creates the server with approval_status=pending_review. Requires
litellm/proxy/management_endpoints/mcp_management_endpoints.py:1595
↓ 4 callersFunctionregister_scenario_deployment
( scenario: Scenario, case: CostTrackingTestCase, marker: str, key: str, *, response:
tests/integration/cost_calculation/conftest.py:276
↓ 4 callersFunctionregistry
(entries: Value)
litellm-rust/crates/router-core/src/lookup.rs:774
↓ 4 callersFunctionreject_malformed_tool_result_text
( messages: Iterable[Mapping[str, object]], model: str, forwarded_kwargs: Mapping[str, object] )
litellm/llms/anthropic/messages/convertible_blocks.py:423
↓ 4 callersFunctionrejected
()
litellm-rust/crates/redis-resolve/tests/catalog.rs:28
↓ 4 callersMethodrelease
(self)
litellm/litellm_core_utils/total_deadline.py:139
↓ 4 callersMethodrelease_health_check_lock
Release the global health check lock.
litellm/proxy/health_check_utils/shared_health_check_manager.py:110
↓ 4 callersFunctionrelease_spend_counter_batch
()
litellm/proxy/spend_tracking/spend_counter_batch.py:180
↓ 4 callersMethodreleased_stream_as_ended
(self, responses_so_far: Sequence[object])
litellm/llms/openai/responses/guardrail_translation/handler.py:1724
↓ 4 callersFunctionreload_beta_headers_config
Force reload the beta headers configuration from source (remote or local). Clears the cache and fetches fresh configuration. Returns:
litellm/anthropic_beta_headers_manager.py:219
↓ 4 callersMethodreload_prompt
(self, prompt: PromptSpec)
litellm/proxy/prompts/prompt_registry.py:245
↓ 4 callersFunctionreload_schedule_status
(schedule: ReloadSchedule | None)
litellm/proxy/common_utils/periodic_reload_schedule.py:126
↓ 4 callersFunctionremaining
(ttl: Ttl)
litellm-rust/crates/redis-client/tests/client.rs:69
↓ 4 callersMethodremaining
(&self, now: Duration)
litellm-rust/crates/redis-store/src/router_cooldowns/types.rs:16
↓ 4 callersFunctionremoveLocalStorageItem
(key: string)
ui/litellm-dashboard/src/utils/localStorageUtils.ts:26
↓ 4 callersMethodremove_callback_from_list_by_object
Remove callbacks that are methods of a particular object (e.g., router cleanup)
litellm/litellm_core_utils/logging_callback_manager.py:120
↓ 4 callersFunctionrenderWithQueryClient
( component: React.ReactElement, options?: { searchParams?: string; onUrlUpdate?: OnUrlUpdateFunction }, )
ui/litellm-dashboard/src/components/Teams.test.tsx:191
↓ 4 callersFunctionrender_case_outcome
(result: CaseResult)
tests/rust-python-harness/shared/reporting/rendering.py:22
↓ 4 callersFunctionrender_soniox_tokens_as_vtt
Render Soniox tokens as WebVTT subtitle format. Returns the VTT header even if no cues are present.
litellm/llms/soniox/common_utils.py:168
↓ 4 callersFunctionreplace_ciphertexts
(value: JsonValue, replacement_for: ReplaceCiphertext, depth: int = 0)
litellm/proxy/db/master_key_migration.py:56
↓ 4 callersFunctionreplace_group
( candidate: Gateway, team: str, users: Sequence[str], *, display_name: str | None = None )
tests/integration/_support/scim.py:81
↓ 4 callersFunctionreplaced
(gateway: Gateway, name: str, **fields: JsonValue)
tests/integration/management/test_claude_code_plugin_installation_preference.py:72
↓ 4 callersFunctionreplay_upload
(root: Path, body: bytes, boundary: str)
tests/e2e_harness/test_provider_edge.py:395
↓ 4 callersFunctionreply
( identity: str, model: str, output: Sequence[Mapping[str, JsonValue]], *, stream: bool, pause: float = 0
tests/integration/_support/tool_search.py:188
↓ 4 callersFunctionrepository_zip
(entries: tuple[tuple[str | zipfile.ZipInfo, bytes], ...])
tests/unit/proxy/discovery_endpoints/test_skill_import.py:33
↓ 4 callersMethodrepr
(&self)
litellm-rust/crates/http/src/error.rs:575
↓ 4 callersFunctionrequest
(fields: Value)
litellm-rust/crates/llms/src/anthropic/messages/thinking.rs:456
↓ 4 callersMethodrequest
( self, method: str, path: str, body: Mapping[str, JsonValue] | None = None,
tests/integration/_support/client.py:106
↓ 4 callersMethodrequest
( self, method: str, path: str, *, headers: Mapping[str, str] | None =
tests/integration/_support/actors.py:69
↓ 4 callersMethodrequest_body
( &self, request: MessagesRequest, headers: &Headers, drop_params: bool, )
litellm-rust/crates/llms/src/vertex_ai/messages/transformation.rs:138
↓ 4 callersFunctionrequest_for
( ctx: SessionContext, native_session_id: str | None = None, prompt: str = "hi" )
tests/unit/llms/claude_code/harness/test_transformation.py:205
↓ 4 callersFunctionrequest_guardrail_fingerprint
(request_metadata: Mapping[str, object])
litellm/integrations/shadow_eval_logger.py:337
↓ 4 callersMethodrequest_headers
(&self)
litellm-rust/crates/auth-gcp/src/sdk.rs:27
↓ 4 callersFunctionrequest_payload
( inputs: GenericGuardrailAPIInputs, request_data: Mapping[str, object], input_type: Literal["requ
litellm/proxy/guardrails/guardrail_hooks/conduct/conduct.py:47
↓ 4 callersFunctionrequested_dangerous_tool_use
(safeguards: object)
litellm/llms/anthropic/messages/safeguards.py:266
↓ 4 callersFunctionrequire_caller_user_id_for_non_admin
Return the caller's user_id, or raise 403 if missing. Non-admin analytics endpoints scope queries by the caller's own user_id. Service-accoun
litellm/proxy/management_endpoints/common_utils.py:130
↓ 4 callersFunctionrequired_limits
A model entry (exact name, then the most specific `*` pattern) wins over the providers of the model's deployments, which win over the default. A m
litellm/proxy/management_helpers/model_quota_policy.py:109
↓ 4 callersMethodrequires_session_configuration
(self)
litellm/llms/gemini/realtime/transformation.py:1863
↓ 4 callersFunctionreread
()
tests/unit/proxy/mcp_server/outbound_credentials/test_redis_refresh_coordinator.py:67
↓ 4 callersFunctionresent_without_rejected_reasoning
(sent_encrypted_reasoning: bool)
litellm/llms/anthropic/messages/adapters/handler.py:144
↓ 4 callersMethodreserve
(self, size: int)
litellm/proxy/lens/buffering.py:39
↓ 4 callersMethodreserve_io_tokens
Reserve ``estimated_input_tokens`` against project ITPM descriptors and ``estimated_output_tokens`` against project OTPM descriptors.
litellm/proxy/hooks/parallel_request_limiter_v3.py:2284
↓ 4 callersFunctionreset
()
ui/litellm-dashboard/src/components/team/useMemberBudgetReset.ts:85
↓ 4 callersMethodreset
(self)
tests/integration/providers/test_malformed_tools_chaos.py:135
↓ 4 callersFunctionresetFields
(form: McpForm, names: readonly string[], defaults: MountedFormValues = {})
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mcpFormStore.ts:29
↓ 4 callersFunctionresetForm
()
ui/litellm-dashboard/src/app/(dashboard)/policies/_components/add_attachment_form.tsx:178
↓ 4 callersFunctionreset_mcp_message_transport_span
(token: "Token[Span | None]")
litellm/integrations/otel/plumbing/context.py:170
↓ 4 callersFunctionreset_team_member_budget_fn
Put a team member back on the team's shared default member budget (`team_member_budget`). Drops the member's own budget row link so team-wid
litellm/proxy/management_endpoints/team_endpoints.py:4505
↓ 4 callersFunctionresolve
(state: Arc<SecretManagerState>, name: &'static str)
litellm-rust/crates/python-bridge/src/secrets/resolved.rs:85
↓ 4 callersFunctionresolveAvailableModel
(requiredModel: string, availability: ModelAvailability)
ui/litellm-dashboard/src/lib/autorouter_presets.ts:224
↓ 4 callersFunctionresolveEffectiveMcpServers
({ allServers, selectedServers, selectedAccessGroups, selectedToolsets, toolsets, toolPermissions,
ui/litellm-dashboard/src/components/mcp_server_management/effectiveMcpServers.ts:177
↓ 4 callersFunctionresolveFirst
()
ui/litellm-dashboard/src/app/(dashboard)/agents/_components/AgentsPanel.test.tsx:229
↓ 4 callersMethodresolve_admitted_subject_tools
Effective tool allowlist on ``server_id`` for an admitted subject, as the union over the sources that actually grant that server. A s
litellm/proxy/mcp_server/auth/user_api_key_auth_mcp.py:2674
↓ 4 callersFunctionresolve_aws_region
The region a caller configured: `aws_region_name`, then the model's own region, then the environment. Each service decides what a missing one means.
litellm-rust/crates/auth-aws/src/aws.rs:707
↓ 4 callersFunctionresolve_beta_provider
Pick the beta allowlist row for one deployment, not one provider string. An ``anthropic`` deployment whose ``api_base`` is a Foundry host is
litellm/anthropic_beta_headers_manager.py:413
↓ 4 callersFunctionresolve_cache
(yaml: &str)
litellm-rust/crates/gateway/src/redis/surface_tests.rs:59
↓ 4 callersFunctionresolve_complexity_router_config_write
( incoming: Mapping[str, object] | None, stored: Mapping[str, object] | None )
litellm/router_strategy/complexity_router/config.py:812
↓ 4 callersMethodresolve_connection_params
( self, inputs: OcrCredentialInputs, )
litellm-rust/crates/inference-ocr/src/provider_config.rs:142
↓ 4 callersMethodresolve_credentials
(self, auth_params: AwsAuthParams, aws_region_name: str | None)
tests/unit/llms/opensearch/vector_stores/test_opensearch_transformation.py:342
↓ 4 callersMethodresolve_deployment
(self, deployment: object, request_kwargs: object)
tests/unit/test_router/core/test_deprecated_members.py:611
↓ 4 callersFunctionresolve_deployment_reasoning_effort
( requested: RequestedReasoningEffort, *, model: str, custom_llm_provider: str | None, dep
litellm/litellm_core_utils/reasoning_effort_capability.py:269
↓ 4 callersFunctionresolve_endpoint_url
(api_base: str, model: str)
litellm/llms/databricks/agent/transformation.py:107
↓ 4 callersMethodresolve_headers
( &self, auth: &litellm_auth_azure::AzureAuthService, connection: &OcrConnection,
litellm-rust/crates/llms/src/azure_ai/ocr/transformation.rs:140
↓ 4 callersFunctionresolve_litellm_executed_provider
( llm_router: "Router", model: str, team_id: str | None, lacks_files_api: FilesApiProbe = upst
litellm/proxy/batches_endpoints/litellm_executed_batches.py:264
↓ 4 callersFunctionresolve_managed_agent
( claims: Mapping[str, object], client: object, *, cache: UserApiKeyCache | None = None, )
litellm/proxy/agent_endpoints/identity_store.py:243
↓ 4 callersFunctionresolve_managed_agent_ceilings
(agent: "AgentResponse")
litellm/proxy/agent_endpoints/auth/agent_access_groups.py:113
↓ 4 callersFunctionresolve_mantle_region
(params: Mapping[str, object])
litellm/llms/bedrock_mantle/common_utils.py:43
↓ 4 callersFunctionresolve_request_priority
( requested: object, default_priority: int | None, drops_params: Callable[[], bool] )
litellm/router_utils/request_priority.py:39
↓ 4 callersFunctionresolve_s3_log_prompts_only
(configured: object, environ: Mapping[str, str] | None = None)
litellm/integrations/s3.py:30
← previousnext →21,201–21,300 of 202,479, ranked by callers