MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 5 callersFunction_pinned
(**tier_params: object)
tests/unit/test_router/core/test_gaps_l14000_selection.py:320
↓ 5 callersFunction_plain_credential
(name: str = "ordinary-cred")
tests/unit/proxy/credential_endpoints/test_endpoints.py:1174
↓ 5 callersFunction_plain_log_format
The plain-text log format, colorized only when both streams are an interactive terminal.
litellm/_logging.py:665
↓ 5 callersFunction_plain_model
(scenario: Scenario, wire: Wire, **extra: JsonValue)
tests/integration/providers/test_strands_decider_agentcore_wire.py:741
↓ 5 callersFunction_plans
(prefix: str, count: int)
tests/integration/observability/test_guardrail_stream_scope_chaos.py:315
↓ 5 callersFunction_plugin
(name: str, enabled: bool)
tests/unit/proxy/anthropic_endpoints/test_claude_code_skill_access.py:31
↓ 5 callersFunction_policy
(settings: TelemetrySettings)
tests/unit/proxy/telemetry/test_settings.py:14
↓ 5 callersFunction_poll
(limiter: PROXY_VirtualKeyModelMaxBudgetLimiter, batch: LiteLLMBatch, response_cost: float)
tests/unit/proxy/hooks/test_model_max_budget_limiter.py:100
↓ 5 callersFunction_poll
(proxy: ProxyClient, attempt: Callable[[], T | None], failure: str)
tests/e2e/management/test_model_tag_accessgroup_e2e.py:38
↓ 5 callersFunction_poll_chat_ok
(client: ManagementClient, key: str, model: str)
tests/e2e/management/test_management_e2e.py:100
↓ 5 callersMethod_poll_cycles
( self, monkeypatch: pytest.MonkeyPatch, ages: dict[str, timedelta], cycles: int, page_size: int = 2
tests/unit/proxy/common_utils/test_check_batch_cost.py:2992
↓ 5 callersFunction_poll_team
( client: ManagementClient, team_id: str, ready: Callable[[TeamInfoData], bool], failure: str )
tests/e2e/management/test_team_management_e2e.py:185
↓ 5 callersFunction_populate
(directory, files)
tests/unit/test_assert_workflow_dir_hygiene.py:76
↓ 5 callersFunction_post
(client: httpx.Client, key: str, path: str, body: Mapping[str, JsonValue])
tests/integration/providers/test_vertex_anthropic_structured_output_wire.py:1024
↓ 5 callersFunction_post
(body: object)
tests/unit/proxy/management_endpoints/management_v1/test_users.py:55
↓ 5 callersFunction_post_mock
The `post` the test injected, typed as the mock it is so call inspection stays checked.
tests/unit/proxy/guardrails/guardrail_hooks/test_airia.py:54
↓ 5 callersFunction_post_through_the_azure_deployments
( proxy_app: FastAPI, mock_add_litellm_data: AddLitellmDataToRequest, mock_pre_call_hook: PreCallH
tests/unit/proxy/realtime_endpoints/test_realtime_webrtc_endpoints.py:1641
↓ 5 callersFunction_posted
(wire: Wire)
tests/integration/sdk/test_router_include_fallback_errors_wire.py:124
↓ 5 callersFunction_posted
(wire: Wire)
tests/integration/routing/test_azure_passthrough_spend_row.py:111
↓ 5 callersFunction_posted_texts
(route: respx.Route)
tests/unit/integrations/SlackAlerting/test_slack_alerting_delivery.py:64
↓ 5 callersFunction_predict_output_file_uri
Compute the deterministic per-job result file URI Bedrock writes to. Bedrock lays results out as:: <output_prefix>/<job-id>/<basena
litellm/llms/bedrock/batches/handler.py:68
↓ 5 callersFunction_predict_response
(payload: object)
tests/unit/llms/vertex_ai/vertex_embeddings/test_embedding_handler.py:50
↓ 5 callersMethod_prepare_block_failure_payload
Build a failure-style payload using the exception text as response. Blocked-tool events are security-relevant and **bypass sampling**:
litellm/integrations/rubrik.py:924
↓ 5 callersFunction_prepare_fallback_hidden_params
( fallback_response: object, )
litellm/router_rust/invoke/streaming.py:553
↓ 5 callersFunction_prepare_headers_in_scope
(server: MCPServer, scope_servers)
tests/unit/proxy/mcp_server/test_mcp_server_tool_calls_and_headers.py:787
↓ 5 callersMethod_prepare_log_data
( self, kwargs, response_obj, start_time, end_time, credential
litellm/integrations/langsmith.py:196
↓ 5 callersMethod_prepare_log_data
(self, kwargs, response_obj, start_time, end_time)
litellm/integrations/argilla.py:162
↓ 5 callersFunction_present
(entries: Iterable[tuple[str, AttributeValue | None]])
litellm/integrations/langfuse/langfuse_sdk.py:188
↓ 5 callersFunction_price
(entry: str)
tests/integration/pricing/test_search_mode_pricing.py:38
↓ 5 callersFunction_priced_model
(scenario: Scenario)
tests/integration/spend/test_team_member_spend.py:141
↓ 5 callersFunction_print_json
(data: object)
litellm/proxy/client/cli/commands/credentials.py:38
↓ 5 callersFunction_prisma
(batch_: MagicMock)
tests/unit/proxy/db/test_spend_log_tool_index.py:48
↓ 5 callersFunction_probability
(marker: str)
tests/integration/providers/test_cloudflare_clef_images_wire.py:81
↓ 5 callersMethod_probe
Run /health/test_connection and hand back the upstream request it made.
tests/unit/proxy/health_endpoints/test_health_endpoints.py:5460
↓ 5 callersFunction_probe_upstream_auth
JSON-RPC initialize-probe the upstream URL to check whether the token is accepted. Uses POST so StreamableHTTP MCP servers run the same auth
litellm/proxy/mcp_server/server.py:2158
↓ 5 callersMethod_process_enkryptai_guardrails_response
Process the response from the Enkrypt AI Guardrails API Args: response: The response from the API with 'summary' and 'de
litellm/proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:175
↓ 5 callersMethod_process_guardrail_metadata
Process guardrails from metadata and add to applied_guardrails, leaving out the pre_call policy pipeline steps that have not run. Wit
litellm/proxy/utils.py:2975
↓ 5 callersFunction_process_keys_for_user_info
( keys: Sequence[LiteLLM_VerificationToken] | None, all_teams: list[LiteLLM_TeamTable] | list[TeamList
litellm/proxy/management_endpoints/internal_user_endpoints.py:1337
↓ 5 callersFunction_profile_converse_data
()
tests/unit/llms/bedrock/passthrough/guardrail_translation/test_handler.py:1483
↓ 5 callersMethod_project
(self, project: str | int)
litellm/proxy/roi_calculator/gitlab.py:175
↓ 5 callersFunction_project_key
(scenario: Scenario, model: str)
tests/integration/observability/test_prometheus_shared_custom_labels.py:165
↓ 5 callersFunction_project_table
(prisma_client: PrismaClient)
enterprise/litellm_enterprise/proxy/management_endpoints/project_endpoints.py:71
↓ 5 callersFunction_prompt
(label: str)
tests/integration/providers/test_inferenceapis_context_window_fallbacks_wire.py:284
↓ 5 callersFunction_prompt_json
(value: object)
litellm/llms/anthropic/messages/safeguards.py:323
↓ 5 callersFunction_prompts_only_logger
(s3_log_prompts_only: bool | None = None)
tests/unit/integrations/test_s3_v2.py:2701
↓ 5 callersFunction_provider_echoing_its_key
(source: str)
tests/integration/configuration/test_effective_settings.py:1145
↓ 5 callersFunction_provider_file_retrieve_credentials
( *, llm_router: Router | None, model_id: str | None, )
enterprise/litellm_enterprise/proxy/hooks/managed_files.py:245
↓ 5 callersFunction_provider_handler
(provider: object)
litellm/llms/pass_through/guardrail_translation/handler.py:248
↓ 5 callersFunction_provider_key
(env_var: str)
tests/e2e/router/test_auto_router_regressions_e2e.py:158
↓ 5 callersFunction_proxy
( gateway: Gateway, directory: Path, database_url: str, wire_url: str, *, general_sett
tests/integration/spend/test_daily_activity_key_metadata_query_timeout.py:265
↓ 5 callersFunction_proxy_exception_to_http_exception
Map a ``ProxyException`` to an ``HTTPException`` that preserves its real status code and headers. ``user_api_key_auth`` raises ``ProxyExcepti
litellm/proxy/mcp_server/server.py:448
↓ 5 callersFunction_proxy_logging_like_the_live_proxy
(active_limiter: object)
tests/unit/llms/anthropic/messages/context_management/test_compact.py:1745
↓ 5 callersFunction_proxy_logging_obj
(model: str = "rate-limited")
tests/unit/proxy/test_route_llm_request.py:2536
↓ 5 callersFunction_proxy_model_table
(prisma_client: PrismaClient)
litellm/proxy/management_endpoints/model_management_endpoints.py:344
↓ 5 callersFunction_proxy_server_imports
()
litellm/proxy/google_endpoints/agents_endpoints.py:114
↓ 5 callersFunction_proxy_session
(proxy_server_url: str, **extra_headers: str)
tests/integration/mcp/test_proxy_mcp_e2e.py:680
↓ 5 callersFunction_proxy_success_kwargs
(reservation: Mapping[str, object])
tests/unit/test_router/test_io_token_rate_limits.py:1596
↓ 5 callersFunction_proxy_url
(gateway: Gateway)
tests/integration/providers/test_bedrock_converse_stream_event_frames_wire.py:199
↓ 5 callersFunction_proxy_url
()
tests/integration/providers/test_openai_realtime_transcription_url.py:106
↓ 5 callersMethod_ptu_deployment
(model_id: str)
tests/unit/proxy/management_endpoints/test_ptu_model_settings.py:709
↓ 5 callersFunction_published_prices
(gateway: Gateway, model: str)
tests/integration/spend/test_vertex_regional_uplift_spend.py:124
↓ 5 callersFunction_push
(candidate: Gateway, model: str, key: str, marker: str, count: int)
tests/integration/observability/test_s3_v2_upload_fanout.py:939
↓ 5 callersFunction_quality_high_cost_low_router
()
tests/unit/router_strategy/test_router_tag_routing.py:2657
↓ 5 callersFunction_query_ids
(value: str | None)
litellm/proxy/management_endpoints/daily_activity_scopes.py:63
↓ 5 callersFunction_query_raw
(prisma_client: "PrismaClient", sql_query: str, *params: object)
litellm/proxy/management_endpoints/user_agent_analytics_endpoints.py:160
↓ 5 callersFunction_question
(marker: str)
tests/integration/providers/test_custom_prompt_template_chaos.py:56
↓ 5 callersFunction_quote_promql_string_literal
Render ``value`` as a PromQL double-quoted string literal. PromQL string literals follow Go's escape rules (https://prometheus.io/docs/promet
litellm/integrations/prometheus_helpers/prometheus_api.py:107
↓ 5 callersFunction_rail_scans
(rows: Sequence[Request], rail_name: str, marker: str)
tests/integration/observability/test_guardrail_stream_scope_chaos.py:374
↓ 5 callersMethod_raise_for_status
(self, raw_response: httpx.Response)
litellm/llms/gemini/agents/transformation.py:105
↓ 5 callersFunction_raise_on_strategy_router_write_violation
( incoming_params: GenericLiteLLMParams | None, existing_params: GenericLiteLLMParams | None, mode
litellm/proxy/management_endpoints/model_management_endpoints.py:439
↓ 5 callersFunction_raise_original_mid_stream_error
Surface the provider error the stream wrapper carried instead of the internal MidStreamFallbackError.
litellm/router_rust/invoke/streaming.py:499
↓ 5 callersFunction_raised
(call: dict[str, JsonValue])
tests/integration/sdk/test_provider_error_and_extra_body_families_wire.py:153
↓ 5 callersFunction_rate
(prices: dict[str, JsonValue], key: str)
tests/integration/spend/test_vertex_regional_uplift_spend.py:134
↓ 5 callersFunction_rate_limit
(attempt: int)
tests/unit/test_router_retry_non_retryable_errors.py:39
↓ 5 callersMethod_read
(self, repo: str, start: date, end: date, kind: Literal["pull", "issue"])
litellm/proxy/roi_calculator/github_observed.py:164
↓ 5 callersMethod_read_auth_file
(self)
litellm/llms/chatgpt/authenticator.py:157
↓ 5 callersFunction_read_through_proxy
( monkeypatch: pytest.MonkeyPatch, query: Mapping[str, str], upstream: httpx.Response )
tests/unit/proxy/response_api_endpoints/test_endpoints.py:1583
↓ 5 callersFunction_read_token_file
()
litellm/litellm_core_utils/cli_token_utils.py:472
↓ 5 callersFunction_reader
(payload)
tests/unit/proxy/mcp_server/outbound_credentials/test_v2_token_store.py:10
↓ 5 callersFunction_real
( weight: int, *, tpm: int | None = None, timeout: float | None = None, input_cost_per_tok
tests/e2e/router/test_reliability_routing_strategies_e2e.py:86
↓ 5 callersFunction_realtime
(gateway: Gateway, model: str, key: str)
tests/integration/providers/test_bedrock_nova_sonic_realtime_tool_calls.py:278
↓ 5 callersFunction_realtime_update
(turn_detection: JsonValue)
tests/integration/providers/test_realtime_transcription_guardrail_session_update.py:367
↓ 5 callersMethod_reasoning_index
(self)
litellm/responses/litellm_completion_transformation/streaming_iterator.py:323
↓ 5 callersFunction_rebuild_logging_obj
(create_context: BackgroundInteractionCreateContext)
litellm/interactions/background_cost_polling.py:366
↓ 5 callersFunction_record_cache_failure
(kind: str, exc: BaseException)
tests/_vcr_redis_persister.py:41
↓ 5 callersFunction_record_call
( writer: DBSpendUpdateWriter, call_id: str, *, token: str = "2c70e12b7a0646f92279f427c7b38e7334d8e5389cff
tests/integration/database/test_spendlogs_ledger_parity.py:1263
↓ 5 callersFunction_record_object_permission_writes
(mock_prisma_client: AsyncMock, events: list[str])
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:14066
↓ 5 callersFunction_record_raising_guardrail
(request_data: Mapping[str, object], callback: object)
litellm/proxy/utils.py:613
↓ 5 callersFunction_record_replacement_success
( router: litellm.Router, deployment_id: str = "replacement", response: object = None )
tests/unit/router_utils/pre_call_checks/test_session_id_affinity.py:74
↓ 5 callersFunction_record_response_ids
(response_ids: tuple[str, ...])
tests/integration/observability/_logging_only_scope_support.py:215
↓ 5 callersFunction_record_streaming_client_disconnect_if_needed
( request: Request | None, request_data: dict, client_disconnected: bool = False, )
litellm/proxy/common_request_processing.py:402
↓ 5 callersMethod_record_verdict
( self, data: dict[str, object], # mutable-ok: standard guardrail logging appends into the re
litellm/proxy/guardrails/guardrail_hooks/agent_365/agent_365.py:630
↓ 5 callersFunction_recording_policy
(events: list[str], allowed: bool)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:14076
↓ 5 callersFunction_recording_prisma
A prisma client whose only exercised call is the health-check read, recorded for assertions.
tests/unit/proxy/public_endpoints/public_v1/test_model_hub.py:85
↓ 5 callersFunction_redact_command_error
(error: subprocess.CalledProcessError)
litellm-proxy-extras/litellm_proxy_extras/utils.py:222
↓ 5 callersFunction_redact_sensitive_agent_fields
Return copies of the given agents with credential-bearing litellm_params values and kill-switch auth secrets replaced by a fixed marker (neve
litellm/proxy/agent_endpoints/endpoints.py:210
↓ 5 callersFunction_redacted_span_as_the_proxy_builds_it
(payload: dict[str, Any])
tests/unit/integrations/datadog/test_datadog_llm_obs.py:604
↓ 5 callersFunction_redis
()
tests/integration/routing/test_responses_websocket_turn_admission.py:95
↓ 5 callersFunction_redis_ttl
``RedisCache.get_ttl``: a NaN TTL, which ``int()`` refuses, takes the default TTL.
litellm/redis/stores/auth_cache/__init__.py:23
↓ 5 callersFunction_refresh_server
(**overrides)
tests/unit/proxy/mcp_server/test_db_credentials.py:1288
← previousnext →14,801–14,900 of 202,479, ranked by callers