MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunction_prompt_request
(prompt_id: str, model: str, environment: str, marker: str)
tests/integration/management/test_prompt_management.py:55
↓ 4 callersFunction_prompt_setup
( gateway: Gateway, scenario: Scenario, model: str, prompt_id: str, )
tests/integration/compatibility/test_prompt_management_routes.py:205
↓ 4 callersFunction_prompt_storing_config
(directory: Path)
tests/integration/spend/test_responses_stream_spend_row_id.py:226
↓ 4 callersFunction_prove_end_user_budget_lockout
( gateway: Gateway, upstream: httpx.Client, spelling: Spelling, deployment: Deployment, ke
tests/integration/spend/test_end_user_budget_enforcement.py:277
↓ 4 callersFunction_provider
(store: str, listing: Listing)
tests/integration/management/test_vector_store_file_list_managed_ids.py:187
↓ 4 callersMethod_provider
( monkeypatch: pytest.MonkeyPatch, *owners: ExporterOwner | None )
tests/unit/integrations/otel/test_otel_v2_destinations.py:5792
↓ 4 callersFunction_provider_answer
(response_id: str)
tests/unit/test_responses_id_security.py:1283
↓ 4 callersFunction_provider_calls
(wire: Wire)
tests/integration/messages_endpoint/providers/anthropic/test_passthrough_migration_wire.py:151
↓ 4 callersFunction_provider_fields
()
tests/unit/litellm_core_utils/test_redact_messages.py:56
↓ 4 callersFunction_provider_file_details_route
(provider_file_id: str, *, size_bytes: int)
tests/unit/enterprise/proxy/hooks/test_managed_files.py:2961
↓ 4 callersFunction_provider_info
( config: ChatGPTConfig, api_base: str | None, api_key: str | None )
tests/unit/llms/chatgpt/chat/test_chatgpt_chat_transformation.py:19
↓ 4 callersFunction_provision
A Keycloak group and a user in it, torn down with the test. The group name is what the token's `groups` claim carries, which is what the proxy res
tests/e2e/other/test_jwt_auth_e2e.py:37
↓ 4 callersFunction_proxy
(gateway: Gateway)
tests/integration/routing/test_model_capability_flags.py:203
↓ 4 callersFunction_proxy_admin
()
tests/unit/test_model_block_unblock.py:65
↓ 4 callersFunction_proxy_attrs_for_db_lookup
Minimal proxy_server attributes for driving the real ``_user_api_key_auth_builder`` down to the DB key lookup.
tests/unit/proxy/auth/test_user_api_key_auth_request_flow.py:8664
↓ 4 callersFunction_proxy_config
( directory: Path, model: str, upstream_url: str, general_settings: Mapping[str, JsonValue] = JWT_SETTINGS
tests/integration/management/test_tool_policy_user.py:104
↓ 4 callersFunction_proxy_config_owning
(general_settings)
tests/unit/enterprise/enterprise_callbacks/send_emails/test_endpoints.py:282
↓ 4 callersFunction_proxy_config_with_general_settings
(directory: Path, name: str, overrides: Mapping[str, object])
tests/integration/mcp/test_mcp_oauth_flows.py:1529
↓ 4 callersFunction_proxy_poll_model
(router: Router, video_id: str)
tests/unit/llms/dashscope/test_dashscope_video_transformation.py:563
↓ 4 callersFunction_proxy_rejection
(route: str, response: httpx.Response, call: Callable[[], object])
tests/unit/llms/litellm_proxy/responses/test_transformation.py:111
↓ 4 callersFunction_proxy_root
(gateway: Gateway)
tests/integration/caching/test_response_cache_empty_output.py:78
↓ 4 callersFunction_proxy_url
(gateway: Gateway)
tests/integration/providers/test_bedrock_mantle_context_overflow_wire.py:254
↓ 4 callersFunction_proxy_url
(proxy: Gateway)
tests/integration/authorization/test_cli_sso_login_ui_disabled.py:190
↓ 4 callersFunction_proxy_url
(gateway: Gateway)
tests/integration/caching/test_response_cache_chaos.py:334
↓ 4 callersFunction_publish
(db: SupportsRawQueries, changes: Sequence[_Change])
litellm/proxy/db/baseline_accounting.py:397
↓ 4 callersMethod_publish_resolved_oauth_server
( self, server: MCPServer, generation: int, )
litellm/proxy/mcp_server/mcp_server_manager.py:2218
↓ 4 callersFunction_published_keys
(mock_publish)
tests/unit/proxy/management_endpoints/test_customer_endpoints.py:1200
↓ 4 callersFunction_pull
()
tests/unit/proxy/roi_calculator/test_estimator.py:22
↓ 4 callersFunction_push_schema
()
tests/integration/configuration/test_effective_settings.py:1134
↓ 4 callersFunction_put_group_whose_member_is_deleted_mid_push
Wire a PUT whose member ``user2`` resolves as an existing user and then has its row deleted before the locked roster write, and return the ids the
tests/unit/proxy/management_endpoints/scim/test_scim_v2_endpoints.py:6308
↓ 4 callersFunction_query_excluded_ids
(value: str | None)
litellm/proxy/management_endpoints/daily_activity_scopes.py:67
↓ 4 callersMethod_queue_held_annotations
(self)
litellm/responses/litellm_completion_transformation/streaming_iterator.py:1430
↓ 4 callersMethod_queue_message_item_added_events
(self)
litellm/responses/litellm_completion_transformation/streaming_iterator.py:832
↓ 4 callersMethod_queue_output_item_added
(self, output_index: int, item: BaseLiteLLMOpenAIResponseObject)
litellm/responses/litellm_completion_transformation/streaming_iterator.py:262
↓ 4 callersFunction_queued_body_via_async_upload
( logger: S3Logger, log_event: Callable[..., Awaitable[None]] )
tests/unit/integrations/test_s3_v2.py:2720
↓ 4 callersFunction_quota_policy
(general_settings: Mapping[str, object], setting: str)
litellm/proxy/management_endpoints/model_management_endpoints.py:855
↓ 4 callersFunction_rag_query_body
(model: str, marker: str, store_id: str, *, stream: bool | None = None)
tests/integration/authorization/test_rag_query_vector_store_allowlist.py:55
↓ 4 callersFunction_raise_anthropic_wif_error
( error: ExchangeError, model: str, workspace_id_set: bool, service_account_id_set: bool )
litellm/llms/anthropic/wif.py:578
↓ 4 callersMethod_raise_if_fail_closed
(self, e: ModelArmorAPIError)
litellm/proxy/guardrails/guardrail_hooks/model_armor/model_armor.py:295
↓ 4 callersMethod_raise_invalid_identity_token
(self)
tests/unit/llms/bedrock/test_web_identity_session_policy.py:313
↓ 4 callersMethod_raise_rate_limit_error
Raise :class:`ProxyRateLimitError` (a 429) for batch rate limit exceeded. ``window_start`` is the active counter window's start (unix seconds
litellm/proxy/hooks/batch_rate_limiter.py:664
↓ 4 callersFunction_raise_reset_spend_error
(status_code: int, message: str)
litellm/proxy/management_endpoints/team_endpoints.py:4365
↓ 4 callersMethod_ran
(self, method: str)
tests/unit/proxy/management_helpers/test_team_roster_sync.py:97
↓ 4 callersFunction_raw_cache
(cache: _RawCacheRead)
litellm/proxy/auth/auth_checks.py:424
↓ 4 callersFunction_raw_cost_map_entry
(key: str)
litellm/cost_calculator.py:2757
↓ 4 callersFunction_raw_query_error
(sqlstate: str)
tests/unit/proxy/test_update_spend.py:356
↓ 4 callersFunction_raw_response_for
Wrap a ModelResponse as the OpenAI `with_raw_response.create` return value (an object exposing `.headers` and `.parse()` -> something with model_d
tests/unit/litellm_core_utils/test_chat_completion_agentic_loop.py:146
↓ 4 callersFunction_raw_row
(**overrides)
tests/unit/proxy/db/test_health_check_latest.py:25
↓ 4 callersFunction_raw_rpc
( proxy_server_url: str, key: str | None, method: str, params: dict[str, object], **headers: str )
tests/integration/mcp/test_proxy_mcp_e2e.py:849
↓ 4 callersFunction_raw_tls_peer
( peer: TlsPeer, alpn: str, serve_connection: Callable[[ssl.SSLContext, socket.socket, int], None]
tests/integration/sdk/test_http2_wire.py:560
↓ 4 callersFunction_reached_client_before_upstream_paused
( first: "asyncio.Future[object]", upstream_paused: asyncio.Event )
tests/unit/test_router/test_router.py:4041
↓ 4 callersMethod_read_all_bytes
(self, image: FileTypes)
litellm/llms/gemini/image_edit/transformation.py:196
↓ 4 callersFunction_read_user_model_max_budget
The user row's `model_max_budget`, or None when the row cannot be read. A user whose row is missing must not be refused: this is a budget lookup,
litellm/proxy/auth/user_api_key_auth.py:519
↓ 4 callersFunction_ready
(gateway: Gateway, model: str)
tests/integration/providers/test_provider_lookup_status.py:173
↓ 4 callersMethod_real_logging_obj
(self)
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_anthropic_passthrough_logging_handler.py:2201
↓ 4 callersFunction_real_user_api_key_dict
(parent_span)
tests/unit/integrations/open_telemetry/test_otel_unified_endpoints.py:26
↓ 4 callersFunction_realtime_query_params_template
Build a hashable representation of the realtime query params so we can cache the repetitive model/intent combinations.
litellm/proxy/proxy_server.py:14151
↓ 4 callersFunction_realtime_response_done
(text_in: int, audio_in: int, text_out: int, audio_out: int)
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_openai_websocket_passthrough_logging_handler.py:38
↓ 4 callersFunction_reasoning_item
(item_id: str, thinking: Mapping[str, str])
tests/unit/responses/litellm_completion_transformation/test_litellm_completion_responses.py:7026
↓ 4 callersFunction_reasoning_of
(parsed)
tests/unit/llms/bedrock/chat/chat_completions/test_bedrock_chat_completions_transformation.py:1019
↓ 4 callersFunction_reasoning_text
(item: Mapping[str, JsonValue])
tests/integration/providers/test_anthropic_thinking_signature_stream_wire.py:287
↓ 4 callersFunction_rebuild_model_cost_lowercase_map
Rebuild the case-insensitive lookup map from the current model_cost. Returns: The rebuilt map (guaranteed to be not None).
litellm/utils.py:6826
↓ 4 callersFunction_rebuilt
(chunks: tuple[TextCompletionResponse, ...])
tests/integration/sdk/test_text_completion_stream_rebuild_sdk.py:160
↓ 4 callersFunction_received
(wire: Wire, text: str)
tests/integration/providers/test_gemini_tts_voice_mapping_owned_proxy.py:92
↓ 4 callersMethod_received
(capture: "_ExporterCapture", provider: TracerProvider)
tests/unit/integrations/otel/test_otel_v2_destinations.py:4835
↓ 4 callersFunction_received_specs
(wire: Wire)
tests/integration/providers/test_bedrock_converse_lookaround_regex_wire.py:234
↓ 4 callersFunction_record
( request_data: dict[str, object], scan_id: str | None, guardrail_name: str = "airs", provider
tests/unit/proxy/common_utils/test_callback_utils.py:208
↓ 4 callersMethod_record
(self, budget_id: str)
tests/unit/proxy/management_helpers/test_management_helpers_utils.py:932
↓ 4 callersFunction_record_guardrail
Write a guardrail record the way ``@log_guardrail_information`` does.
tests/unit/proxy/mcp_server/test_mcp_guardrail_usage_monitor.py:90
↓ 4 callersMethod_record_to_v2_span
( record: Mapping[str, Any], *, trace_id: str, span_id: str, )
litellm/integrations/galileo.py:298
↓ 4 callersFunction_recorded
Let the background recordings of a stream's outcome run.
tests/unit/test_router/test_router_fuzz_regressions_rust_only.py:270
↓ 4 callersMethod_recorded_scan_ids
(request_data)
tests/unit/proxy/guardrails/guardrail_hooks/test_panw_prisma_airs.py:5931
↓ 4 callersFunction_recording
(database_url: str)
tests/integration/spend/test_daily_activity_key_metadata_query_timeout.py:387
↓ 4 callersFunction_recording
(seen: list[httpx.Request], reply: Reply)
tests/unit/llms/dashscope/test_dashscope_text_to_speech_transformation.py:43
↓ 4 callersFunction_recording_redis
(values: dict)
tests/unit/caching/test_dual_cache.py:724
↓ 4 callersFunction_recording_router
A real router that records the classifier calls the endpoint makes instead of sending them. Injected at the same `proxy_server.llm_router` bounda
tests/unit/proxy/management_endpoints/test_auto_router_endpoints.py:78
↓ 4 callersFunction_recording_team_calls
( events: list[tuple[str, str]], )
tests/unit/proxy/management_endpoints/test_ui_sso.py:11358
↓ 4 callersFunction_recording_transport
(requests: list[httpx.Request], status: int = 401)
tests/unit/integrations/langfuse/test_langfuse_sdk.py:961
↓ 4 callersFunction_redact_secret_values_in_obj
Recursively redact secret leaves inside a structured field so a nested credential (e.g. aws_web_identity_token under database_args) is never r
litellm/proxy/proxy_server.py:20898
↓ 4 callersFunction_redeem
(gateway: Gateway, alias: str, key: str, client_id: str, code: str, pkce: _Pkce)
tests/integration/mcp/test_mcp_oauth_flows.py:439
↓ 4 callersFunction_redis_that
(async_increment, get=None)
tests/unit/proxy/mcp_server/test_gateway_dcr_flow.py:2250
↓ 4 callersFunction_refresh_claim_key
(jti: str)
litellm/proxy/mcp_server/gateway_dcr_flow.py:473
↓ 4 callersFunction_refusal
(response: httpx.Response)
tests/integration/authorization/test_hidden_alias_budget_bypass.py:593
↓ 4 callersFunction_refusal
(rig: FederationRig, client: str, model: str, marker: str)
tests/integration/management/test_credential_federation_values.py:1020
↓ 4 callersFunction_refused_call
( gateway: Gateway, client: str, path: str, key: str, name: str, arguments: Mapping[st
tests/integration/mcp/test_mcp_transports.py:72
↓ 4 callersFunction_regclass_name
(connection: "psycopg.Connection[tuple[object, ...]]", schema: str, name: str)
litellm-proxy-extras/litellm_proxy_extras/request_log_indexes.py:231
↓ 4 callersFunction_regex_schema
(pattern)
tests/unit/litellm_core_utils/prompt_templates/test_json_schema_utils.py:484
↓ 4 callersMethod_register
(server: MCPServer, base_tool_name: str)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:13956
↓ 4 callersMethod_register
(self, client: PassthroughClient, resources: ResourceManager, prefix: str)
tests/e2e/llm_translation/test_chat_completions_regression_e2e.py:445
↓ 4 callersFunction_register_agent
( gateway: Gateway, scenario: Scenario, name: str, url: str, agent_card: dict[str, JsonVal
tests/integration/authorization/test_agent_access.py:83
↓ 4 callersFunction_register_benched_on_first_failure
The always-picked half of a failing pair: all of the group's shuffle weight, and a cooldown policy that benches it on its first failure of the giv
tests/e2e/router/reliability_support.py:161
↓ 4 callersFunction_register_models_answer
(key: str, answer: int | Exception)
tests/unit/proxy/client/cli/test_auth_commands.py:67
↓ 4 callersFunction_register_off_peak_model
( off_peak_pricing: OffPeakPricing, cache_read_cost: float | None = STANDARD_CACHE_READ_COST, mode
tests/unit/llms/fireworks_ai/test_fireworks_ai_cost_calculator.py:66
↓ 4 callersFunction_register_priced_deployment
( model: str, search_cost_per_query: float | None, deployment_id: str | None = None )
tests/unit/litellm_core_utils/llm_cost_calc/test_tool_call_cost_tracking.py:1056
↓ 4 callersFunction_register_response_deployment
( proxy: ProxyClient, resources: ResourceManager, deployment: Literal["openai", "azure"], pref
tests/e2e/llm_translation/test_responses_retrieve_e2e.py:154
↓ 4 callersFunction_register_tier_backend
()
tests/unit/test_router_model_cost_isolation.py:1234
↓ 4 callersFunction_register_tool_permission
Allow-list exactly one tool: everything else falls to `default_action=deny` and, with `on_disallowed_action=block`, is rejected outright.
tests/e2e/guardrails/test_tool_permission_guardrail_e2e.py:85
↓ 4 callersMethod_registered_server
(self, server: MCPServer)
litellm/proxy/mcp_server/mcp_server_manager.py:2132
↓ 4 callersMethod_registry_only_manager
A manager mock where the server exists only in the registry (DB miss).
tests/unit/proxy/management_endpoints/test_mcp_management_endpoints.py:7636
↓ 4 callersMethod_rehydrate
(self, texts: Sequence[str], session_id: str)
litellm/proxy/guardrails/guardrail_hooks/llm_shield_proxy/llm_shield_proxy.py:268
← previousnext →18,701–18,800 of 202,479, ranked by callers