MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunction_member
(scenario: Scenario, permissions: list[JsonValue] | None)
tests/integration/authorization/test_team_member_permissions.py:86
↓ 4 callersFunction_member_ids
(row)
tests/integration/management/test_team_member_add.py:56
↓ 4 callersMethod_member_key
(self, primary_model: str, fallback_model: str)
tests/unit/proxy/test_common_request_processing.py:8952
↓ 4 callersMethod_member_key_row
(self)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:23484
↓ 4 callersFunction_member_me
(gateway: Gateway, team_id: str, key: str)
tests/integration/spend/test_team_member_spend.py:183
↓ 4 callersFunction_members
(tag: str)
tests/integration/providers/test_decisions_box_deployment_flag_wire.py:144
↓ 4 callersMethod_merge_chunked_analyze_results
Remap per-chunk analyzer offsets onto the original text and merge. A detection in an overlap region is reported by both neighbouring
litellm/proxy/guardrails/guardrail_hooks/presidio.py:771
↓ 4 callersMethod_merge_usage_into_held_stop_reason_chunk
Merge usage data from ``chunk`` into the held ``message_delta`` chunk. Shared by both the sync ``__next__`` and async ``__anext__`` paths so
litellm/llms/anthropic/messages/adapters/streaming_iterator.py:720
↓ 4 callersFunction_merged
(children: Sequence[tuple[Edit, ...] | None])
litellm/llms/bedrock/passthrough/guardrail_translation/structured_edits.py:72
↓ 4 callersFunction_merged_metadata
(request_data: Mapping[str, object])
litellm/proxy/guardrails/guardrail_hooks/straiker/straiker.py:192
↓ 4 callersFunction_message
(marker: str)
tests/integration/providers/test_responses_bridge_tool_search_chaos.py:95
↓ 4 callersFunction_message
(response: object)
tests/integration/sdk/test_responses_bridge_tool_search_sdk.py:39
↓ 4 callersFunction_message
(thread_id=THREAD_ID)
tests/unit/llms/openai/test_openai.py:1916
↓ 4 callersFunction_message
(kind: bytes, payload: bytes)
tests/unit/integration_support/test_database_relay.py:34
↓ 4 callersMethod_message_item_id
(self)
litellm/responses/litellm_completion_transformation/streaming_iterator.py:1451
↓ 4 callersFunction_message_text
(body: Mapping[str, JsonValue])
tests/integration/providers/test_anthropic_refusal_stop_details_wire.py:491
↓ 4 callersMethod_messages
()
tests/unit/test_router/test_router.py:10527
↓ 4 callersFunction_messages_body
(model: str, prompt: str, guardrails: tuple[str, ...], *, stream: bool = False)
tests/integration/observability/test_azure_content_safety_dispatch.py:109
↓ 4 callersFunction_messages_caller_response
(reply: Reply, model: str)
tests/integration/observability/_openinference_support.py:442
↓ 4 callersFunction_messages_history
(tool_content: JsonValue)
tests/integration/providers/test_gemini_tool_result_part_reference_wire.py:219
↓ 4 callersFunction_messages_response
(identity: str)
tests/integration/observability/test_arize_otel_v2_openinference_spans.py:66
↓ 4 callersFunction_messages_sse
( tool: bool, usage: Mapping[str, object] | None = None, usage_at_start: bool = False, tool_na
tests/unit/llms/opencode/chat/test_transformation.py:22
↓ 4 callersFunction_metadata
(kwargs: Mapping[str, object], name: str = "metadata")
tests/unit/test_router/core/test_gaps_l2800.py:37
↓ 4 callersFunction_metadata
(request: Mapping[str, object])
tests/unit/test_router/core/test_selection_characterization_prerouting.py:75
↓ 4 callersFunction_metadata_of
(split: _PassThroughSplit)
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:11137
↓ 4 callersFunction_metadata_value
(metadata: object, key: str)
litellm/proxy/hooks/model_max_budget_limiter.py:862
↓ 4 callersFunction_metric_samples
(candidate: Gateway, model_name: str)
tests/integration/observability/test_cache_hit_guardrail_metrics.py:236
↓ 4 callersFunction_metrics_by_name
(payload, name)
tests/unit/integrations/newrelic/test_newrelic_metrics.py:110
↓ 4 callersFunction_metrics_loggers
(logging_obj)
tests/unit/integrations/newrelic/test_newrelic_team_handler.py:189
↓ 4 callersFunction_mid_stream_error_before_output
(error: MidStreamFallbackError)
litellm/router_rust/invoke/streaming.py:1478
↓ 4 callersFunction_mid_stream_opt_out_router
()
tests/unit/test_router/test_router.py:11012
↓ 4 callersFunction_migrate_deploy
(database_url: str, schema: Path)
tests/integration/database/migrations/test_request_log_indexes.py:82
↓ 4 callersFunction_migration_timestamp
Extract the leading `YYYYMMDDHHMMSS` timestamp from a migration name. Returns 0 if the name doesn't match the Prisma pattern — unexpected-format
litellm-proxy-extras/litellm_proxy_extras/utils.py:197
↓ 4 callersFunction_minor_line
(**overrides: httpx.Response | Exception)
tests/unit/proxy/ui_crud_endpoints/test_latest_release_endpoints.py:316
↓ 4 callersFunction_mint
(gateway: Gateway, body: Mapping[str, JsonValue], key: str)
tests/integration/authorization/test_realtime_client_secret_access.py:74
↓ 4 callersFunction_minted_bearer
(engine: JwtBearerTokenExchangeEngine)
tests/unit/llms/custom_httpx/test_http_handler.py:1593
↓ 4 callersMethod_missing
(self)
tests/unit/proxy/spend_tracking/test_background_interaction_settlement.py:241
↓ 4 callersFunction_mistral_credential
(api_key: str)
tests/unit/test_utils.py:7403
↓ 4 callersFunction_mock_batch_provider
(respx_mock)
tests/unit/test_router/test_router.py:1191
↓ 4 callersFunction_mock_chat_completion_response
(model_in_response: str)
tests/unit/llms/vertex_ai/test_vertex_model_garden_openapi.py:83
↓ 4 callersFunction_mock_embedding_call
( response_json: dict[str, object], )
tests/unit/llms/vertex_ai/test_gemini_batch_embeddings.py:674
↓ 4 callersFunction_mock_embedding_route
(respx_mock: respx.MockRouter, url: str)
tests/unit/test_router/test_router.py:16028
↓ 4 callersFunction_mock_http_client_raising
(exc: Exception)
tests/unit/secret_managers/test_aws_secret_manager_replication.py:276
↓ 4 callersFunction_mock_llm_stream
()
tests/unit/proxy/guardrails/guardrail_hooks/test_cato_networks.py:2520
↓ 4 callersMethod_mock_prisma
(monkeypatch, stored=None)
tests/unit/proxy/ui_crud_endpoints/test_proxy_setting_endpoints.py:4150
↓ 4 callersFunction_mock_prisma_for_delete_user
(mocker, team)
tests/unit/proxy/management_endpoints/scim/test_scim_v2_endpoints.py:3868
↓ 4 callersFunction_mock_resource_tables
(mock_prisma, *, mcp_servers=(), agents=(), teams=(), keys=())
tests/unit/proxy/management_endpoints/test_access_group_endpoints.py:1441
↓ 4 callersFunction_mock_response
()
tests/unit/llms/nimble/search/test_nimble_search_transformation.py:285
↓ 4 callersFunction_mock_tracker
(g)
tests/unit/proxy/guardrails/guardrail_hooks/test_ovalix.py:670
↓ 4 callersFunction_mock_vertexai
Return a MagicMock that satisfies the vertexai import guards.
tests/unit/llms/vertex_ai/vertex_ai_partner_models/test_partner_models_credential_reuse.py:25
↓ 4 callersFunction_mode_following_db_row
The raw row GuardrailRegistry.update_guardrail_in_db hands back: litellm_params is a plain dict.
tests/unit/proxy/guardrails/test_guardrail_registry.py:219
↓ 4 callersFunction_model
(scenario: Scenario, surface: _Surface, api_base: str, scope: str)
tests/integration/providers/test_azure_entra_token_reuse_wire.py:225
↓ 4 callersFunction_model_access_denied_exception
()
tests/unit/proxy/proxy_server/test_exception_handlers.py:171
↓ 4 callersFunction_model_access_group_budget_table
(prisma_client: PrismaClient)
litellm/proxy/management_endpoints/model_access_group_management_endpoints.py:238
↓ 4 callersFunction_model_access_group_kwargs
(granted, served_model_id=None)
tests/unit/proxy/hooks/test_proxy_track_cost_callback.py:3217
↓ 4 callersFunction_model_access_group_row
A LiteLLM_ModelAccessGroupBudgetTable row, shaped like prisma hands it back.
tests/unit/proxy/common_utils/test_reset_budget_job.py:1876
↓ 4 callersFunction_model_id
(name: str)
tests/integration/providers/test_bedrock_kimi_k3_cache_point_wire.py:1285
↓ 4 callersMethod_model_map_lookup_name
The name this model is looked up by in the cost map. Identity here, because an OpenAI model name is already its map key. Azure overrides
litellm/llms/openai/chat/gpt_reasoning_transformation.py:176
↓ 4 callersFunction_model_path
(model: str)
tests/integration/providers/test_vertex_passthrough_stream_wire.py:61
↓ 4 callersFunction_model_response
(model: str, pcm: bytes)
tests/unit/endpoints/speech/speech_to_completion_bridge/test_transformation.py:20
↓ 4 callersFunction_model_row
(model_id: str, team_id: str)
tests/unit/proxy/management_endpoints/test_model_management_endpoints.py:3858
↓ 4 callersFunction_model_usage_transaction
(model: str)
tests/unit/proxy/utils/prisma_and_spend/test_spend_functions.py:1178
↓ 4 callersFunction_models
(scenario: Scenario, gateway: Gateway)
tests/integration/authorization/test_model_access_allow_lists.py:63
↓ 4 callersFunction_moderation_detector
(verdict: str)
tests/unit/proxy/hooks/test_prompt_injection_detection.py:24
↓ 4 callersFunction_month_index
(anchor: date, months_after_anchor: int)
litellm/proxy/spend_tracking/subscription_billing_periods.py:13
↓ 4 callersFunction_multipart_parts
(request: Request)
tests/integration/providers/test_files_batches_wire.py:139
↓ 4 callersFunction_multipart_parts
(request: Request)
tests/integration/management/test_model_health_check.py:84
↓ 4 callersFunction_multipart_parts
(request: Request)
tests/integration/compatibility/test_audio_transcriptions_wire.py:123
↓ 4 callersFunction_multipart_text_fields
(parts: tuple[Message, ...])
tests/integration/management/test_model_health_check.py:91
↓ 4 callersFunction_multipart_text_fields
(content_type: str, body: bytes)
tests/unit/llms/custom_httpx/test_llm_http_handler.py:4154
↓ 4 callersFunction_muse_audio_frames
(observed: tuple[dict[str, JsonValue], ...])
tests/integration/providers/test_realtime_transcription_guardrail_session_update.py:1403
↓ 4 callersFunction_named
(model: str, credential: str)
tests/integration/security/test_api_key_secret_reference.py:252
↓ 4 callersFunction_named
(pinned: Pinned, spender: Spender)
tests/integration/spend/test_daily_activity_key_metadata_query_timeout.py:351
↓ 4 callersFunction_named_tools
(*names: str)
tests/integration/observability/test_bedrock_converse_guardrail_rewrites.py:620
↓ 4 callersFunction_names
(client: FakeClient, index: int = 0)
tests/unit/caching/test_request_redis_batch_post_call.py:97
↓ 4 callersMethod_names_matching
(upstream: dict, lowercase_name: str)
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:2386
↓ 4 callersFunction_namespace_members
(tool: object)
litellm/proxy/guardrails/guardrail_hooks/tool_permission.py:167
↓ 4 callersFunction_native_body
(wire: Wire, marker: str)
tests/integration/messages_endpoint/providers/bedrock/test_bedrock_messages_gpt_chat_completions_wire.py:36
↓ 4 callersFunction_native_logged_result
()
tests/unit/test_responses_id_security.py:1396
↓ 4 callersFunction_native_peer
(aborted: frozenset[str] = frozenset(), pause: float = 0)
tests/integration/providers/test_bedrock_mantle_claude_chat_chaos.py:125
↓ 4 callersFunction_native_request
(wire: Wire)
tests/integration/providers/test_bedrock_gpt_responses_native_wire.py:52
↓ 4 callersFunction_native_request
(marker: str, max_tokens: int, effort: str)
tests/integration/messages_endpoint/providers/bedrock/test_bedrock_messages_gpt_chat_completions_wire.py:43
↓ 4 callersFunction_new_user
(gateway: Gateway, **fields: JsonValue)
tests/integration/management/test_user_delete_revokes_keys.py:85
↓ 4 callersFunction_newest_turn_ask
The human ask on the newest user turn, or None when that turn carries only plumbing. Escalation reads this rather than the last ask in history, w
litellm/router_strategy/complexity_router/complexity_router.py:704
↓ 4 callersFunction_next
(backend: _Backend, mode: _Mode)
tests/integration/messages_endpoint/chat_bridge/test_chat_bridge_disconnect_wire.py:159
↓ 4 callersFunction_next_pool
(log: Path, process: subprocess.Popen[bytes], port: int, previous: frozenset[int])
tests/integration/configuration/test_reload_worker_pool.py:117
↓ 4 callersFunction_next_run_times
(scheduler: AsyncIOScheduler)
tests/unit/proxy/common_utils/test_scheduled_job_stagger.py:51
↓ 4 callersMethod_non_admin
(self)
tests/unit/proxy/management_endpoints/test_common_utils.py:783
↓ 4 callersFunction_normalize_caller_admission_credential
(value: str)
litellm/proxy/mcp_server/auth/user_api_key_auth_mcp.py:112
↓ 4 callersFunction_normalize_chat_caller_stream
(events: Sequence[JsonValue])
tests/integration/observability/_openinference_support.py:352
↓ 4 callersMethod_normalize_checks
Normalize the configured `checks` into a plain dict for the API body. Accepts a pydantic ``BedrockChecksConfigModel`` or a raw dict; drops No
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:403
↓ 4 callersFunction_normalize_cohere_embed
(url_route: str, body: Mapping[str, object], model: str)
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_cohere_passthrough_logging_handler.py:241
↓ 4 callersFunction_normalize_host
Lowercase and strip a trailing dot from a hostname.
litellm/litellm_core_utils/url_utils.py:190
↓ 4 callersFunction_normalize_media_type
Return the bare media type per RFC 7231: strip params, trim, lowercase.
litellm/proxy/common_utils/http_parsing_utils.py:97
↓ 4 callersMethod_normalize_system_role_messages
Normalize ``role: "system"`` entries in ``messages`` per the Anthropic ``/v1/messages`` contract, which the first-party API, Bedrock Invoke,
litellm/llms/anthropic/messages/native/transformation.py:260
↓ 4 callersFunction_normalize_teams
If team_details are a Args: teams (_type_): _description_ team_details (_type_): _description_ Returns: _type_: _des
litellm/proxy/client/cli/commands/auth.py:601
↓ 4 callersFunction_normalize_tool_dialect
( data: dict, *, to_chat: bool )
litellm/proxy/response_api_endpoints/endpoints.py:218
↓ 4 callersFunction_normalize_volatile_tokens
Replace per-run cache-busters (UUIDs / timestamps) with placeholders. Compare-time only — see the module note above. Returns ``body`` unchanged
tests/_vcr_conftest_common.py:416
↓ 4 callersFunction_normalized_email
(email: str | None)
litellm/proxy/management_helpers/bulk_user_creation.py:227
↓ 4 callersFunction_number
(value: object)
litellm/accounting/projection.py:52
← previousnext →18,401–18,500 of 202,479, ranked by callers