MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_small_chat
(gateway: Gateway, model: str, key: str)
tests/integration/authorization/test_reject_before_body.py:23
↓ 3 callersMethod_snapshot
(self)
tests/integration/_support/routing.py:266
↓ 3 callersFunction_snippet
(text: object, max_len: int = 200)
litellm/proxy/guardrails/usage_endpoints.py:821
↓ 3 callersFunction_socket_opened_on
(dual_cache: "DualCache")
tests/unit/responses/test_responses_websocket_all_providers.py:1731
↓ 3 callersFunction_soniox_config
(drop_params: bool)
tests/unit/llms/soniox/realtime/test_soniox_realtime_transformation.py:641
↓ 3 callersFunction_span_error_from_exception
A ``SpanError`` for a proxy-level failure that never produced a ``StandardLoggingPayload`` (auth / validation / malformed-body rejections), mi
litellm/integrations/otel/logger.py:104
↓ 3 callersFunction_spans
(batches: Sequence[Request])
tests/integration/observability/test_langfuse_delivery.py:147
↓ 3 callersFunction_spans_the_legacy_logger_exports
( destinations: tuple[OtelDestination, ...], call: Mapping[str, object] = _HOOK_CALL )
tests/unit/integrations/test_langfuse_otel.py:1573
↓ 3 callersFunction_spans_under
(exporter: InMemorySpanExporter, parent: Span, polls: int = 100)
tests/unit/rust_bridge/host/test_redis_events.py:146
↓ 3 callersMethod_spawn
Start a child, or None once ``stop`` ran; both take the lock so no child can slip in after a stop. The port has to be free first: a listener
litellm/proxy/db/pgbouncer.py:540
↓ 3 callersFunction_speaks_system_one
(route: Route)
tests/integration/providers/test_cloudflare_clef_omni_media_wire.py:121
↓ 3 callersFunction_speech_body
(model: str, text: str, voice: str, **extra: JsonValue)
tests/integration/providers/test_gemini_tts_voice_mapping_owned_proxy.py:88
↓ 3 callersMethod_speed_anywhere
(optional_params: Mapping[str, object])
tests/unit/test_utils.py:3830
↓ 3 callersFunction_spend_log_cache_key
(digest: str, window: tuple[datetime, datetime])
litellm/proxy/spend_tracking/key_metadata_recovery.py:395
↓ 3 callersFunction_spend_log_forbidden
(request_id: str)
litellm/proxy/spend_tracking/spend_management_endpoints.py:4821
↓ 3 callersFunction_spend_log_present
(request_id: str)
tests/integration/spend/test_daily_tag_spend_retention.py:58
↓ 3 callersFunction_spend_log_row
(metadata: Mapping[str, object])
tests/unit/proxy/spend_tracking/test_spend_tracking_utils.py:6851
↓ 3 callersFunction_spend_reaches
(table: Literal["key", "team"], identity: str, amount: float)
tests/integration/spend/test_budget_limit_envelopes.py:61
↓ 3 callersFunction_spend_reset_data
(budget_reset_at: datetime | None, spend_decrement: float)
litellm/repositories/unit_of_work.py:27
↓ 3 callersFunction_spend_row
(request_id: str)
tests/integration/providers/test_openai_chat_wire.py:265
↓ 3 callersFunction_spend_row
(call_id: str)
tests/integration/providers/test_sagemaker_chat_wire.py:86
↓ 3 callersFunction_spend_row
(call_id: JsonValue)
tests/integration/mcp/test_mcp_accounting_guardrails.py:407
↓ 3 callersFunction_spend_row
(response: httpx.Response)
tests/integration/spend/test_spend_log_caller_session.py:240
↓ 3 callersFunction_spend_row_of
( model_call_details: dict[str, object], )
tests/unit/llms/bedrock/realtime/test_bedrock_realtime_handler.py:81
↓ 3 callersFunction_spend_rows
(key: str, count: int)
tests/integration/providers/test_vertex_realtime_multi_region_host.py:248
↓ 3 callersFunction_spend_rows
(model: str, expected: int)
tests/integration/providers/test_responses_bridge_tool_search_chaos.py:324
↓ 3 callersFunction_spend_rows
(model: str, expected: int)
tests/integration/providers/test_chatgpt_responses_caller_stream_wire.py:109
↓ 3 callersFunction_spend_rows
(model: str, expected: int)
tests/integration/providers/test_bedrock_runtime_chat_completions_chaos.py:148
↓ 3 callersFunction_spend_rows
(model: str, expected: int)
tests/integration/providers/test_responses_bridge_tool_search_wire.py:534
↓ 3 callersFunction_spend_rows
(call_id: str)
tests/integration/observability/test_bedrock_converse_stream_post_call_guardrail.py:463
↓ 3 callersFunction_spend_rows
(call_ids: tuple[str, ...], *, seconds: float = 70)
tests/integration/spend/test_vertex_image_regional_uplift.py:132
↓ 3 callersFunction_spend_statuses
(model: str, expected: int)
tests/integration/providers/test_ollama_prompt_tools_chaos.py:240
↓ 3 callersFunction_spend_update_tx
( prisma_client: PrismaClient, table: str, call_type: str = "commit_spend_updates", outer_tran
litellm/proxy/db/db_spend_update_writer.py:447
↓ 3 callersFunction_split_context_management
Return (the edits the Responses API runs natively, the edits the gateway polyfill runs). The Responses API compacts natively (``compact_20260112`
litellm/llms/anthropic/messages/responses_adapters/handler.py:74
↓ 3 callersFunction_split_group_texts
Cut each group's rewritten text back into its fragments, sized like the original fragments.
litellm/llms/bedrock/passthrough/guardrail_translation/handler.py:704
↓ 3 callersMethod_split_spdx_expression
Split an SPDX license expression into its component identifiers. Returns ``None`` when the string is not a recognizable SPDX expression
tests/code_coverage_tests/check_licenses.py:189
↓ 3 callersFunction_sse
(events: tuple[Mapping[str, JsonValue], ...], named: bool)
tests/integration/providers/test_inferenceapis_wire.py:53
↓ 3 callersFunction_sse
(record: Mapping[str, JsonValue])
tests/integration/providers/test_sagemaker_chat_wire.py:292
↓ 3 callersFunction_sse
(event: dict)
tests/unit/proxy/guardrails/guardrail_hooks/test_llm_shield_proxy.py:123
↓ 3 callersFunction_sse_agent_handler
(upstream_response: httpx.Response)
tests/unit/proxy/agent_endpoints/test_a2a_endpoints.py:2858
↓ 3 callersFunction_sse_data_payload
(event_str: str)
litellm/llms/anthropic/messages/stream_assembly.py:293
↓ 3 callersFunction_sse_event
(event_type: str, payload: Mapping[str, object])
litellm/llms/anthropic/messages/native/streaming_iterator.py:209
↓ 3 callersFunction_sse_events
(sse: bytes)
litellm/llms/bedrock/passthrough/guardrail_translation/handler.py:1029
↓ 3 callersFunction_sse_events
(text: str)
tests/integration/observability/test_signoz_delivery.py:138
↓ 3 callersFunction_sse_events
(body: str)
tests/integration/spend/test_spend_log_tool_payload_content.py:85
↓ 3 callersFunction_sse_events_message_delta
(response: Mapping[str, object])
tests/unit/llms/anthropic/messages/native/test_streaming_iterator.py:1625
↓ 3 callersMethod_sse_generator_failing_with
(failure: Exception)
tests/unit/proxy/test_common_request_processing.py:12622
↓ 3 callersFunction_sse_payload
(response: httpx.Response)
tests/integration/mcp/test_mcp_access_matrix.py:650
↓ 3 callersFunction_sse_payloads
(lines: Iterable[str])
tests/integration/providers/test_bedrock_converse_missing_content_wire.py:235
↓ 3 callersFunction_sse_payloads
(lines: list[str])
tests/integration/providers/test_responses_bridge_incomplete.py:998
↓ 3 callersFunction_sse_payloads
(text: str)
tests/integration/providers/test_gemini_thinking_replay_wire.py:338
↓ 3 callersFunction_sse_response
(*events: Mapping[str, object])
tests/unit/llms/together_ai/chat/test_together_ai_chat_transformation.py:806
↓ 3 callersFunction_sso_client
(client_id: str = "agent", endpoint: str = "https://idp.example.com/token")
tests/unit/proxy/mcp_server/outbound_credentials/test_login_assertion_exchange.py:167
↓ 3 callersFunction_stable_key_value
Return a *stable* identifier for a credential header. For Bearer / API-key headers the entire value is stable across calls, so we hash it as-
tests/_vcr_conftest_common.py:759
↓ 3 callersFunction_stamp_or_clear_metadata_key
Write a proxy-internal metadata key for this routing attempt, or clear it from both buckets.
litellm/router_rust/steps/prerouting.py:554
↓ 3 callersMethod_stamped
(points: Sequence[Mapping[str, object]], key: str, value: object)
litellm/integrations/anthropic_cache_control_hook.py:1541
↓ 3 callersMethod_stamped_with_dialect
( points: Sequence[CacheControlInjectionPoint], model: str, custom_llm_provider: str |
litellm/integrations/anthropic_cache_control_hook.py:1506
↓ 3 callersFunction_standalone_key
(key_search_tools: list[str] | None)
tests/unit/proxy/search_endpoints/test_endpoints.py:188
↓ 3 callersFunction_standard_logging_payload_with_requester_metadata
()
tests/unit/integrations/test_prometheus_custom_metadata_label_counts.py:27
↓ 3 callersMethod_start
( self, plan: Plan, request: Mapping[str, object], overrides: Mapping[str, obj
litellm/router_rust/core.py:2633
↓ 3 callersFunction_start_fields
The request fields the Rust core routes on.
litellm/router_rust/core.py:1078
↓ 3 callersMethod_start_periodic_flush_task
Start the periodic flush task only when an event loop is already running.
litellm/integrations/langsmith.py:90
↓ 3 callersMethod_start_periodic_flush_task
Start the periodic flush only once an event loop is actually running.
litellm/integrations/pointfive/logger.py:125
↓ 3 callersFunction_start_postgres
(cluster: PostgresCluster)
tests/integration/observability/test_guardrail_stream_scope_chaos.py:831
↓ 3 callersMethod_start_span_or_trace
Start an MLflow span or a trace. If there is an active span, we start a new span as a child of that span. Otherwise, we star
litellm/integrations/mlflow.py:251
↓ 3 callersFunction_start_usage
(usage: Mapping[str, JsonValue])
tests/integration/_support/claude_code.py:794
↓ 3 callersFunction_started
( provider: Wire, sinks: SpanSinks, config: Path, directory: Path, langfuse_vars: Mapping[
tests/integration/observability/test_otel_excluded_services_matrix.py:450
↓ 3 callersFunction_started_attempt_key
(attempt_id: str)
litellm/router_strategy/least_busy.py:145
↓ 3 callersFunction_started_attempts_key
(call_id: str, ref: tuple[str, str])
litellm/router_strategy/least_busy.py:141
↓ 3 callersFunction_started_workers
(log: Path)
tests/integration/providers/test_openai_dialect_prompt_cache_breakpoint_owned_proxy.py:98
↓ 3 callersFunction_starts
(store: _ReservationStore, key: str)
litellm/router_strategy/least_busy.py:227
↓ 3 callersFunction_state_param
(state: str)
litellm/proxy/mcp_server/gateway_dcr_flow.py:1248
↓ 3 callersFunction_status_from_fail_rate
(fail_rate: float)
litellm/proxy/guardrails/usage_endpoints.py:347
↓ 3 callersFunction_status_or_dropped
(client: httpx.Client, key: str, call: _Call)
tests/integration/providers/test_malformed_tools_chaos.py:259
↓ 3 callersFunction_statuses_by_call_id
(call_ids: tuple[str, ...])
tests/integration/providers/test_decisions_chaos.py:119
↓ 3 callersFunction_statuses_by_call_id
(call_ids: tuple[str, ...])
tests/integration/providers/test_decisions_box_deployment_flag_chaos.py:112
↓ 3 callersFunction_stock
( slug, *, visibility="list", supported_in_api=True, upgrade=None, service_tiers=(_FAST,), default_tier=No
tests/unit/proxy/common_utils/test_codex_model_catalog.py:35
↓ 3 callersFunction_storable_text
(text: str)
enterprise/litellm_enterprise/proxy/hooks/managed_files.py:635
↓ 3 callersFunction_store
(submissions: SkillSubmissionStore | None)
litellm/proxy/discovery_endpoints/skill_hub_submissions.py:30
↓ 3 callersMethod_store
(self, key: str, value: float, expires_at: float | None)
tests/unit/proxy/hooks/test_max_budget_per_session_limiter.py:289
↓ 3 callersFunction_store_file
(store: str, file_id: JsonValue)
tests/integration/management/test_vector_store_file_list_managed_ids.py:98
↓ 3 callersFunction_store_notes
(ingestion: GeminiRAGIngestion)
tests/unit/rag/ingestion/test_gemini_ingestion.py:35
↓ 3 callersMethod_store_oauth_discovery_slot
(self, slot: _OAuthDiscoverySlot)
litellm/proxy/mcp_server/mcp_server_manager.py:2106
↓ 3 callersMethod_store_with_metadata
(self, mock_logging_obj, mock_managed_files_hook, metadata)
tests/unit/proxy/pass_through_endpoints/test_vertex_ai_batch_passthrough.py:323
↓ 3 callersFunction_stored_display_name
(name: str)
tests/integration/management/test_credential_display_name.py:30
↓ 3 callersFunction_stored_form
(token: str)
tests/integration/spend/test_daily_activity_key_owner.py:107
↓ 3 callersFunction_stored_litellm_params
(row: SearchToolRecord)
litellm/proxy/search_endpoints/search_tool_registry.py:67
↓ 3 callersFunction_stored_model_row
(model_id: str, stored_params: Mapping[str, str])
tests/unit/proxy/common_utils/test_registry_read_through.py:499
↓ 3 callersFunction_stored_params
(gateway: Gateway, identity: str)
tests/integration/management/test_model_credential_name_updates.py:52
↓ 3 callersFunction_stored_proxy_model_row
(*, litellm_params: str, model_info: str)
tests/unit/repositories/test_repositories.py:327
↓ 3 callersFunction_stored_request
(body: Mapping[str, object])
tests/unit/proxy/spend_tracking/test_spend_tracking_utils.py:7525
↓ 3 callersFunction_str_collection
(value: object)
litellm/integrations/custom_guardrail.py:272
↓ 3 callersFunction_str_keyed_or_empty
(value: object)
litellm/router_utils/embedding_batch_size_check.py:84
↓ 3 callersFunction_strategy
(name: str, module: str, *, render: StrategyRenderer = _render_test_results)
tests/rust-python-harness/shared/reporting/test_orchestration.py:51
↓ 3 callersFunction_stream
(gateway: Gateway, path: str, body: dict[str, JsonValue], *, key: str | None = None)
tests/integration/providers/test_cache_control_tool_call_marks_wire.py:117
↓ 3 callersFunction_stream
(gateway: Gateway, model: str, key: str, body: Mapping[str, JsonValue])
tests/integration/providers/test_google_genai_vertex_routes_wire.py:187
↓ 3 callersFunction_stream
( gateway: Gateway, path: str, body: Mapping[str, JsonValue], headers: Mapping[str, str] | None = None )
tests/integration/providers/test_responses_compaction_items_wire.py:354
↓ 3 callersFunction_stream
(gateway: Gateway, body: dict[str, JsonValue])
tests/integration/messages_endpoint/chat_bridge/test_chat_bridge_pre_content_retry_wire.py:98
↓ 3 callersFunction_stream
(rig: _Rig, identity: str, model: str = _TEXT_MODEL)
tests/integration/streaming/test_text_completion_stream_guardrail_rebuild.py:206
↓ 3 callersFunction_stream
()
tests/unit/litellm_core_utils/test_streaming_handler.py:2044
← previousnext →25,201–25,300 of 202,479, ranked by callers