MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunction_usage
()
tests/_fake_openai_endpoint_server.py:55
↓ 4 callersFunction_usage_scope
()
tests/unit/proxy/management_endpoints/test_common_daily_activity.py:164
↓ 4 callersFunction_use_redis_backed_cache
(monkeypatch, backend_attributes)
tests/unit/proxy/test_caching_routes.py:342
↓ 4 callersFunction_user_block_on_wire
(wire: Wire, marker: str)
tests/integration/providers/test_responses_bridge_prompt_cache_breakpoint_wire_chaos.py:228
↓ 4 callersFunction_user_chat
(proxy: Gateway, model: str, key: str, text: str)
tests/integration/management/test_user_updates_wedged_coordination_redis.py:372
↓ 4 callersFunction_user_count
Where-aware count() fake: the filtered query (deactivated users) is subtracted from the total to yield the billable count.
tests/unit/enterprise/proxy/management_endpoints/test_internal_user_endpoints.py:28
↓ 4 callersFunction_user_db
(prisma_client: PrismaClient | None)
litellm/proxy/management_endpoints/team_endpoints.py:548
↓ 4 callersFunction_user_markers
(body: Mapping[str, JsonValue])
tests/integration/spend/test_spend_log_caller_session.py:108
↓ 4 callersFunction_user_message
(content: object)
litellm/router_rust/invoke/endpoints.py:192
↓ 4 callersFunction_user_meta_db
(repo: UserRepository)
litellm/proxy/management_endpoints/ui_sso.py:226
↓ 4 callersFunction_user_parts
(body: dict[str, JsonValue], key: str)
tests/integration/messages_endpoint/chat_bridge/test_anthropic_messages_pdf_document_wire.py:56
↓ 4 callersFunction_user_payload
(api_base="https://api.githubcopilot.com")
tests/unit/llms/github_copilot/test_per_user_auth.py:66
↓ 4 callersFunction_user_read_raising
(mocker: MockerFixture, error: Exception)
tests/unit/proxy/management_endpoints/test_internal_user_endpoints.py:5265
↓ 4 callersFunction_user_role
(gateway: Gateway, user_id: str)
tests/integration/management/test_scim_admin_group.py:117
↓ 4 callersFunction_user_row
(user_vector_stores: list[str] | None, teams: tuple[str, ...] = ())
tests/unit/proxy/auth/test_auth_checks_object_access_and_lookup.py:2156
↓ 4 callersFunction_user_rows
(user_id: str)
tests/integration/management/test_user_delete_revokes_keys.py:73
↓ 4 callersFunction_user_table
(prisma_client: PrismaClient)
litellm/proxy/management_helpers/bulk_user_creation.py:266
↓ 4 callersFunction_user_text_item
(text: str)
tests/integration/providers/test_realtime_transcription_guardrail_session_update.py:2172
↓ 4 callersMethod_user_transcript
(text: str)
tests/unit/llms/bedrock/realtime/test_bedrock_realtime_handler.py:1878
↓ 4 callersFunction_user_turn
(text: str)
tests/unit/proxy/spend_tracking/test_spend_tracking_utils.py:7515
↓ 4 callersFunction_users_referencing
(team_id: str)
tests/integration/management/test_team_delete_large_membership.py:102
↓ 4 callersFunction_uses
(surface_check, src: str)
tests/unit/test_router/test_router_surface_check.py:24
↓ 4 callersFunction_uses_inclusive_token_thresholds
(custom_llm_provider: str | None)
litellm/litellm_core_utils/llm_cost_calc/utils.py:122
↓ 4 callersFunction_v1
(gateway: Gateway)
tests/integration/providers/test_responses_bridge_prompt_cache_breakpoint_wire.py:86
↓ 4 callersFunction_v3_claude_code_messages_call
(**overrides)
tests/unit/proxy/guardrails/guardrail_hooks/test_straiker.py:1624
↓ 4 callersFunction_v3_conversation
(messages, session="cc-sess-replay")
tests/unit/proxy/guardrails/guardrail_hooks/test_straiker.py:2365
↓ 4 callersFunction_validate_and_populate_member_user_info
Validate and populate user_email/user_id for a member. Logic: 1. If both user_email and user_id are provided, verify they belong to the
litellm/proxy/management_endpoints/team_endpoints.py:3657
↓ 4 callersFunction_validate_api_endpoint
(api_endpoint: str)
litellm/integrations/focus/destinations/mavvrik_destination.py:62
↓ 4 callersMethod_validate_aws_region_name
Validate that an AWS region name conforms to the expected format (lowercase alphanumerics and hyphens). Raises ValueError otherwise.
litellm/llms/bedrock/base_aws_llm.py:759
↓ 4 callersFunction_validate_environment
(api_key: str | None, api_base: str | None)
tests/unit/llms/databricks/agent/test_databricks_agent_transformation.py:299
↓ 4 callersMethod_validate_required_claims
Raise HTTP 403 if any required_claims are absent from the verified incoming token claims.
litellm/proxy/guardrails/guardrail_hooks/mcp_jwt_signer/mcp_jwt_signer.py:540
↓ 4 callersFunction_validate_soft_budget_value
(soft_budget: float | None)
litellm/proxy/management_endpoints/key_management_endpoints.py:2784
↓ 4 callersFunction_validation_limit_error
(schema: Mapping[str, JsonValue], arguments: Mapping[str, JsonValue])
litellm/proxy/mcp_server/tool_search.py:79
↓ 4 callersFunction_values_of
(request: Request, name: str)
tests/integration/sdk/test_ollama_embedding_wire.py:83
↓ 4 callersFunction_vector_store_table
(prisma_client: "PrismaClient")
litellm/proxy/vector_store_endpoints/management_endpoints.py:53
↓ 4 callersFunction_vendor
(route: Route)
tests/integration/providers/test_responses_bridge_tool_search_undeferred_wire.py:271
↓ 4 callersMethod_verbose_request_line
(self, capsys, monkeypatch, **kwargs)
tests/unit/test_utils.py:7190
↓ 4 callersFunction_verification_row
(key: str)
tests/integration/management/test_key_route_contracts.py:36
↓ 4 callersMethod_verify
(self, license_str: str)
litellm/proxy/auth/litellm_license.py:60
↓ 4 callersFunction_verify_pkce
Return True iff SHA-256(code_verifier) == code_challenge (base64url, no padding).
litellm/proxy/mcp_server/byok_oauth_endpoints.py:59
↓ 4 callersFunction_version_row
(policy_id: str, content: Mapping[str, object])
tests/unit/proxy/policy_engine/test_policy_registry.py:186
↓ 4 callersFunction_versions_client
(table: _VersionsTable)
tests/unit/proxy/policy_engine/test_policy_registry.py:204
↓ 4 callersFunction_vertex_batch_payload
(response: _VertexBatchJsonSource)
litellm/llms/vertex_ai/batches/handler.py:78
↓ 4 callersFunction_vertex_transform
(model, messages, system=None)
tests/unit/llms/vertex_ai/vertex_ai_partner_models/anthropic/test_vertex_ai_partner_models_anthropic_messages_config.py:920
↓ 4 callersFunction_video_error
The provider's own error status wins, and a body that failed on a 2xx answers the caller's status instead, since a 2xx error has the proxy retry a
litellm/llms/volcengine/videos/transformation.py:180
↓ 4 callersFunction_viewer_inference_key
(monkeypatch: pytest.MonkeyPatch, team_id: str | None, *, spend: float = 0.25)
tests/unit/proxy/auth/test_user_api_key_auth_request_flow.py:12541
↓ 4 callersFunction_vision_group
(make_core: MakeCore)
tests/unit/test_router/core/test_construction_precall_characterization_precall.py:700
↓ 4 callersFunction_vision_messages
()
tests/e2e/llm_translation/test_chat_completions_regression_e2e.py:143
↓ 4 callersFunction_vllm
( deployment_id: str = "v", **params: object )
tests/unit/test_router/core/test_gaps_l11100_registry.py:601
↓ 4 callersFunction_vllm_responses_route
(output_text: str)
tests/unit/llms/hosted_vllm/responses/test_hosted_vllm_responses.py:202
↓ 4 callersFunction_vllm_server
(respond: Callable[[Request], Reply])
tests/integration/providers/test_responses_bridge_stream_output_items_wire.py:75
↓ 4 callersFunction_voice_session
( guardrail_proxy: OwnedProxy, scenario: Scenario, response: RealtimeResponse, query: str, steps: tuple[St
tests/integration/providers/test_realtime_transcription_guardrail_session_update.py:2088
↓ 4 callersFunction_wait_for_all_successes
(logger: _RecordingLogger, expected: int)
tests/unit/test_router_silent_experiment.py:159
↓ 4 callersMethod_wait_for_exporter_threads
Dropped providers are shut down off-thread, so poll instead of sleeping.
tests/unit/integrations/test_opentelemetry.py:6896
↓ 4 callersFunction_wait_for_payload
(recorder: _RecordingLogger)
tests/unit/llms/anthropic/messages/native/test_anthropic_messages_router.py:202
↓ 4 callersFunction_wait_for_success_kwargs
(capture: _SuccessKwargsCapture, count: int = 1)
tests/unit/test_utils.py:5472
↓ 4 callersFunction_wait_until_every_worker_serves
(gateway: Gateway, model: str)
tests/integration/providers/test_vector_store_create_wire.py:150
↓ 4 callersFunction_wait_until_gone
(process: psutil.Process, seconds: float)
tests/integration/_support/process.py:194
↓ 4 callersFunction_walking_out_client
A turn-taking client that sets client_left as it hangs up, which the gateway either reads at once or only finds when its next send to the client f
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:9010
↓ 4 callersFunction_wants_retention_job
The retention job runs the age rules, and the size rule too when one cron drives both.
litellm/proxy/proxy_server.py:5832
↓ 4 callersFunction_wants_size_check_job
The size rule gets its own job on maximum_spend_logs_size_check_interval unless a cleanup cron is set.
litellm/proxy/proxy_server.py:5839
↓ 4 callersFunction_warm
(rig: Rig, bodies: tuple[tuple[str, dict], ...])
tests/integration/observability/test_cache_hit_guardrail_metrics_chaos.py:118
↓ 4 callersFunction_waves
(model: str, count: int)
tests/integration/routing/test_deployment_mode_routing_wire.py:357
↓ 4 callersFunction_weather_call
(marker: str)
tests/integration/providers/test_chat_completions_tool_search_history_wire.py:51
↓ 4 callersFunction_weather_result
(marker: str)
tests/integration/providers/test_chat_completions_tool_search_history_wire.py:55
↓ 4 callersFunction_weather_tool
()
tests/unit/proxy/mcp_server/test_semantic_tool_filter.py:2033
↓ 4 callersMethod_web_search_result_block
()
tests/unit/llms/anthropic/chat/guardrail_translation/test_anthropic_guardrail_handler.py:704
↓ 4 callersFunction_webhook
(respx_mock: respx.MockRouter)
tests/unit/integrations/SlackAlerting/test_slack_alerting_delivery.py:60
↓ 4 callersMethod_webhook_url
(self)
litellm/proxy/guardrails/guardrail_hooks/straiker/straiker.py:969
↓ 4 callersMethod_websocket
(self)
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:6314
↓ 4 callersFunction_will_bridge_to_chat_completions
``_bridges_to_chat_completions`` for callers running before the provider config is resolved. Resolving the config is a pure lookup, so this asks
litellm/responses/main.py:769
↓ 4 callersFunction_window
(start: str, end: str, tz: str = "UTC", team_ids=("team-a",))
tests/unit/router_utils/test_access_windows.py:20
↓ 4 callersFunction_window
(freq: str = "hourly", hour: int = 5)
tests/unit/integrations/focus/test_vantage_destination.py:23
↓ 4 callersFunction_wire
(result: CallToolResult | InputRequiredResult, version: str)
tests/unit/proxy/mcp_server/test_result_conversion.py:42
↓ 4 callersFunction_wire_cache_marks
(messages: list[AllMessageValues], model: str = "claude-opus-5-5")
tests/unit/integrations/test_anthropic_cache_control_hook.py:1203
↓ 4 callersFunction_wire_messages
(body: Mapping[str, JsonValue])
tests/integration/providers/test_chat_completions_tool_search_history_wire.py:216
↓ 4 callersFunction_wire_new_team_prisma
(mock_db_client)
tests/unit/proxy/management_endpoints/test_team_endpoints.py:16034
↓ 4 callersMethod_with_encoded_response_id
(self, response: ResponsesAPIResponse)
litellm/responses/litellm_completion_transformation/streaming_iterator.py:730
↓ 4 callersFunction_with_payload
(row: Mapping[str, object])
tests/integration/database/test_spendlogs_delivery.py:61
↓ 4 callersFunction_without_access_group
(access_group_ids: Sequence[str] | None, access_group_id: str)
litellm/proxy/management_endpoints/access_group_endpoints.py:392
↓ 4 callersFunction_without_secret
(record: CliTokenRecord)
litellm/litellm_core_utils/cli_token_utils.py:640
↓ 4 callersFunction_worker_pids
(owned: OwnedProxy)
tests/integration/providers/test_anthropic_refusal_stop_details_chaos.py:167
↓ 4 callersFunction_wrapped_user_lookup_error
Reproduce get_user_object's real exception contract (litellm/proxy/auth/auth_checks.py): it catches every DB failure in a broad ``except`` and re-
tests/unit/proxy/mcp_server/test_discoverable_endpoints.py:8620
↓ 4 callersFunction_write_back_identity
Run the request through a guardrail that changes nothing but returns a new list, which is what puts a compression guardrail on the write-back
tests/unit/proxy/guardrails/guardrail_hooks/test_structured_messages_writeback.py:150
↓ 4 callersFunction_write_config
( directory: Path, upstream_url: str, model: str, callbacks: tuple[str, ...], callback_settings: JsonValue
tests/integration/configuration/test_callback_settings_boot.py:53
↓ 4 callersMethod_write_content_part_text
(part: object, text: str)
litellm/llms/openai/responses/guardrail_translation/handler.py:1477
↓ 4 callersFunction_write_hidden_params
(response: object, hidden_params: dict[str, object])
litellm/litellm_core_utils/add_retry_fallback_headers.py:236
↓ 4 callersFunction_write_observed
(results: Path, observation: Observation)
tests/unit/integration_support/test_routing.py:299
↓ 4 callersFunction_write_pins
(rig: _Rig, marks: Sequence[JsonValue])
tests/integration/routing/test_prompt_cache_pin_memory_routes.py:87
↓ 4 callersFunction_write_tests
(tmp_path: Path, *, mismatch: bool = False, failing: bool = False)
tests/rust-python-harness/strategies/unit_tests_parity/test_runner.py:12
↓ 4 callersMethod_write_through
(self, scope: _Scope, values: Mapping[str, object])
litellm/router_rust/invoke/walk.py:207
↓ 4 callersFunction_write_worker_sample
Write one counter sample into PROMETHEUS_MULTIPROC_DIR the way a proxy worker would.
tests/unit/proxy/test_prometheus_metrics_server.py:38
↓ 4 callersFunction_written_key_row
(prisma: AsyncMock)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:7709
↓ 4 callersFunction_written_metadata
(kind, existing_metadata, body)
tests/unit/proxy/management_endpoints/test_team_endpoints.py:13833
↓ 4 callersFunction_written_metadata_with_budget
Like ``_written_metadata`` but the team already owns a member budget row.
tests/unit/proxy/management_endpoints/test_team_endpoints.py:13940
↓ 4 callersFunction_written_routing_params
( incoming: GenericLiteLLMParams | None, existing: GenericLiteLLMParams | None )
litellm/proxy/management_endpoints/model_management_endpoints.py:849
↓ 4 callersFunction_ws_base
(http_url: str)
tests/integration/providers/test_realtime_unguarded_voice_turns.py:170
↓ 4 callersFunction_xai_streaming
Helper: RealTimeStreaming wired with XAIRealtimeNormalizer.
tests/unit/litellm_core_utils/test_realtime_streaming.py:213
↓ 4 callersFunction_xlitellm_encoded
(raw_id: str, model: str)
tests/unit/litellm_core_utils/prompt_templates/test_file_id_utils.py:343
↓ 4 callersFunctiona
(e)
litellm/proxy/_experimental/out/_next/static/chunks/13d402rvlr6kh.js:1
← previousnext →19,401–19,500 of 202,479, ranked by callers