MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_register_reasoner
(client: PassthroughClient, resources: ResourceManager)
tests/e2e/llm_translation/test_deepseek_reasoning_e2e.py:35
↓ 3 callersFunction_register_scenario
(gateway: Gateway, scenario_id: str, response: dict[str, JsonValue])
tests/integration/authorization/test_audit_any_sweep_auth.py:22
↓ 3 callersFunction_register_stt
(name: str, **pricing: float)
tests/unit/llms/openai/test_cost_calculation.py:9
↓ 3 callersFunction_registered
(interaction_id: str)
tests/integration/spend/test_background_interaction_settlement.py:309
↓ 3 callersFunction_registered_store
(litellm_params: object)
tests/unit/proxy/vector_store_endpoints/test_vector_store_utils.py:10
↓ 3 callersFunction_registry_calls
(find_many)
tests/unit/proxy/auth/test_auth_checks_object_access_and_lookup.py:3770
↓ 3 callersFunction_registry_with
(*agent_names: str)
tests/unit/proxy/agent_endpoints/auth/test_agent_permission_handler.py:27
↓ 3 callersFunction_registry_with
(*agents: AgentResponse, legacy_ids: dict[str, str] | None = None)
tests/unit/proxy/management_helpers/test_resource_display_names.py:29
↓ 3 callersFunction_reject_from_headers_before_reading_body
Refuse a request its headers already condemn, a blocked key or an exhausted key limit, before reading its body. Only a key already in the cache i
litellm/proxy/auth/user_api_key_auth.py:2260
↓ 3 callersFunction_reject_non_admin_wif_fields
A credential referenced by ``litellm_credential_name`` feeds its values into the same server-owned federation or OAuth token-exchange configuratio
litellm/proxy/credential_endpoints/endpoints.py:110
↓ 3 callersFunction_rejected
(status: int, error_type: str = "invalid_request_error")
tests/integration/providers/test_vertex_partner_count_tokens_wire.py:137
↓ 3 callersFunction_rejecting
(status: int)
tests/integration/providers/test_bedrock_mantle_count_tokens_wire.py:199
↓ 3 callersFunction_rejecting_async_client
()
tests/unit/llms/openai/test_openai.py:781
↓ 3 callersMethod_rejoin_oauth_metadata_discovery
( self, server: MCPServer, *, needed_endpoint: Callable[[MCPServer], str | None] | None = None, retry_
litellm/proxy/mcp_server/mcp_server_manager.py:2444
↓ 3 callersFunction_relay_logging_obj
( model: str, api_base: str, stream: bool = False, callbacks: list[CustomLogger] | None = None
tests/unit/llms/azure_ai/passthrough/test_azure_ai_passthrough_transformation.py:340
↓ 3 callersFunction_relay_logging_obj
(model: str)
tests/unit/llms/azure/passthrough/test_azure_passthrough_transformation.py:86
↓ 3 callersFunction_relay_upstream_through_pass_through_request
( general_settings, status_code, content_type, body, callback_headers=None )
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:6558
↓ 3 callersFunction_release
(tag: str, body: str | None, *, prerelease: bool = False)
tests/unit/proxy/ui_crud_endpoints/test_latest_release_endpoints.py:302
↓ 3 callersMethod_release_answer_close
(self)
litellm/llms/anthropic/chat/handler.py:1380
↓ 3 callersFunction_release_applied_entries_best_effort
( entries: list[dict], default_reserved_cost: float, )
litellm/proxy/spend_tracking/budget_reservation.py:1215
↓ 3 callersFunction_release_budget_reservation
(budget_reservation: dict | None)
litellm/proxy/hooks/proxy_track_cost_callback.py:1452
↓ 3 callersMethod_release_held_calls
(self)
litellm/llms/anthropic/messages/adapters/streaming_iterator.py:406
↓ 3 callersFunction_release_layout
The shipped migrations older than `before`, with the two index migrations written the way the releases that shipped them did: the Prisma layout of
tests/integration/database/migrations/test_request_log_indexes.py:91
↓ 3 callersFunction_release_realtime_max_parallel_slot
(user_api_key_dict: UserAPIKeyAuth)
litellm/proxy/proxy_server.py:14174
↓ 3 callersFunction_released
(pending: _Request)
tests/integration/messages_endpoint/chat_bridge/test_chat_bridge_disconnect_wire.py:170
↓ 3 callersFunction_reload_failure_response
Map the live-user revalidation failure onto its OAuth error, exhaustively, so a new ``ReloadUserFailure`` member is a type error here rather than
litellm/proxy/mcp_server/gateway_dcr_flow.py:1509
↓ 3 callersMethod_remaining_timeout_ms
The per-statement bound for work this job delegates, as a callable. Partition maintenance issues one statement per partition, so han
litellm/proxy/db/db_transaction_queue/spend_log_cleanup.py:741
↓ 3 callersMethod_remap_beta_session_to_ga
Convert a beta-style session.update payload to the GA nested schema. Beta → GA field mappings ──────────────────────────────
litellm/litellm_core_utils/realtime_streaming.py:2019
↓ 3 callersFunction_remote_media
(remote: _RemoteImage | _RemoteFile | _RemoteSource)
litellm/litellm_core_utils/prompt_templates/image_handling.py:414
↓ 3 callersFunction_remote_url
(candidate: object)
litellm/litellm_core_utils/prompt_templates/image_handling.py:187
↓ 3 callersMethod_remove_internal_custom_logger_callbacks
Removes internal custom logger callbacks from the list.
litellm/litellm_core_utils/litellm_logging.py:5203
↓ 3 callersMethod_remove_metric_child
Remove the Prometheus child for ``label_values`` and report whether the tracker should commit the matching state change. Ret
litellm/integrations/prometheus_helpers/bounded_prometheus_series_tracker.py:146
↓ 3 callersFunction_rename_duplicate_bedrock_document_names
Rename duplicate document names across all messages in a Bedrock request. Document names are derived from a content hash, so the same file a
litellm/litellm_core_utils/prompt_templates/factory.py:4636
↓ 3 callersFunction_render_cli_sso_verification_page
( verify_url: str, browser_complete_token: str, prefill_user_code: str | None = None, team_cho
litellm/proxy/management_endpoints/ui_sso.py:673
↓ 3 callersFunction_render_debug_page
Drive /sso/debug/callback and return the raw response body.
tests/unit/proxy/management_endpoints/test_ui_sso.py:9276
↓ 3 callersFunction_rendered_realtime_event
(event: Mapping[str, JsonValue], scenario_id: str)
tests/integration/_support/upstream.py:843
↓ 3 callersFunction_replay
(output: Sequence[BaseModel])
tests/unit/responses/litellm_completion_transformation/test_anthropic_responses_bridge.py:623
↓ 3 callersFunction_replay
(model: str, question: ChatMessage, first: OutMessage)
tests/e2e/llm_translation/test_bedrock_converse_redacted_thinking_e2e.py:259
↓ 3 callersFunction_replay_body
(*events: dict[str, object])
tests/unit/responses/test_responses_api_lifecycle.py:160
↓ 3 callersFunction_replay_messages
(marker: str, follow_up: str, deltas: Sequence[Event])
tests/integration/providers/test_anthropic_thinking_signature_stream_wire.py:189
↓ 3 callersFunction_replayed_search_call
(*tool_calls: dict[str, object])
tests/unit/integrations/test_anthropic_cache_control_hook.py:1218
↓ 3 callersFunction_replayed_to_converse
( gateway: Gateway, wire: Wire, model: str, assistants: list[JsonValue], **fields: JsonValue )
tests/integration/providers/test_bedrock_converse_redacted_thinking_wire.py:491
↓ 3 callersFunction_replies_with
(values: dict[str, object])
tests/unit/caching/test_request_redis_batch_pre_call.py:377
↓ 3 callersFunction_reply
( request_id: str, *, response_provider: bool, stream_provider_mode: Literal["all", "last", "n
tests/integration/spend/test_openrouter_upstream_provider.py:27
↓ 3 callersFunction_reply
(path: str, text: str)
tests/integration/caching/test_cache_max_messages.py:115
↓ 3 callersMethod_repo
(self, metadatas: List[Optional[Dict[str, Any]]])
tests/unit/repositories/test_repositories.py:2380
↓ 3 callersFunction_report
( gateway: Gateway, path: str, *, key: str | None = None, params: Mapping[str, str] | None = None )
tests/integration/spend/test_scoped_spend_reports.py:40
↓ 3 callersMethod_report
()
tests/unit/types/llms/test_types_llms_openai.py:648
↓ 3 callersFunction_reported_cost_breakdown
( monkeypatch: pytest.MonkeyPatch, model: str, call_type: Literal["completion", "decisions"],
tests/unit/test_cost_calculator.py:11480
↓ 3 callersFunction_repository
(table: _RecordingPermissionTable)
tests/unit/proxy/db/test_object_permission_repository.py:25
↓ 3 callersFunction_request
( proxy: OwnedProxy, mode: _Mode, endpoint: str = "/v1/messages" )
tests/integration/messages_endpoint/chat_bridge/test_chat_bridge_disconnect_wire.py:140
↓ 3 callersFunction_request
(app: FastAPI)
tests/unit/proxy/test_native_compaction.py:50
↓ 3 callersFunction_request
(method: str, path: str, body: bytes = b"")
tests/unit/integrations/open_telemetry/test_otel_admin_endpoints.py:355
↓ 3 callersMethod_request
(self, method: str, path: str)
tests/unit/proxy/vector_store_endpoints/test_vector_store_endpoints.py:2978
↓ 3 callersMethod_request
(body: object, query_params: Mapping[str, str] | None = None)
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:9919
↓ 3 callersMethod_request
(self, optional_params: dict)
tests/unit/llms/edenai/chat/test_edenai_chat_transformation.py:194
↓ 3 callersFunction_request_body
(endpoint: str, model: str, prompt: str)
tests/integration/spend/test_daily_activity_key_owner_traffic.py:100
↓ 3 callersFunction_request_body
(respx_mock)
tests/unit/llms/edenai/embedding/test_edenai_embedding_transformation.py:36
↓ 3 callersFunction_request_body
(respx_mock)
tests/unit/llms/edenai/messages/test_edenai_anthropic_messages_transformation.py:75
↓ 3 callersFunction_request_carries_marker
(data: Mapping[str, object], marker: str | None)
litellm/integrations/custom_guardrail.py:279
↓ 3 callersFunction_request_cost
()
tests/unit/proxy/test_route_llm_request.py:2617
↓ 3 callersFunction_request_data_added_by_the_proxy
( sent: dict[str, object], request_headers: dict[str, str], general_settings: dict[str, object] )
tests/unit/proxy/test_litellm_pre_call_utils.py:1183
↓ 3 callersFunction_request_failure_row
(logging_obj: Logging, success_row: StandardLoggingPayload)
tests/unit/responses/mcp/test_aresponses_api_with_mcp.py:2567
↓ 3 callersFunction_request_host
(request)
tests/_vcr_conftest_common.py:447
↓ 3 callersFunction_request_id_headers
(request_id: str)
tests/integration/providers/test_openai_like_response_headers_wire.py:144
↓ 3 callersMethod_request_kwargs
(session_id: str)
tests/unit/router_strategy/test_complexity_router.py:8696
↓ 3 callersFunction_request_logging_obj
(call_type: str, *callbacks: CustomLogger)
tests/unit/integrations/websearch_interception/test_websearch_agentic_loop_cap.py:641
↓ 3 callersFunction_request_marker_from_body
(body: Mapping[str, JsonValue])
tests/integration/providers/_responses_bridge_prompt_cache_breakpoint.py:397
↓ 3 callersFunction_request_metadata_bucket
(kwargs: Mapping[str, object])
litellm/router_utils/fallback_event_handlers.py:480
↓ 3 callersMethod_request_response_result_to_trace
Resolves the request and response objects for `openai.Completion`.
litellm/integrations/weights_biases.py:138
↓ 3 callersFunction_request_strip_headers
Headers to drop before forwarding a request to a plugin backend. Every header user_api_key_auth accepts as a litellm credential is stripped —
litellm/proxy/plugin_routes.py:90
↓ 3 callersFunction_request_structured_messages
(request_data: dict)
litellm/proxy/guardrails/guardrail_hooks/straiker/straiker.py:271
↓ 3 callersFunction_request_token_async
Async version of _request_token_sync.
litellm/llms/gigachat/authenticator.py:209
↓ 3 callersFunction_request_token_sync
Request new access token from GigaChat OAuth endpoint (sync). Returns: tuple of (access_token, expires_at_ms)
litellm/llms/gigachat/authenticator.py:172
↓ 3 callersFunction_request_tool_names
(tool: object)
litellm/proxy/guardrails/guardrail_hooks/tool_permission.py:129
↓ 3 callersFunction_request_whose_body_must_not_be_read
( api_key: str, method: str = "POST", path: str = "/v1/chat/completions", declared_bytes: int = 8388608 )
tests/unit/proxy/auth/test_user_api_key_auth_request_flow.py:13783
↓ 3 callersFunction_request_with_content_length
(content_length: int)
tests/unit/proxy/auth/test_auth_utils.py:5728
↓ 3 callersFunction_request_with_key
(metadata_field: str = "metadata")
tests/unit/proxy/auth/test_fallback_model_access.py:36
↓ 3 callersFunction_requested_level
(requested: RequestedReasoningEffort)
litellm/litellm_core_utils/reasoning_effort_capability.py:237
↓ 3 callersFunction_require_admin
(user: UserAPIKeyAuth, *, write: bool)
litellm/proxy/alerting_endpoints/model_deprecation_alerts.py:41
↓ 3 callersFunction_require_admin
(caller: UserAPIKeyAuth)
litellm/proxy/discovery_endpoints/skill_hub_endpoints.py:265
↓ 3 callersFunction_require_admin_viewer
(user_api_key_dict: UserAPIKeyAuth, action: str)
litellm/proxy/management_endpoints/auto_router_endpoints.py:1095
↓ 3 callersFunction_require_cryptography
()
litellm/llms/oci/common_utils.py:40
↓ 3 callersFunction_require_proxy_admin
(user_api_key_dict: UserAPIKeyAuth)
litellm/proxy/management_endpoints/subscription_accounts.py:237
↓ 3 callersFunction_require_proxy_admin
(user_api_key_dict: UserAPIKeyAuth)
litellm/proxy/management_endpoints/access_group_endpoints.py:180
↓ 3 callersFunction_require_row
(client: SpendClient, request_id: str)
tests/e2e/quota_management/spend_tracking/test_cache_cost_accounting_e2e.py:107
↓ 3 callersFunction_required_agent_id
(id: str | None, name: str | None, llm_provider: str)
litellm/interactions/agents/main.py:119
↓ 3 callersFunction_requires_oauth_discovery
( server_url: str | None, use_issuer_anchor: bool, server: MCPServer, )
litellm/proxy/mcp_server/mcp_server_manager.py:352
↓ 3 callersFunction_rerank_failure
( failure: Exception, *, raised_before_routing: bool, monkeypatch: pytest.MonkeyPatch, hea
tests/unit/proxy/rerank_endpoints/test_endpoints.py:129
↓ 3 callersFunction_reseed_prisma
(spend: float)
tests/unit/proxy/spend_tracking/test_spend_counter_batch.py:366
↓ 3 callersFunction_reservation
( itpm_reserved: int, otpm_reserved: int, itpm_cache_key: str | None, otpm_cache_key: str | None )
litellm/router_utils/pre_call_checks/io_token_rate_limit_check.py:389
↓ 3 callersFunction_reservation_key
(deployment_id: str)
litellm/router_strategy/least_busy.py:137
↓ 3 callersFunction_reservation_value
(value: int, limit: int | None)
litellm/router_utils/pre_call_checks/io_token_rate_limit_check.py:502
↓ 3 callersFunction_reserve_for_tiny_budget_key
(route: str, request_body: dict[str, object])
tests/unit/proxy/spend_tracking/test_budget_reservation.py:118
↓ 3 callersMethod_reserve_redis_batch_keys
Atomically choose keys to fetch from Redis and reserve their access time. This prevents check-then-act races under concurrent async c
litellm/caching/dual_cache.py:291
↓ 3 callersFunction_reserved
(window: dict[str, object])
tests/unit/test_router/core/test_selection_characterization_groups.py:703
↓ 3 callersFunction_reset_budget_admin
()
tests/unit/proxy/management_endpoints/test_team_endpoints.py:16829
↓ 3 callersMethod_reset_budget_common
In-place, updates spend=0, and sets budget_reset_at to current_time + budget_duration Common logic for resetting budget for a team,
litellm/proxy/common_utils/reset_budget_job.py:1658
↓ 3 callersFunction_reset_spend
(gateway: Gateway, team_id: str, user_id: str, reset_to: float)
tests/integration/spend/test_team_member_total_spend_reconciliation.py:98
↓ 3 callersMethod_resolution_for
(self, key: str)
litellm/proxy/config_resolvers/settings_store.py:192
← previousnext →24,701–24,800 of 202,479, ranked by callers