MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_unencodable_keys
(items: Iterable[tuple[str, object]], lineage: frozenset[int])
litellm/proxy/proxy_server.py:10463
↓ 3 callersFunction_ungoverned_retrieval_warnings
(caplog: pytest.LogCaptureFixture)
tests/unit/proxy/policy_engine/test_response_retrieval.py:218
↓ 3 callersFunction_ungranted
(actions: tuple[str, ...], policy: WebIdentitySessionPolicy)
tests/unit/llms/bedrock/test_web_identity_session_policy.py:691
↓ 3 callersFunction_uniform_tier_config
(tier_model: str)
tests/e2e/router/test_auto_router_regressions_e2e.py:162
↓ 3 callersFunction_unique_model
(scenario: Scenario)
tests/integration/routing/test_fallback_retry_header_contracts.py:77
↓ 3 callersFunction_unknown_team_error
Report an unknown team without telling an unauthorized caller that it is unknown. These routes are reachable by any authenticated caller so that
litellm/proxy/management_endpoints/team_callback_endpoints.py:253
↓ 3 callersFunction_unmanaged_bedrock_file_object
A LiteLLMBatch JSON blob shaped like what gets stored for an unmanaged Bedrock batch (raw s3:// input_file_id, ARN unified_object_id).
tests/unit/proxy/common_utils/test_check_batch_cost.py:113
↓ 3 callersMethod_unprocessed_snapshot
(self, job: ManagedObjectRow)
enterprise/litellm_enterprise/proxy/common_utils/check_batch_cost.py:246
↓ 3 callersFunction_unreachable_anthropic_model
(scenario: Scenario)
tests/integration/providers/test_vertex_batch_row_line_errors_wire.py:329
↓ 3 callersFunction_unresolved_oauth_server
()
tests/unit/proxy/mcp_server/test_discoverable_endpoints.py:140
↓ 3 callersMethod_unrestricted_auth
()
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:7716
↓ 3 callersFunction_until
(done: Callable[[], bool], log: Path, seconds: float = POOL_TIMEOUT_SECONDS)
tests/integration/configuration/test_reload_worker_pool.py:79
↓ 3 callersFunction_until_called
(host: TrafficHost, count: int)
tests/unit/test_router/core/test_selection_characterization_traffic.py:24
↓ 3 callersFunction_until_reached_or_done
(signal: asyncio.Event, sync: "asyncio.Task[object]")
tests/unit/proxy/management_helpers/test_team_roster_sync.py:590
↓ 3 callersFunction_unvalidated_response_with_dict_usage
(usage: dict)
tests/unit/responses/test_streaming_iterator.py:893
↓ 3 callersMethod_update
(n)
litellm/proxy/_experimental/out/_next/static/chunks/3lb5gjzjxjxem.js:1
↓ 3 callersFunction_update_environment
(candidate: Gateway, values: Mapping[str, JsonValue])
tests/integration/observability/test_s3_v2_partition_granularity.py:187
↓ 3 callersFunction_update_frame
(update: dict[str, JsonValue])
tests/integration/providers/test_realtime_unguarded_voice_turns.py:300
↓ 3 callersFunction_update_key_row_with_soft_budget
( prisma_client: PrismaClient, key: str, data: UpdateKeyRequest, non_default_values: Mapping[s
litellm/proxy/management_endpoints/key_management_endpoints.py:2943
↓ 3 callersFunction_update_last_db_access_time
(key: str, value: object | None, last_db_access_time: LimitedSizeOrderedDict)
litellm/proxy/auth/auth_checks.py:2880
↓ 3 callersMethod_update_length
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersMethod_update_litellm_logging_obj_environment
Helper function to update the LiteLLMLoggingObj environment variables. Args: logging_obj (LiteLLMLoggingObj): The loggin
litellm/caching/caching_handler.py:1437
↓ 3 callersMethod_update_messages_with_updated_bedrock_guardrail_response
Use the output from the bedrock guardrail to mask sensitive content in messages. Args: messages: Original list of messag
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:2893
↓ 3 callersMethod_update_metrics_marker
PATCH agent endpoint to advance metricsMarker after a successful upload.
litellm/integrations/focus/destinations/mavvrik_destination.py:277
↓ 3 callersFunction_update_policy_request
( operation: Literal["update", "regenerate"], existing_key_row: LiteLLM_VerificationToken, non_def
litellm/proxy/management_endpoints/key_management_endpoints.py:460
↓ 3 callersMethod_update_proxy_request
Update proxy_server_request body so spend logs record the full request.
litellm/responses/streaming_iterator.py:3518
↓ 3 callersMethod_update_status
( self, **update: Unpack[_StatusUpdate], # kwargs-ok: Unpack preserves the typed status updat
litellm/proxy/roi_calculator/sync.py:748
↓ 3 callersFunction_update_with_object_permission
(max_budget: float)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:14095
↓ 3 callersFunction_uplift
(name: str)
tests/integration/spend/test_passthrough_stream_pricing_paths_spend.py:187
↓ 3 callersFunction_upload
(scenario: Scenario, name: str)
tests/integration/management/test_skill_download_history.py:40
↓ 3 callersFunction_upload
()
tests/unit/test_router/core/test_parity_provider_scoped_fallbacks.py:49
↓ 3 callersFunction_upload
( managed_files: "PROXY_LiteLLMManagedFiles", router: _FakeFilesRouter, target_model_names: list[s
tests/unit/enterprise/proxy/test_managed_files_hook.py:2320
↓ 3 callersFunction_upload_body_bytes
(config: VertexAIFilesConfig, file: object, litellm_params: dict)
tests/unit/llms/vertex_ai/files/test_transformation.py:79
↓ 3 callersFunction_upload_burst
( base_url: str, key: str, mark: str, count: int, *, tolerate_disconnects: bool = False )
tests/integration/management/test_batch_file_usage_caps_chaos.py:113
↓ 3 callersFunction_upload_chunks
(config: VertexAIFilesConfig, file: object, litellm_params: dict)
tests/unit/llms/vertex_ai/files/test_transformation.py:69
↓ 3 callersMethod_upload_csv
(self, client: AsyncHTTPHandler, csv_bytes: bytes, filename: str)
litellm/integrations/focus/destinations/vantage_destination.py:149
↓ 3 callersFunction_uploaded_files
(request: Request)
tests/integration/compatibility/test_audio_transcriptions_wire.py:717
↓ 3 callersFunction_upserted_data
(mock_db)
tests/unit/proxy/management_endpoints/test_config_override_endpoints.py:68
↓ 3 callersFunction_upstream_after
( respx_mock: respx.MockRouter, monkeypatch: pytest.MonkeyPatch, failures: tuple[httpx.Response, ...], str
tests/unit/llms/anthropic/messages/responses_adapters/test_responses_adapters_handler.py:1372
↓ 3 callersFunction_upstream_bodies
(wire: Wire)
tests/integration/authorization/test_audit_any_sweep_auth.py:385
↓ 3 callersFunction_upstream_body
(request: Request)
tests/integration/pricing/test_sail_service_tier_pricing.py:101
↓ 3 callersFunction_upstream_calls
(wire: Wire, text: str)
tests/integration/spend/test_gemini_tts_speech_billing.py:199
↓ 3 callersFunction_upstream_chat
(content: str, streamed: bool)
tests/integration/pricing/test_cost_margin_discount.py:49
↓ 3 callersFunction_upstream_choice_index
(upstream_chunk: object)
litellm/litellm_core_utils/streaming_handler.py:171
↓ 3 callersFunction_upstream_fails_after
(chunks: int)
tests/unit/proxy/proxy_server/test_streaming_helpers.py:1665
↓ 3 callersMethod_upstream_failure
(status_code: int)
tests/unit/proxy/test_common_request_processing.py:12681
↓ 3 callersFunction_upstream_failure_row
(gateway: Gateway, message: str)
tests/integration/spend/test_normalized_error_long_message.py:265
↓ 3 callersFunction_upstream_failure_suffix
(exc: BaseException)
litellm/proxy/mcp_server/mcp_server_manager.py:1657
↓ 3 callersFunction_upstream_first_choice
(upstream_chunk: object)
litellm/litellm_core_utils/streaming_handler.py:155
↓ 3 callersFunction_upstream_log
(gateway: Gateway, handle: ScenarioHandle)
tests/integration/spend/test_background_response_poll_retirement.py:174
↓ 3 callersFunction_upstream_pages
(monkeypatch, pages_by_after)
tests/unit/proxy/container_endpoints/test_endpoints.py:60
↓ 3 callersFunction_upstream_reply
(response: httpx.Response | None)
litellm/litellm_core_utils/exception_mapping_utils.py:319
↓ 3 callersFunction_upstream_response_id
(endpoint: Endpoint, caller_id: str)
tests/integration/providers/test_gemini_thinking_replay_wire.py:440
↓ 3 callersFunction_upstream_status_error
(status_code: int, challenge: str)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:11826
↓ 3 callersMethod_upstream_status_error
Build an httpx.HTTPStatusError shaped like the one the MCP SDK surfaces for an upstream HTTP failure, so _extract_upstream_auth_failure can re
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:2509
↓ 3 callersFunction_upstream_warnings
(log: Path, needle: str = "pass_through_endpoint: upstream")
tests/integration/observability/test_passthrough_upstream_error_visibility.py:122
↓ 3 callersFunction_url
(port: int)
tests/integration/providers/test_count_tokens_model_wire.py:222
↓ 3 callersMethod_url
(self, api_base: str | None)
tests/unit/llms/edenai/messages/test_edenai_anthropic_messages_transformation.py:101
↓ 3 callersMethod_url_for
(self, model, region="us-east-2")
tests/unit/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py:1419
↓ 3 callersFunction_url_params
(message: str = "please authorize")
tests/unit/proxy/mcp_server/test_mcp_elicitation_handler.py:42
↓ 3 callersMethod_urlless_row
(self, **overrides)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:13330
↓ 3 callersFunction_usable_budget_config
(raw_budget_config: object)
litellm/proxy/hooks/model_max_budget_limiter.py:776
↓ 3 callersFunction_usage
(input_tokens: int | None, output_tokens: int | None)
tests/e2e/llm_translation/conversational_matrix.py:356
↓ 3 callersFunction_usage_billed_at
(cost_key: str, prompt_tokens: int = 1000)
tests/unit/test_router/test_router.py:1952
↓ 3 callersMethod_usage_count
(usage_object: Mapping[str, object], *keys: str)
litellm/llms/bedrock/chat/converse_transformation.py:2605
↓ 3 callersFunction_usage_counters
(keys: Sequence[object])
litellm/router_rust/routing_stores.py:103
↓ 3 callersFunction_usage_counts
(usage: JsonValue, total: str, details: str)
tests/integration/providers/test_anthropic_refusal_stop_details_wire.py:1054
↓ 3 callersFunction_usage_field
(usage: object, name: str)
litellm/litellm_core_utils/core_helpers.py:1046
↓ 3 callersFunction_usage_tokens
(usage_obj: object, key: str, fallback_key: str)
litellm/llms/base_llm/guardrail_translation/utils.py:84
↓ 3 callersFunction_usage_triple
(usage: Usage)
tests/unit/test_main.py:4686
↓ 3 callersFunction_use_mantle_bearer
(monkeypatch: pytest.MonkeyPatch)
tests/unit/llms/bedrock_mantle/test_bedrock_mantle_transformation.py:75
↓ 3 callersFunction_user
(text: str)
tests/integration/providers/test_gemini_tool_result_part_reference_wire.py:530
↓ 3 callersFunction_user_api_key_auth_from_request
(request_data: Mapping[str, object])
litellm/integrations/custom_guardrail.py:128
↓ 3 callersFunction_user_can_view_spend_log_owner
( prisma_client: PrismaClient, user_api_key_dict: UserAPIKeyAuth, owner_user: str | None, owne
litellm/proxy/spend_tracking/spend_management_endpoints.py:4807
↓ 3 callersFunction_user_config_request
(model: str, user_config: Mapping[str, object], arrives_with_logging_obj: bool)
tests/unit/proxy/test_route_llm_request.py:2895
↓ 3 callersFunction_user_config_request_outcome
( redis_port: int | None, routing_settings: Mapping[str, object], deployment_limits: Mapping[str,
tests/unit/proxy/test_route_llm_request.py:2571
↓ 3 callersFunction_user_ids_with_prefix
(prefix: str)
tests/integration/management/test_team_delete_large_membership.py:109
↓ 3 callersFunction_user_key_metadata
(user: str)
tests/integration/management/test_batch_limit_metadata_admin_only.py:51
↓ 3 callersFunction_user_message
(text: str)
tests/e2e/llm_translation/test_bedrock_mantle_output_limit_e2e.py:71
↓ 3 callersFunction_user_message
()
tests/e2e/llm_translation/test_gemini_tool_call_id_length_e2e.py:67
↓ 3 callersFunction_user_model_denied_error
(model: str)
tests/integration/management/test_user_updates_wedged_coordination_redis.py:412
↓ 3 callersFunction_user_params
()
tests/unit/a2a_protocol/providers/pydantic_ai_agents/test_pydantic_ai_agent_headers.py:221
↓ 3 callersMethod_user_places_mcp_ceiling
Whether this human's own entitlement bounds their MCP access at all. True when they are entitled to a specific set of servers, and also when
litellm/proxy/mcp_server/auth/user_api_key_auth_mcp.py:4286
↓ 3 callersFunction_user_read_raising
(error: Exception)
tests/unit/proxy/management_endpoints/test_team_endpoints.py:19098
↓ 3 callersMethod_user_servers
(grants: dict[str, list[str] | None])
tests/unit/proxy/mcp_server/auth/test_user_api_key_auth_mcp.py:4866
↓ 3 callersFunction_user_sessions
(db: Prisma, record: BaselineAccountingRecord)
tests/integration/spend/test_baseline_accounting.py:128
↓ 3 callersFunction_user_team_ids
(gateway: Gateway, user_id: str)
tests/integration/management/test_team_member_routes.py:44
↓ 3 callersFunction_user_turn
(shape: PromptShape)
tests/e2e/llm_translation/test_count_tokens_source_e2e.py:167
↓ 3 callersFunction_user_tx_db
(tx: "Prisma")
litellm/proxy/management_helpers/bulk_user_deletion.py:173
↓ 3 callersFunction_utc_epoch
(moment: datetime)
tests/integration/spend/test_autorouter_session_rollup.py:78
↓ 3 callersFunction_v1_model_info_by_deployment_id
(deployment_id: str, user_api_key_dict: UserAPIKeyAuth)
tests/unit/proxy/test_model_list_callback_filter.py:386
↓ 3 callersFunction_v1_model_info_names
(user_api_key_dict: UserAPIKeyAuth, **kwargs)
tests/unit/proxy/test_model_list_discoverable.py:108
↓ 3 callersFunction_v3_messages
(request_body: Mapping[str, object])
litellm/proxy/guardrails/guardrail_hooks/straiker/straiker.py:732
↓ 3 callersFunction_v3_over_limit_response
(rate_limit_type: str = "requests")
tests/unit/proxy/hooks/test_proxy_rate_limit_provider_field.py:487
↓ 3 callersFunction_v3_session_id
A stable id for the conversation, in Kong's order of precedence. Claude Code names its session on the wire and that wins. Then the session LiteLL
litellm/proxy/guardrails/guardrail_hooks/straiker/straiker.py:686
↓ 3 callersFunction_v3_user
Who is asking: the key's own user first, then the end user the request named. The key is the authenticated principal, the way a Kong consumer is,
litellm/proxy/guardrails/guardrail_hooks/straiker/straiker.py:766
↓ 3 callersMethod_valid_body
(self, message=None)
tests/unit/llms/oci/chat/test_oci_generic_chat.py:199
↓ 3 callersFunction_valid_plan
(plan: CountedPromptCachePlan | None)
litellm/proxy/spend_tracking/baseline_accounting.py:97
↓ 3 callersFunction_validate
(gateway: Gateway, config: Mapping[str, JsonValue])
tests/integration/management/test_auto_router_databricks_classifier_writes.py:120
↓ 3 callersMethod_validate
(self, headers: dict, litellm_params: dict)
tests/unit/llms/bedrock_mantle/test_bedrock_mantle_messages_transformation.py:177
← previousnext →25,601–25,700 of 202,479, ranked by callers