MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_owned_config
( directory: Path, wire: Wire, api_key: str | None = _PAT, *, allow_client_side_credentials: bool = False
tests/integration/providers/test_databricks_agent_wire.py:867
↓ 3 callersFunction_owned_config
(wire: Wire, directory: Path, *, modify_params: bool)
tests/integration/providers/test_bedrock_converse_missing_content_wire.py:285
↓ 3 callersFunction_owned_config
(directory: Path, model_list: Sequence[JsonValue])
tests/integration/providers/test_responses_bridge_message_cache_control_wire_chaos.py:90
↓ 3 callersFunction_owned_config
(path: Path, runtime_url: str, settings: Mapping[str, JsonValue])
tests/integration/providers/test_bedrock_mantle_count_tokens_wire.py:261
↓ 3 callersFunction_owned_config
(path: Path, gateway: Gateway, wire: Wire, general: Mapping[str, JsonValue])
tests/integration/streaming/test_google_genai_stream_usage_settings_wire.py:116
↓ 3 callersFunction_owned_key_row
(hashed_token: str)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:5868
↓ 3 callersFunction_owned_reply
(prefix: str, identity: str, payload: Mapping[str, JsonValue])
tests/integration/authorization/test_rag_team_provider_credentials.py:264
↓ 3 callersFunction_owned_state
(item: pytest.Item)
tests/integration/conftest.py:301
↓ 3 callersFunction_owner
(caller: UserAPIKeyAuth)
litellm/proxy/discovery_endpoints/skill_hub_submissions.py:36
↓ 3 callersMethod_owner
(self, member: str)
litellm/router_api.py:1272
↓ 3 callersFunction_owner_key_with_admin_set_routes
(gateway: Gateway, scenario: Scenario)
tests/integration/management/test_key_default_allowed_routes.py:241
↓ 3 callersFunction_owner_on
(candidate: Gateway)
tests/integration/spend/test_daily_activity_key_alias_probes.py:143
↓ 3 callersFunction_owner_on
(candidate: Gateway)
tests/integration/spend/test_daily_activity_key_owner_faults.py:55
↓ 3 callersFunction_owner_scope
(team_ids: list[str])
tests/integration/spend/test_cache_activity.py:147
↓ 3 callersFunction_owner_scoped_file_find_many
Return a ``find_many`` that mimics Prisma owner-scoping for the managed file table: an owner-scoped query (one carrying ``created_by`` / ``team_id
tests/unit/proxy/pass_through_endpoints/test_managed_id_rewriter.py:376
↓ 3 callersMethod_owner_team_agent_grants
( team: LiteLLM_TeamTable, *, strict: bool, )
litellm/proxy/agent_endpoints/auth/agent_permission_handler.py:536
↓ 3 callersMethod_owns_release
(self)
litellm/responses/mcp/stream_round_billing.py:333
↓ 3 callersFunction_p3009_stderr
(migration_name: str, started_at: str)
tests/unit/litellm_proxy_extras/test_litellm_proxy_extras_utils.py:926
↓ 3 callersFunction_page
(*buckets: dict[str, object], next_page: str | None = None)
tests/unit/llms/openai/test_organization_costs.py:47
↓ 3 callersFunction_paginated_table
View a repository's prisma table through the pagination surface budget metrics need.
litellm/integrations/prometheus.py:149
↓ 3 callersFunction_paint
(text: str, color: str)
tests/rust-python-harness/strategies/trace_parity/reporting.py:21
↓ 3 callersFunction_parallel_tool_call_input
()
tests/unit/llms/openai/responses/test_openai_responses_guardrail_handler.py:3971
↓ 3 callersFunction_parallel_tool_calls_signed_via_id
Parallel tool calls in the shape LiteLLM actually hands back to clients. The signature rides in the tool call id behind __thought__, which is wha
tests/unit/llms/vertex_ai/gemini/test_vertex_ai_gemini_transformation.py:1008
↓ 3 callersFunction_param_keys_to_remove
(patch: updateDeployment)
litellm/proxy/management_endpoints/model_management_endpoints.py:1486
↓ 3 callersFunction_params
(params: BaseModel | None)
tests/e2e/e2e_http.py:287
↓ 3 callersFunction_park_spend_logs_in_redis
(proxy_logging_obj: ProxyLogging, rows: Sequence[Mapping[str, object]])
litellm/proxy/utils.py:8920
↓ 3 callersFunction_parked_daily_batch
(spend: float)
tests/unit/proxy/db/db_transaction_queue/test_redis_update_buffer.py:401
↓ 3 callersMethod_parse
(chunk: dict)
tests/unit/llms/ollama/test_ollama_chat_transformation.py:1049
↓ 3 callersMethod_parse
(self, chunk: dict)
tests/unit/llms/edenai/chat/test_edenai_chat_transformation.py:312
↓ 3 callersMethod_parse_bedrock_guardrail_error_response
Parse AWS Bedrock guardrail error response body to extract status code and message. AWS may return shapes like {"message": "..."} or
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:2226
↓ 3 callersFunction_parse_error
A ``SpanError`` for a failed request, or ``None`` on success.
litellm/integrations/otel/model/payloads.py:1020
↓ 3 callersFunction_parse_file_block
(element: object, drop_params: bool)
litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_transformation.py:214
↓ 3 callersFunction_parse_frames
(body: str)
tests/integration/streaming/test_assistants_evals_stream.py:132
↓ 3 callersFunction_parse_json_object
(raw: str | bytes)
litellm/llms/vertex_ai/credentials_source.py:80
↓ 3 callersMethod_parse_mcp_body
Parse a JSON or SSE-framed (Streamable HTTP transport) MCP response. Return the event whose payload carries the JSON-RPC response, i
litellm/llms/bedrock/search/transformation.py:426
↓ 3 callersMethod_parse_mcp_tools
(tools: Iterable[Mapping[str, object]] | None)
litellm/responses/mcp/litellm_proxy_mcp_handler.py:150
↓ 3 callersFunction_parse_member_entries
Parse a SCIM patch value into members, keeping each entry's ``type``. PATCH bodies bypass SCIMGroup parsing (SCIMPatchOperation.value is untyped)
litellm/proxy/management_endpoints/scim/scim_v2.py:2168
↓ 3 callersMethod_parse_pre_mcp_call_hook_response
Parse the response from the pre_mcp_tool_call_hook 1. Check if the call should proceed 2. Apply any argument modifications
litellm/proxy/utils.py:2510
↓ 3 callersMethod_parse_prometheus_config
Parse prometheus metrics configuration for label filtering and enabled metrics
litellm/integrations/prometheus.py:1147
↓ 3 callersFunction_parse_remote_part
(part: object)
litellm/litellm_core_utils/prompt_templates/image_handling.py:407
↓ 3 callersFunction_parse_response
(adapter: TypeAdapter[_ParsedT], raw_response: httpx.Response)
litellm/llms/minimax/videos/transformation.py:197
↓ 3 callersMethod_parse_router_settings_value
Parse a router_settings value that may be a dict or a JSON/YAML string. Returns a non-empty dict if valid, otherwise None.
litellm/proxy/proxy_server.py:8273
↓ 3 callersMethod_parse_runway_timestamp
Convert RunwayML ISO 8601 timestamp to Unix timestamp. RunwayML returns timestamps like: "2025-11-11T21:48:50.448Z" We need
litellm/llms/runwayml/videos/transformation.py:391
↓ 3 callersFunction_parse_sse_event_types
(raw: str)
tests/unit/proxy/guardrails/guardrail_hooks/unified_guardrails/test_anthropic_streaming_block.py:107
↓ 3 callersMethod_parse_tool_call_arguments
( self, tool_call: ChatCompletionMessageToolCall )
litellm/proxy/guardrails/guardrail_hooks/tool_permission.py:793
↓ 3 callersFunction_parse_trusted_redirect_origins
Parse ``MCP_TRUSTED_REDIRECT_ORIGINS`` into normalized entries. Empty / unset env var → empty list. Entries are lowercased and any scheme / pa
litellm/proxy/mcp_server/oauth_utils.py:395
↓ 3 callersFunction_parsed
(tool_choice: Mapping[str, object])
tests/unit/litellm_core_utils/test_allowed_tools_tool_choice.py:31
↓ 3 callersFunction_parsed
(resp: StreamingResponse)
tests/e2e/router/reliability_support.py:398
↓ 3 callersFunction_part_target
(fields: Mapping[str, object], key: str)
litellm/proxy/guardrails/guardrail_hooks/tool_permission.py:241
↓ 3 callersFunction_part_texts
(item: BaseModel)
tests/unit/responses/litellm_completion_transformation/test_anthropic_responses_bridge.py:1652
↓ 3 callersFunction_partition_by_day
Split source rows by their UTC `date` (one upload per day); rows with no parseable date are dropped.
litellm/integrations/ternary/export_engine.py:152
↓ 3 callersFunction_partner_counted_bodies
( model: str, chat_params: dict[str, JsonValue] | None = None )
tests/unit/llms/vertex_ai/test_vertex_ai_common_utils.py:1942
↓ 3 callersFunction_past_deadline
()
litellm/proxy/guardrails/guardrail_hooks/custom_code/bounded_execution.py:54
↓ 3 callersFunction_patch_label_factory
(monkeypatch)
tests/unit/integrations/test_prometheus_overhead_with_guardrails.py:163
↓ 3 callersFunction_patch_team
(gateway: Gateway, team_id: str, body: Mapping[str, JsonValue])
tests/integration/management/test_team_metadata_validation.py:49
↓ 3 callersFunction_patch_today
(monkeypatch, year, month, day)
tests/unit/proxy/test_proxy_utils_model_creation_and_error_logging.py:365
↓ 3 callersFunction_patch_vertex_auth
()
tests/unit/llms/vertex_ai/rerank/test_vertex_ai_rerank_userlabels_e2e.py:81
↓ 3 callersMethod_patches
()
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:4793
↓ 3 callersFunction_path
(request: Request)
tests/integration/providers/test_validated_reply_boundaries_under_faults.py:182
↓ 3 callersFunction_path
(endpoint: Endpoint)
tests/integration/providers/test_gemini_thinking_replay_wire.py:640
↓ 3 callersFunction_path_model_body
(kind: str, prompt: str)
tests/integration/authorization/test_audit_any_sweep_auth.py:381
↓ 3 callersFunction_paused_web_search_turn
( thinking_blocks: list[dict[str, str]] | None, content: str | list[dict[str, str]] = "Step 1 is Tokyo." )
tests/unit/litellm_core_utils/prompt_templates/test_litellm_core_utils_prompt_templates_factory.py:8530
↓ 3 callersFunction_payload
(spend: float, started: datetime = _NOW, window_start: datetime = _NOW)
tests/unit/accounting/test_delivery_projection.py:14
↓ 3 callersFunction_payload_type
(payload: object)
litellm/completion_extras/litellm_responses_transformation/transformation.py:723
↓ 3 callersFunction_payloads
(relayed: bytes)
tests/unit/proxy/pass_through_endpoints/test_injected_stream_usage.py:49
↓ 3 callersFunction_pcm16_wav
(seconds: float)
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_azure_speech_passthrough_logging_handler.py:51
↓ 3 callersFunction_pct
(numerator: float, denominator: float)
litellm/proxy/management_endpoints/auto_router_endpoints.py:717
↓ 3 callersFunction_pdf_value
(container: Mapping[str, object], key: str)
litellm/litellm_core_utils/token_counter.py:1530
↓ 3 callersFunction_pdf_xobjects
(container: Mapping[str, object], inherited: _PdfXObjects)
litellm/litellm_core_utils/token_counter.py:1555
↓ 3 callersFunction_peer
(release: threading.Event, held: SimpleQueue[str])
tests/integration/providers/test_openai_dialect_prompt_cache_breakpoint_owned_proxy.py:69
↓ 3 callersFunction_peer
(usage: JsonValue)
tests/integration/providers/test_xai_server_tool_usage_wire.py:32
↓ 3 callersFunction_peer
(provider: _Provider, count: Callable[[Request], Reply] = _counted)
tests/integration/providers/test_anthropic_count_tokens_system_lift_wire.py:131
↓ 3 callersFunction_peer
(gate: threading.Event | None = None)
tests/integration/streaming/test_google_genai_stream_usage_settings_wire.py:102
↓ 3 callersFunction_peer
(reply: Reply)
tests/integration/sdk/test_vertex_gemini_stream_timeout_wire.py:55
↓ 3 callersFunction_peer
(frames: bytes)
tests/integration/sdk/test_bedrock_converse_stream_sync_decoder_wire.py:49
↓ 3 callersFunction_peer_card
(url: str, name: str)
tests/integration/authorization/test_agent_access.py:62
↓ 3 callersFunction_per_user_credential_or_404
(credential_name: str)
litellm/proxy/credential_endpoints/endpoints.py:565
↓ 3 callersFunction_per_user_router
()
tests/unit/llms/github_copilot/test_per_user_auth.py:1361
↓ 3 callersFunction_percent
(covered: int, total: int)
tests/e2e/coverage_registry/collector.py:151
↓ 3 callersFunction_perform_health_check_and_save
Helper function to perform health check and save results to database
litellm/proxy/health_endpoints/_health_endpoints.py:1476
↓ 3 callersFunction_permission_write
( incoming: Mapping[str, object], existing_id: str | None, client: PrismaClient, )
litellm/proxy/agent_endpoints/agent_registry.py:152
↓ 3 callersFunction_permissions
(gateway: Gateway, team_id: str)
tests/integration/authorization/test_team_member_permissions.py:126
↓ 3 callersFunction_persisted_shared_gateway_client
( server: "MCPServer", client_id: str = "shared-gateway-client" )
tests/unit/proxy/mcp_server/test_discoverable_endpoints.py:6119
↓ 3 callersFunction_personal_key_owner
( valid_token: UserAPIKeyAuth, prisma_client: PrismaClient | None, user_api_key_cache: UserApiKeyC
litellm/proxy/auth/auth_checks.py:5569
↓ 3 callersMethod_personal_key_owner_team_agent_access
Union owner-team access; teams without a rule add nothing once any team declares one.
litellm/proxy/agent_endpoints/auth/agent_permission_handler.py:394
↓ 3 callersFunction_pg_options_with_timeouts
Return the Postgres ``options`` value carrying the configured timeouts. Prisma has no URL parameter for `statement_timeout` / `lock_timeout`; the
litellm/proxy/proxy_cli.py:120
↓ 3 callersMethod_pi_compact_summarization_messages
()
tests/unit/llms/openai/chat/test_openai_gpt_transformation.py:1152
↓ 3 callersFunction_pick
(client: ComplexityRouterClient, key: str, group: str, strategy: RoutingStrategy)
tests/e2e/router/test_reliability_routing_strategies_e2e.py:105
↓ 3 callersMethod_pick_from_tier_value
(model: str | Sequence[str], tier_key: str)
litellm/router_strategy/complexity_router/complexity_router.py:3122
↓ 3 callersFunction_pick_streaming
(router: Router)
tests/unit/router_strategy/test_lowest_latency.py:500
↓ 3 callersFunction_picked_deployments_key
(call_id: str)
litellm/router_strategy/least_busy.py:149
↓ 3 callersMethod_picked_error
The error a pick an event names raised, as a failed step with that error raises it.
litellm/router_rust/core.py:4584
↓ 3 callersMethod_pin_ambient_api_base
(self, monkeypatch: pytest.MonkeyPatch, pinned: bool)
tests/unit/integrations/test_anthropic_cache_control_hook.py:4135
↓ 3 callersFunction_pin_file_usage_clock
(monkeypatch)
tests/unit/proxy/openai_files_endpoint/test_files_endpoint.py:4398
↓ 3 callersFunction_ping
()
tests/e2e/other/test_jwt_auto_register_e2e.py:43
↓ 3 callersFunction_ping_mistral_through
(credential_name: str)
tests/unit/test_utils.py:7410
↓ 3 callersFunction_pipeline_steps
(pipelines: Sequence[tuple[str, "GuardrailPipeline"]])
litellm/proxy/utils.py:721
↓ 3 callersFunction_pipelines_stream_live
(pipelines: Sequence[tuple[str, "GuardrailPipeline"]])
litellm/proxy/utils.py:794
↓ 3 callersFunction_placed_value
(frame: Mapping[str, object], placement: Sequence[str])
litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:2806
↓ 3 callersFunction_plan_for
(guardrail: HeadroomGuardrail, response, messages: list)
tests/unit/proxy/guardrails/guardrail_hooks/test_headroom.py:2913
← previousnext →24,301–24,400 of 202,479, ranked by callers