MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunction_number
(value: JsonValue)
tests/integration/observability/test_otel_cache_hit_cost.py:231
↓ 4 callersMethod_oauth_discovery_slot_is_current
(self, server_id: str, generation: int)
litellm/proxy/mcp_server/mcp_server_manager.py:2210
↓ 4 callersFunction_oauth_invalid_request
Raise ``invalid_request`` (RFC 6749) with a debuggable description. FastAPI serializes ``detail`` as JSON. Callers still see ``error``: ``inv
litellm/proxy/mcp_server/oauth_utils.py:70
↓ 4 callersFunction_oauth_server_operation
( server_id: str, user_api_key_dict: UserAPIKeyAuth, request: Request | None = None,
litellm/proxy/management_endpoints/mcp_management_endpoints.py:2424
↓ 4 callersFunction_objectSpread
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callersFunction_object_list
(value: object)
litellm/proxy/guardrails/_content_utils.py:92
↓ 4 callersFunction_object_map
(value: object)
litellm/proxy/bug_report_config.py:57
↓ 4 callersFunction_object_mapping
Return ``value`` as an opaque mapping when it is a dict.
litellm/integrations/langfuse/langfuse.py:64
↓ 4 callersFunction_object_permission_table_actions
( prisma_client: "PrismaClient", )
litellm/proxy/db/tool_registry_writer.py:61
↓ 4 callersFunction_object_sequence
(value: object)
litellm/litellm_core_utils/prompt_templates/reasoning_utils.py:106
↓ 4 callersFunction_objects
(value: object)
litellm/llms/anthropic/messages/safeguards.py:257
↓ 4 callersFunction_objects
(node: _JsonObject, key: str)
litellm/integrations/otel/plumbing/otlp_json.py:31
↓ 4 callersFunction_obo_retry_applies
Whether an upstream 401/403 should invalidate the minted credential and retry once. ``oauth2_token_exchange`` can only mint from an inbound subje
litellm/proxy/mcp_server/mcp_server_manager.py:1662
↓ 4 callersFunction_obo_server
(scopes=None)
tests/unit/proxy/mcp_server/test_discoverable_endpoints.py:8153
↓ 4 callersFunction_observation
(text: str)
tests/integration/authorization/test_access_group_model_listing.py:95
↓ 4 callersFunction_observed
(upstream: httpx.Client)
tests/integration/authorization/test_access_group_model_listing.py:74
↓ 4 callersFunction_observed
(upstream: httpx.Client)
tests/integration/spend/test_disable_end_user_cost_tracking.py:114
↓ 4 callersFunction_observed
(upstream: httpx.Client)
tests/integration/management/test_user_updates_wedged_coordination_redis.py:364
↓ 4 callersFunction_observed_bodies
(upstream: httpx.Client)
tests/integration/routing/test_pre_call_response_format_filter.py:79
↓ 4 callersFunction_observing_filter
( patterns: tuple[ContentFilterPattern, ...] = (), categories: tuple[ContentFilterCategoryConfig, ...]
tests/unit/proxy/guardrails/guardrail_hooks/litellm_content_filter/test_content_filter.py:1829
↓ 4 callersFunction_off_peak_reasoning_usage
()
tests/unit/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py:1035
↓ 4 callersFunction_offline
(*transcripts: str)
tests/unit/llms/nvidia_riva/audio_transcription/test_handler.py:198
↓ 4 callersFunction_offload_response
()
tests/unit/proxy/hooks/test_proxy_track_cost_callback.py:3376
↓ 4 callersFunction_one
(tag: str)
tests/integration/messages_endpoint/chat_bridge/test_chat_bridge_multi_tool_call_blocks_wire.py:147
↓ 4 callersFunction_one_call_session
(gateway: Gateway, model: str, key: str, tool: Mapping[str, JsonValue])
tests/integration/providers/test_bedrock_nova_sonic_realtime_tool_calls.py:294
↓ 4 callersFunction_one_chunk
()
tests/unit/proxy/utils/proxy_logging/test_streaming_hooks.py:178
↓ 4 callersFunction_one_turn
(candidate: Gateway, key: str, model: str)
tests/integration/providers/test_openai_responses_websocket_wire.py:118
↓ 4 callersFunction_only
(items: Sequence[dict[str, JsonValue]])
tests/integration/providers/test_responses_compaction_items_wire.py:388
↓ 4 callersFunction_only
(wire: Wire)
tests/integration/providers/test_ollama_embedding_wire.py:40
↓ 4 callersFunction_only_body
(wire: Wire)
tests/integration/messages_endpoint/chat_bridge/test_anthropic_messages_hosted_vllm_reasoning_wire.py:93
↓ 4 callersFunction_only_post
(wire: Wire)
tests/integration/providers/test_azure_responses_api_version_wire.py:34
↓ 4 callersFunction_only_post
(wire: Wire)
tests/integration/providers/test_chat_completions_tool_search_history_wire.py:210
↓ 4 callersFunction_only_streamed_chat
(wire: Wire, *tool_names: str)
tests/integration/providers/test_responses_bridge_stream_output_items_wire.py:88
↓ 4 callersFunction_open
(core: RouterCore, **request: object)
tests/unit/test_router/core/test_gaps_l5600_anthropic.py:34
↓ 4 callersFunction_open_off_peak_block
(model_info: ModelInfo, current_time: datetime | None)
litellm/litellm_core_utils/llm_cost_calc/utils.py:665
↓ 4 callersMethod_open_realtime_backend_ws
Open the backend realtime websocket, retrying a hung open handshake. The upstream Live handshake (e.g. Gemini Live) intermittently hangs on
litellm/llms/custom_httpx/llm_http_handler.py:6800
↓ 4 callersFunction_open_sessions_settling_to
(wire: Wire, at_most: int)
tests/integration/sdk/test_sync_stream_connection_release_wire.py:128
↓ 4 callersFunction_openai
(gateway: Gateway, window: float = _CLIENT_WINDOW)
tests/integration/providers/test_bedrock_stream_timeout_wire.py:191
↓ 4 callersFunction_openai
(gateway: Gateway, key: str)
tests/integration/providers/test_openai_completion_wire.py:63
↓ 4 callersFunction_openai
(rig: _Rig)
tests/integration/providers/test_chatgpt_responses_caller_stream_wire.py:173
↓ 4 callersFunction_openai
(gateway: Gateway, key: str | None = None)
tests/integration/caching/test_response_cache_empty_output.py:82
↓ 4 callersFunction_openai_batch_jsonl_entry_to_vertex_rows
Transforms a single OpenAI JSONL batch entry into the Vertex rows it maps to. `batch_model` is the deployment model the batch runs against a
litellm/llms/vertex_ai/files/transformation.py:829
↓ 4 callersFunction_openai_client
(gateway: Gateway)
tests/integration/providers/test_anthropic_thinking_signature_stream_wire.py:167
↓ 4 callersFunction_openai_client
(proxy: Gateway)
tests/integration/observability/test_arize_otel_v2_openinference_spans.py:171
↓ 4 callersFunction_openai_client
(gateway: Gateway, key: str)
tests/integration/spend/test_disable_end_user_cost_tracking.py:235
↓ 4 callersFunction_openai_compatible
( scenario: Scenario, wire: Wire, backend: str, model_info: Mapping[str, JsonValue], provi
tests/integration/providers/test_pdf_input_support_wire.py:164
↓ 4 callersFunction_openai_config
(path: Path, wire_url: str)
tests/integration/observability/test_passthrough_upstream_error_visibility.py:318
↓ 4 callersFunction_openai_deployment_name
(model: str)
litellm/litellm_core_utils/token_counter.py:845
↓ 4 callersFunction_openai_environment
(gateway: Gateway)
tests/integration/authorization/test_rag_query_vector_store_allowlist.py:101
↓ 4 callersFunction_openai_ir
(raw: Mapping[str, object])
tests/unit/llms/base_llm/decisions/test_base_decisions_transformation.py:113
↓ 4 callersFunction_openai_response_with_usage
(usage: Usage)
tests/unit/llms/anthropic/messages/adapters/test_anthropic_messages_adapters_transformation.py:5089
↓ 4 callersFunction_opened_refresh
(refresh_token, client_id)
tests/unit/proxy/mcp_server/test_gateway_dcr_flow.py:1864
↓ 4 callersFunction_opening
(marker: str)
tests/integration/providers/test_gemini_long_decode_chaos.py:89
↓ 4 callersFunction_opensearch_hits
(text_field: str, embedding_field: str)
tests/unit/llms/opensearch/vector_stores/test_opensearch_transformation.py:85
↓ 4 callersFunction_operator_langfuse
(audit_sinks: SpanSinks)
tests/integration/observability/test_otel_excluded_services.py:92
↓ 4 callersFunction_operator_trace
(rig: Rig, sent: Sent, cursors: Cursors)
tests/integration/observability/test_otel_excluded_services_matrix.py:371
↓ 4 callersFunction_optional_attr
(source: object, name: str)
litellm/llms/anthropic/messages/adapters/transformation.py:32
↓ 4 callersMethod_optional_combine_thinking_block_in_choices
UI's Like OpenWebUI expect to get 1 chunk with <think>...</think> tags in the chunk content In place updates the model_response obje
litellm/litellm_core_utils/streaming_handler.py:1455
↓ 4 callersFunction_optional_str
(value: object)
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:255
↓ 4 callersFunction_org_admin_key
(scenario: Scenario, organization: str)
tests/integration/management/test_batch_limit_metadata_admin_only.py:60
↓ 4 callersFunction_otel_runtime
Resolve the SDK-backed hooks once and cache the outcome, absence included. CPython never caches a failed import, so without this memoization ever
litellm/integrations/otel/runtime.py:25
↓ 4 callersFunction_outcome
(wire: Wire, served: _Served)
tests/integration/sdk/test_router_include_fallback_errors_wire.py:199
↓ 4 callersFunction_output_format_call
( gateway: Gateway, model: str, route: str, marker: str, output_format: JsonValue )
tests/integration/providers/test_vertex_anthropic_structured_output_wire.py:874
↓ 4 callersFunction_output_format_deployment
( gateway: Gateway, scenario: Scenario, api_base: str, route: str, **litellm_params: JsonValue )
tests/integration/providers/test_vertex_anthropic_structured_output_wire.py:864
↓ 4 callersFunction_over_limit
(current: int, limit: int)
tests/unit/caching/test_request_redis_batch_pre_call.py:61
↓ 4 callersFunction_overflowed
The scrape once the key's requests landed on `other` for both request counters, or as soon as the key got a series of its own, so the caller's ass
tests/integration/observability/test_prometheus_series_cap.py:62
↓ 4 callersFunction_override_dependencies
(client: _ByUrl, cache: InMemoryCache, role: LitellmUserRoles)
tests/unit/proxy/ui_crud_endpoints/test_latest_release_endpoints.py:114
↓ 4 callersFunction_override_litellm_callbacks
Swap litellm.callbacks so _callback_capabilities recomputes deterministically.
tests/unit/proxy/hooks/test_parallel_request_limiter_v3.py:5370
↓ 4 callersFunction_overrides
()
tests/integration/caching/test_response_cache_chaos.py:188
↓ 4 callersFunction_oversized_marker_text
~258-char text with markers in the 1st and 3rd 100-byte chunk.
tests/unit/proxy/guardrails/guardrail_hooks/test_presidio.py:4063
↓ 4 callersMethod_own
(self, callback: CustomLogger)
litellm/router_rust/steps/callbacks.py:222
↓ 4 callersFunction_owned_config
(wire: Wire, directory: Path, *, names: Iterable[str] = tuple(_NAMES))
tests/integration/providers/test_bedrock_kimi_k3_cache_point_wire.py:573
↓ 4 callersFunction_owned_config
(tmp_path: Path, text: str)
tests/integration/messages_endpoint/providers/anthropic/test_passthrough_migration_wire.py:187
↓ 4 callersFunction_owned_job
(owner: str | None, status: str = "COMPLETED")
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:6033
↓ 4 callersFunction_owned_key
( gateway: Gateway, scenario: Scenario, fields: dict[str, JsonValue], *, key: str | None = None )
tests/integration/management/test_key_route_contracts.py:18
↓ 4 callersFunction_owned_managed_file
(unified_uuid: str, model_mappings: Mapping[str, str])
tests/unit/enterprise/proxy/hooks/test_managed_files.py:6066
↓ 4 callersFunction_owned_proxy
( directory: Path, model_list: tuple[JsonValue, ...], settings: Mapping[str, JsonValue] )
tests/integration/routing/test_reasoning_effort_levels_chaos.py:153
↓ 4 callersFunction_owned_rig
( directory: Path, callbacks: tuple[str, ...] = (), general: Mapping[str, JsonValue] = _NO_SETTING
tests/integration/authorization/test_agent_denial_logging.py:204
↓ 4 callersFunction_owned_url
(owned: OwnedProxy)
tests/integration/providers/test_realtime_unguarded_voice_turns.py:178
↓ 4 callersFunction_owner_login
(pull: ObservedPull)
litellm/proxy/roi_calculator/observed_analytics.py:62
↓ 4 callersMethod_owns_release
(self)
litellm/responses/mcp/chat_stream_round_billing.py:250
↓ 4 callersFunction_packument
(times: Mapping[str, str], unpublished: frozenset[str] = frozenset())
tests/e2e_harness/cli_harness/test_npm_version_resolver.py:13
↓ 4 callersFunction_page
(store: str, file_ids: tuple[JsonValue, ...], *, has_more: bool = False)
tests/integration/management/test_vector_store_file_list_managed_ids.py:140
↓ 4 callersFunction_page
(*buckets: dict[str, object], next_page: str | None = None)
tests/unit/proxy/spend_tracking/test_spend_capture_rate.py:60
↓ 4 callersFunction_pages
( client: httpx.AsyncClient, path: str, adapter: TypeAdapter[tuple[_T, ...]], params: Mapping[
litellm/proxy/roi_calculator/github.py:301
↓ 4 callersFunction_paid_openai_deployment
(model_name: str, model: str)
tests/unit/test_router/test_router.py:2421
↓ 4 callersFunction_parallel_tool_calls
()
tests/unit/llms/databricks/chat/test_databricks_chat_transformation.py:954
↓ 4 callersFunction_params
(url: str)
tests/unit/proxy/db/test_db_url_settings.py:1054
↓ 4 callersFunction_params
(**kw)
tests/unit/batches/test_main.py:708
↓ 4 callersMethod_parse_arguments_manually
Try to manually parse arguments when JSON parsing fails. This is a fallback for cases where the guardrail modifies the format.
litellm/proxy/utils.py:2439
↓ 4 callersFunction_parse_body
(request: Request)
tests/_fake_openai_endpoint_server.py:77
↓ 4 callersFunction_parse_managed_file_object
(raw_file_object: object, unified_file_id: str)
enterprise/litellm_enterprise/proxy/hooks/managed_files.py:176
↓ 4 callersFunction_parse_mcp_server_names_from_path
Resolve the single MCP server name a cold-start passthrough bypass may target. Delegates parsing to :meth:`MCPRequestHandler.extract_target_se
litellm/proxy/mcp_server/auth/user_api_key_auth_mcp.py:164
↓ 4 callersFunction_parse_oauth_payload
Return the OAuth2 payload dict if ``decoded`` holds one, else ``None``. A row is considered an OAuth2 credential iff its decoded value parses as
litellm/proxy/mcp_server/db.py:1625
↓ 4 callersFunction_parse_object
(text: str, path: str)
ci_cd/cost_map_guard.py:67
↓ 4 callersFunction_parse_off_peak_rate
(value: object)
litellm/litellm_core_utils/llm_cost_calc/utils.py:647
↓ 4 callersMethod_parse_prompt_to_messages
(self, prompt_content: str)
litellm/integrations/gitlab/gitlab_prompt_manager.py:404
↓ 4 callersMethod_parse_prompt_to_messages
Parse prompt content into a list of messages. Handles both simple prompts and multi-role conversations.
litellm/integrations/bitbucket/bitbucket_prompt_manager.py:334
↓ 4 callersFunction_parse_ptu_models
One PTUModel per team the deployment's valid PTU config attributes capacity to, else empty. A deployment held by one team_id yields one entry car
litellm/proxy/spend_tracking/ptu_flat_cost_rollup.py:200
↓ 4 callersFunction_parse_run
(payload: object)
litellm/proxy/pass_through_endpoints/llm_provider_handlers/tinyfish_passthrough_logging_handler.py:114
← previousnext →18,501–18,600 of 202,479, ranked by callers