Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BerriAI/litellm
/ functions
Functions
202,479 in github.com/BerriAI/litellm
⨍
Functions
202,479
◇
Types & classes
26,341
↳
Endpoints
5,595
↓ 3 callers
Method
_validate
(result: Dict[str, Any])
tests/e2e/claude_code/conftest.py:107
↓ 3 callers
Function
_validate_gcs_url
(url: str, label: str)
litellm/integrations/focus/destinations/mavvrik_destination.py:72
↓ 3 callers
Function
_validate_general_settings_ui_litellm_value
(field_name: str, value: object)
litellm/proxy/proxy_server.py:21182
↓ 3 callers
Function
_validate_installation_preference
(spec: PluginSpec)
litellm/proxy/anthropic_endpoints/claude_code_endpoints/claude_code_marketplace.py:504
↓ 3 callers
Function
_validate_managed_identity_request
( request: AgentConfig | PatchAgentRequest, existing: AgentResponse | None = None )
litellm/proxy/agent_endpoints/endpoints.py:573
↓ 3 callers
Function
_validate_mcp_servers_for_key_update
Validate MCP servers in object_permission against the effective team.
litellm/proxy/management_endpoints/key_management_endpoints.py:3536
↓ 3 callers
Function
_validate_public_image_url
Reject anything that isn't a plain http(s) URL with a host. This value is later served via the unauthenticated /get_image endpoint, so local
litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py:1507
↓ 3 callers
Method
_validate_response_time
Validate and clean response time value
litellm/proxy/utils.py:8242
↓ 3 callers
Function
_validate_vertex_ai_lyria_model_info
(raw_model_info: object)
litellm/llms/vertex_ai/common_utils.py:102
↓ 3 callers
Method
_validate_with_guard_server
Call external Onyx Guard server for validation
litellm/proxy/guardrails/guardrail_hooks/onyx/onyx.py:75
↓ 3 callers
Method
_validate_xai_endpoint
(self, url: str)
litellm/llms/xai/oauth.py:287
↓ 3 callers
Function
_validated_model
(model: str | None, listing: _Listing, base_url: str)
litellm/proxy/client/cli/commands/configure_setup.py:168
↓ 3 callers
Function
_vcr_diag_dir
()
tests/_vcr_conftest_common.py:72
↓ 3 callers
Function
_vector
(index: int)
tests/integration/providers/test_ollama_embedding_wire.py:23
↓ 3 callers
Function
_vector_store_options
(litellm_credential_name: object)
tests/unit/rag/ingestion/test_base_ingestion.py:55
↓ 3 callers
Method
_verdict_blocks
(self, repelloai_response: RepelloAIAnalyzeResponse | None)
litellm/proxy/guardrails/guardrail_hooks/repelloai/repelloai.py:261
↓ 3 callers
Function
_verification_token_from_row
(row: Mapping[str, object])
litellm/proxy/management_endpoints/key_management_endpoints.py:443
↓ 3 callers
Method
_verify_incoming_jwt
Verify an incoming Bearer JWT against the configured IdP's JWKS. Returns the verified payload claims dict. Raises jwt.PyJWTE
litellm/proxy/guardrails/guardrail_hooks/mcp_jwt_signer/mcp_jwt_signer.py:440
↓ 3 callers
Function
_version_metadata
(name: str, store: PluginUploadStore, caller: UserAPIKeyAuth)
litellm/proxy/discovery_endpoints/skill_hub_endpoints.py:536
↓ 3 callers
Function
_vertex_answer
( is_async: bool, stream: bool, handler: Callable[[httpx.Request], httpx.Response], credential
tests/unit/llms/vertex_ai/gemini/test_long_decode.py:1254
↓ 3 callers
Function
_vertex_batch_output_row
(custom_id: str, text: str)
tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py:797
↓ 3 callers
Function
_vertex_chat_request_with_output_format
( output_format: object, litellm_params: Mapping[str, object] )
tests/unit/llms/vertex_ai/vertex_ai_partner_models/anthropic/test_vertex_ai_partner_models_anthropic_transformation.py:952
↓ 3 callers
Function
_vertex_credential
(name: str, values: dict)
tests/unit/proxy/pass_through_endpoints/test_passthrough_endpoint_router.py:246
↓ 3 callers
Function
_vertex_credentials
(token_url: str)
tests/integration/security/test_files_batches_access.py:633
↓ 3 callers
Function
_vertex_jsonl
(rows)
tests/unit/batches/test_batch_utils.py:942
↓ 3 callers
Function
_vertex_model
(rig: Rig, scenario: Scenario, model: str)
tests/integration/providers/test_vertex_timestamps_utc_wire.py:198
↓ 3 callers
Function
_vertex_provider_config_for
(monkeypatch, model: str, vertex_location: str | None)
tests/unit/realtime_api/test_main.py:1441
↓ 3 callers
Function
_vertex_target
(stream: bool)
tests/integration/providers/test_vertex_anthropic_inline_tools_beta_wire.py:168
↓ 3 callers
Method
_victim
(self, pid: int)
tests/integration/_support/process.py:320
↓ 3 callers
Method
_victim_file_row
()
tests/unit/proxy/pass_through_endpoints/test_managed_id_rewriter.py:1558
↓ 3 callers
Function
_video_poll
( video_cost: float, guardrail_cost: float = 0.0, session_id: str = "session-jobs", status: str = "complet
tests/unit/proxy/hooks/test_max_budget_per_session_limiter.py:224
↓ 3 callers
Function
_virtual_key
( team_id: str | None = None, key_search_tools: list[str] | None = None, api_key: str = "sk-caller" )
tests/unit/integrations/websearch_interception/test_websearch_interception_handler.py:1050
↓ 3 callers
Function
_visibility_filter
Prisma `where` fragment restricting rows to those the caller can see. Returns None for admins (no restriction).
litellm/proxy/memory/memory_endpoints.py:79
↓ 3 callers
Function
_visible
(page: Page, test_id: str)
tests/e2e/perf/setup/ui_journeys.py:240
↓ 3 callers
Function
_vllm_chat_chunk
(index: int, content: str, finish_reason: str | None = None, **fields: object)
tests/unit/litellm_core_utils/test_streaming_chunk_builder_utils.py:2760
↓ 3 callers
Function
_vllm_choice_fields
(choice: Mapping[str, object])
litellm/litellm_core_utils/llm_response_utils/convert_dict_to_response.py:185
↓ 3 callers
Function
_vllm_proxy
( directory: Path, respond: Callable[[Request], Reply], general_settings: Mapping[str, JsonValue] )
tests/integration/routing/test_vllm_passthrough_stream_usage_settings.py:126
↓ 3 callers
Method
_voice_and_system_prompt
(config: BedrockRealtimeConfig, session: dict[str, object])
tests/unit/llms/bedrock/realtime/test_bedrock_realtime_transformation.py:1730
↓ 3 callers
Function
_voice_turns
(transcripts: tuple[JsonValue, ...])
tests/integration/providers/test_realtime_transcription_guardrail_session_update.py:335
↓ 3 callers
Function
_wait_for_failure_event
(recorder: _FailureRecorder)
tests/unit/llms/anthropic/messages/native/test_streaming_iterator.py:68
↓ 3 callers
Function
_wait_for_requests
(api_key: str, user: str, requests: int)
tests/integration/spend/test_daily_activity_key_owner_traffic.py:143
↓ 3 callers
Function
_wait_until
(predicate: Callable[[], bool], timeout_seconds: float)
tests/unit/test_gate_slot_lock.py:60
↓ 3 callers
Function
_wait_until
(condition: Callable[[], bool])
tests/unit/responses/test_streaming_iterator.py:556
↓ 3 callers
Function
_wait_until
(predicate, timeout: float = 5.0)
tests/unit/integrations/langfuse/test_langfuse_sdk.py:1715
↓ 3 callers
Function
_waiters_on_lock_held_by
(backend_pid: int)
tests/integration/management/test_team_delete_large_membership.py:142
↓ 3 callers
Function
_waiting_on
(table: str)
tests/integration/spend/test_shutdown_flush.py:265
↓ 3 callers
Method
_waitpid_thread_func
Thread function: block until engine PID exits, then notify event loop. Note: uvloop/libuv may reap the child first via waitpid(-1, WNOHANG)
litellm/proxy/utils.py:7253
↓ 3 callers
Function
_walk
(node: object, depth: int)
litellm/proxy/pass_through_endpoints/managed_id_rewriter.py:1361
↓ 3 callers
Function
_walk_batch_pages
(proxy_managed_files, user, limit, max_pages=20)
tests/unit/enterprise/proxy/hooks/test_managed_files.py:4721
↓ 3 callers
Function
_walked
(response: httpx.Response, digests: frozenset[str])
tests/integration/spend/test_daily_activity_key_metadata_query_timeout.py:599
↓ 3 callers
Function
_walked_listing_purpose
(litellm_params: Mapping[str, object])
litellm/llms/bedrock/files/transformation.py:521
↓ 3 callers
Method
_warn_io_token_and_tpm_rpm_coexist_once
(self, deployment: dict)
litellm/router_utils/pre_call_checks/model_rate_limit_check.py:191
↓ 3 callers
Function
_warn_legacy_delegate_auth_if_applicable
Point legacy delegated OAuth configurations at the client-forwarded replacements.
litellm/proxy/mcp_server/mcp_server_manager.py:1749
↓ 3 callers
Function
_warn_oauth_endpoints_unresolved
Log one actionable warning when a server that depends on OAuth endpoint discovery finishes a build without the endpoints that its flows need (LIT-
litellm/proxy/mcp_server/mcp_server_manager.py:1089
↓ 3 callers
Method
_warn_redis
(self, err: Exception)
litellm/proxy/auth/login_throttle.py:411
↓ 3 callers
Function
_warn_unwritable
(key: str, error: Exception)
litellm/router_strategy/least_busy.py:206
↓ 3 callers
Function
_weather_call
(**fields: object)
tests/unit/responses/litellm_completion_transformation/test_litellm_completion_responses.py:7404
↓ 3 callers
Function
_web_call_actions
(items: list[object])
tests/unit/llms/openai/responses/test_openai_responses_guardrail_handler.py:269
↓ 3 callers
Function
_web_call_summaries
( calls: Mapping[str, object] | Iterable[object], )
tests/unit/litellm_core_utils/test_redact_messages.py:251
↓ 3 callers
Function
_web_group
()
tests/unit/test_router/core/test_parity_regress5.py:34
↓ 3 callers
Function
_web_search_block_strings
The strings a client reads off a native web search block: the ``server_tool_use`` query and each ``web_search_tool_result`` result's title and url
litellm/llms/anthropic/chat/guardrail_translation/handler.py:248
↓ 3 callers
Function
_web_search_input_schema
JSON schema for the web search tool's input, shared by every tool format. ``query`` stays required so providers and callers that only unders
litellm/integrations/websearch_interception/tools.py:30
↓ 3 callers
Method
_web_search_stream_chunks
(cls, server_tool_block_type: str = "server_tool_use")
tests/unit/llms/anthropic/chat/guardrail_translation/test_anthropic_guardrail_handler.py:727
↓ 3 callers
Function
_webhook_accepting_posts
()
tests/unit/integrations/SlackAlerting/test_ms_teams.py:24
↓ 3 callers
Function
_websocket
(sent: list[Message])
tests/unit/proxy/proxy_server/test_exception_handlers.py:715
↓ 3 callers
Function
_websocket_first_frame_and_close
( gateway: Gateway, key: str, model: str, marker: str )
tests/integration/routing/test_non_chat_model_endpoint_gate.py:406
↓ 3 callers
Function
_websocket_rejection
(model: str)
tests/integration/routing/test_non_chat_model_endpoint_gate.py:418
↓ 3 callers
Function
_wildcard_name_regex
(name_pattern: str)
litellm/proxy/auth/model_checks.py:609
↓ 3 callers
Function
_window
(prefix: str)
tests/integration/spend/test_prompt_caching_requests_pagination.py:81
↓ 3 callers
Function
_window
(body: dict[str, object])
tests/unit/llms/sail/chat/test_sail_chat_transformation.py:30
↓ 3 callers
Function
_window
(freq: str = "hourly", hour: int = 5)
tests/unit/integrations/focus/test_s3_destination.py:17
↓ 3 callers
Function
_window_for
(team_ids: list[str])
tests/unit/test_router/core/test_selection_characterization_groups.py:693
↓ 3 callers
Function
_window_row
(source_id_column: str, row_id: str, reset_at: datetime)
tests/unit/proxy/common_utils/test_reset_budget_job.py:2709
↓ 3 callers
Function
_windows_command
Build what CreateProcess runs, routing batch shims through cmd.exe. npm installs Claude Code as `claude.cmd`, which PATHEXT lets shutil.which
litellm/proxy/client/cli/commands/agents.py:1000
↓ 3 callers
Method
_wire_bytes
(self, relayed: Sequence[bytes])
tests/unit/proxy/test_common_request_processing.py:12719
↓ 3 callers
Function
_wire_team_create_tx
`/team/new` inserts the team and mirrors it onto the access groups in one transaction, so a mocked client has to hand its team table back out of `
tests/unit/proxy/management_endpoints/test_ui_sso.py:131
↓ 3 callers
Function
_with
(document: TOMLDocument, path: str, snapshot: str | None)
litellm/proxy/client/cli/commands/codex_settings.py:105
↓ 3 callers
Method
_with_client_facing_stream_model
( self, response: ModelResponse | TextCompletionResponse | ResponsesAPIResponse | Interactions
litellm/litellm_core_utils/litellm_logging.py:3244
↓ 3 callers
Method
_with_dynamic_callback
( callbacks: Sequence[str | Callable[..., object] | CustomLogger] | None, callback: Callable[.
litellm/litellm_core_utils/litellm_logging.py:1036
↓ 3 callers
Function
_with_kyma_discount_and_margin
(monkeypatch: pytest.MonkeyPatch)
tests/unit/llms/openai_like/test_kyma_provider.py:328
↓ 3 callers
Function
_with_managed_file_list_ids
( response: VectorStoreFileListResponse, managed_files_obj: object | None, user_api_key_dict: User
litellm/proxy/vector_store_files_endpoints/endpoints.py:105
↓ 3 callers
Function
_with_measured_size
Fill a file object whose provider reported no size (0 bytes) with a size measured elsewhere.
enterprise/litellm_enterprise/proxy/hooks/managed_files.py:223
↓ 3 callers
Function
_with_old_style_strategy
(make_core: MakeCore)
tests/unit/test_router/core/test_parity_regress5.py:256
↓ 3 callers
Function
_with_portable_cache_control
(block: Mapping[str, object])
litellm/llms/anthropic/common_utils.py:2701
↓ 3 callers
Function
_with_reasoning
(chunk: ModelResponseStream, reasoning: str)
tests/unit/responses/litellm_completion_transformation/test_streaming_iterator_transformation.py:1318
↓ 3 callers
Function
_with_target_labels
Resolve every scoped target's id to a display label in one batched read per kind, so the UI can say whose traffic a job shadows: a key's alias and
litellm/proxy/management_endpoints/auto_router_endpoints.py:1613
↓ 3 callers
Function
_with_text
(item: Mapping[str, object], text: str)
tests/unit/completion_extras/litellm_responses_transformation/test_completion_extras_litellm_responses_transformation_history.py:349
↓ 3 callers
Function
_with_trace_context
(headers: Mapping[str, str], parent_span: object)
litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:2657
↓ 3 callers
Function
_with_user_blocks
(message: object, transform: Callable[[object], object])
litellm/llms/anthropic/messages/convertible_blocks.py:171
↓ 3 callers
Function
_within_tolerance
(counted: int, billed: int)
tests/e2e/llm_translation/test_count_tokens_source_e2e.py:197
↓ 3 callers
Function
_without
(values: Mapping[str, JsonValue], *keys: str)
tests/integration/management/test_credential_federation_values.py:248
↓ 3 callers
Function
_without
(config: Mapping[str, JsonValue], field: str)
tests/integration/management/test_auto_router_databricks_classifier_writes.py:108
↓ 3 callers
Function
_without_agent_instructions
(response: ResponsesAPIResponse)
litellm/llms/azure_ai/responses/transformation.py:48
↓ 3 callers
Function
_without_content
(message: Mapping[str, object])
litellm/llms/bedrock/passthrough/guardrail_translation/structured_edits.py:57
↓ 3 callers
Function
_without_credentials
(response: httpx.Response | None)
litellm/litellm_core_utils/exception_mapping_utils.py:313
↓ 3 callers
Function
_without_foreign_open_servers
(tools: tuple[str, ...], open_aliases: frozenset[str])
tests/integration/mcp/test_mcp_oauth_flows.py:66
↓ 3 callers
Function
_without_null_values
A null carries no credential, and the federation resolver refuses a foreign variant's field by KEY, so a stored ``{"anthropic_issuer_url": null}``
litellm/proxy/credential_endpoints/endpoints.py:159
↓ 3 callers
Function
_without_repeated_thinking
( items: Sequence[_Replayed], identity: Callable[[_Replayed], tuple[object, ...] | None] )
litellm/litellm_core_utils/prompt_templates/factory.py:2901
↓ 3 callers
Method
_without_replaced_global_callbacks
( self, global_callbacks: Iterable[str | Callable[..., object] | CustomLogger] )
litellm/litellm_core_utils/litellm_logging.py:5125
↓ 3 callers
Function
_without_top_level_nulls
(fields: Mapping[str, object])
litellm/realtime_api/main.py:132
← previous
next →
25,701–25,800 of 202,479, ranked by callers