MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_assert_json_round_trip
(value: object)
tests/unit/proxy/roi_calculator/test_sync.py:65
↓ 3 callersFunction_assert_listing_spares_the_sibling
( gateway: Gateway, broken: str, sibling: str, broken_limits: tuple[JsonValue, JsonValue] )
tests/integration/pricing/test_model_listing_token_limits.py:72
↓ 3 callersFunction_assert_logged_usage_matches
(client_usage: Usage, payload: _LoggedUsage)
tests/unit/litellm_core_utils/test_stream_usage_logging.py:99
↓ 3 callersFunction_assert_messages_error
(error: Mapping[str, JsonValue], error_type: str, provider_message: str)
tests/integration/streaming/test_responses_top_level_error_events.py:365
↓ 3 callersFunction_assert_messages_request
( request: Request, *, marker: str, prompt: str = "weather in Paris?", stream: bool = Fals
tests/integration/observability/_openinference_support.py:148
↓ 3 callersFunction_assert_names_missing_id
(message: str, shape: _Misconfiguration)
tests/integration/management/test_credential_federation_values.py:1028
↓ 3 callersFunction_assert_no_answer
(text: str)
tests/integration/providers/test_bedrock_stream_timeout_wire.py:285
↓ 3 callersFunction_assert_no_bleed
(received: tuple[Request, ...], markers: frozenset[str])
tests/integration/providers/test_gemini_thinking_replay_chaos.py:184
↓ 3 callersMethod_assert_no_content
(self, logger, kwargs)
tests/unit/integrations/newrelic/test_newrelic.py:433
↓ 3 callersFunction_assert_no_served_row
(key: str, marker: str)
tests/integration/authorization/test_alias_chain_budget_waiver.py:215
↓ 3 callersFunction_assert_observation
(gateway: Gateway, scenario_id: str, suffix: str)
tests/integration/providers/test_provider_lookup_status.py:185
↓ 3 callersFunction_assert_one_bridged_row_bills_both_rounds_once
(recorder: _RoundRecorder, client: ResponsesAPIResponse)
tests/unit/responses/mcp/test_aresponses_api_with_mcp.py:3139
↓ 3 callersFunction_assert_one_stream_row_bills_both_rounds_once
( logged: tuple[StandardLoggingPayload, ...], client: ResponsesAPIResponse )
tests/unit/responses/mcp/test_aresponses_api_with_mcp.py:2542
↓ 3 callersFunction_assert_only_add_is_listed_and_callable
( gateway: Gateway, key: str, peer: McpPeer, alias: str, identity: str )
tests/integration/mcp/test_mcp_access_matrix.py:439
↓ 3 callersFunction_assert_permission_row_untouched
(mock_prisma_client: AsyncMock, events: list[str])
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:14090
↓ 3 callersFunction_assert_permission_row_written_after_policy
(events: list[str], written: Mapping[str, object])
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:14084
↓ 3 callersFunction_assert_policy_block
(result: StreamingResponse, surface: str)
tests/e2e/guardrails/test_bedrock_guardrail_e2e.py:304
↓ 3 callersFunction_assert_price
(price: GroupPrice, input_cost: float, output_cost: float, providers: tuple[str, ...])
tests/integration/authorization/test_alias_chain_budget_waiver.py:242
↓ 3 callersFunction_assert_prompt_reached_upstream
(upstream: Upstream, identity: str, text: str, times: int)
tests/integration/caching/test_response_cache_empty_output.py:106
↓ 3 callersFunction_assert_prompt_replaces_the_system_content
(prompt: str)
tests/integration/providers/test_ollama_prompt_tools_wire.py:1482
↓ 3 callersFunction_assert_provider_upload
(request: Request, bearer: str, filename: str)
tests/integration/management/test_vector_store_file_list_managed_ids.py:58
↓ 3 callersFunction_assert_rate_limited
(outcome: StreamingResponse, limit_type: str)
tests/e2e/quota_management/ratelimit/test_rate_limit_e2e.py:162
↓ 3 callersFunction_assert_reaches_the_provider
(gateway: Gateway, wire: Wire, model: str)
tests/integration/providers/test_pdf_input_support_wire.py:158
↓ 3 callersFunction_assert_read_without_marks
(payload: dict[str, JsonValue], marker: str)
tests/integration/providers/test_responses_bridge_item_marks_guardrail_wire.py:167
↓ 3 callersFunction_assert_reads_back
(info: KeyInfo, expected: KeyGenerateBody, replica: str)
tests/e2e/management/test_key_lifecycle_e2e.py:139
↓ 3 callersFunction_assert_refusal
(path: str, response: httpx.Response, *secrets: str)
tests/integration/authorization/test_unknown_key_generic_401.py:151
↓ 3 callersFunction_assert_refused
(response: httpx.Response)
tests/integration/providers/test_voyage_mongodb_host_wire.py:240
↓ 3 callersFunction_assert_refused
( rig: ChainRig, candidate: Gateway, key: str, model: str, prefix: str, route: str = "
tests/integration/authorization/test_alias_chain_budget_waiver.py:189
↓ 3 callersFunction_assert_refused_for_budget
(response: httpx.Response, wire: Wire, message: str)
tests/integration/authorization/test_access_group_budget.py:294
↓ 3 callersFunction_assert_refused_for_safety_identifier
(response: httpx.Response)
tests/integration/providers/test_decisions_openai_format_wire.py:365
↓ 3 callersFunction_assert_refused_on_every_route
(rig: ChainRig, candidate: Gateway, key: str, model: str)
tests/integration/authorization/test_alias_chain_budget_waiver.py:204
↓ 3 callersFunction_assert_rendered
(body: dict[str, JsonValue], prompt: str, *, stream: bool)
tests/integration/providers/test_custom_prompt_template_wire.py:102
↓ 3 callersFunction_assert_resent_without_strict
(bedrock: ScriptedBedrockInvoke)
tests/unit/llms/bedrock/messages/invoke_transformations/test_anthropic_claude_transformation.py:4503
↓ 3 callersFunction_assert_responses_request
( request: Request, *, marker: str, input_value: str = "weather in Paris?", stream: bool =
tests/integration/observability/_openinference_support.py:129
↓ 3 callersFunction_assert_root_closed_and_no_orphan
(exporter, root_span, where)
tests/unit/integrations/open_telemetry/test_passthrough_parent_span.py:148
↓ 3 callersFunction_assert_row
(row: Mapping[str, JsonValue], provider: str, prompt: int, completion: int)
tests/integration/routing/test_azure_passthrough_spend_row.py:134
↓ 3 callersFunction_assert_rows_once
(served: tuple[_Served, ...])
tests/integration/providers/test_bedrock_kimi_k3_cache_point_wire.py:1409
↓ 3 callersFunction_assert_s3_configured
Recorded state: the proxy reports the s3_v2 callback among its active callbacks, so a missing destination config fails here, before any delive
tests/e2e/logging/test_s3_log_e2e.py:56
↓ 3 callersFunction_assert_schemas_by_marker
(received: tuple[Request, ...], calls: tuple[_Call, ...], fleet: _Fleet)
tests/integration/providers/test_bedrock_converse_lookaround_regex_chaos.py:190
↓ 3 callersFunction_assert_scim_group_list_response
( response: httpx.Response, group_id: str | None, group_name: str, members: list[ScimGroupMemb
tests/integration/management/test_scim_admin_group.py:200
↓ 3 callersFunction_assert_served
(item: _Served)
tests/integration/providers/test_chat_completions_tool_search_chaos.py:154
↓ 3 callersFunction_assert_served
(item: _Served)
tests/integration/providers/test_anthropic_tool_search_result_chaos.py:124
↓ 3 callersFunction_assert_served
(response: httpx.Response, wire: Wire, text: str, max_tokens: int, spelling: str = "json")
tests/integration/authorization/test_access_group_budget.py:271
↓ 3 callersFunction_assert_served
(response: httpx.Response, wire: Wire, marker: str)
tests/integration/authorization/test_tool_search_replay_allowlist.py:66
↓ 3 callersFunction_assert_served
(response: httpx.Response)
tests/integration/authorization/test_access_group_model_listing.py:125
↓ 3 callersFunction_assert_served_by_backup
(resp: StreamingResponse, backup: str, when: str)
tests/e2e/router/test_reliability_cooldowns_e2e.py:126
↓ 3 callersFunction_assert_served_its_own
(served: _Served)
tests/integration/providers/test_decisions_chaos.py:109
↓ 3 callersFunction_assert_served_its_own
(served: _Served)
tests/integration/providers/test_decisions_box_deployment_flag_chaos.py:98
↓ 3 callersFunction_assert_serves_chat
(gateway: Gateway, *models: str)
tests/integration/pricing/test_model_listing_token_limits.py:87
↓ 3 callersFunction_assert_serving
(gateway: Gateway, model: str, key: str)
tests/integration/management/test_scim_user_lifecycle.py:144
↓ 3 callersFunction_assert_session_token_on_the_wire
(requests, github_token="gho_a")
tests/unit/llms/github_copilot/test_per_user_auth.py:840
↓ 3 callersFunction_assert_shutdown_accounting
(key: str, tags: tuple[str, str], requests: int)
tests/integration/spend/test_shutdown_flush.py:106
↓ 3 callersFunction_assert_sigv4
(request: Request)
tests/integration/providers/test_bedrock_mantle_count_tokens_wire.py:317
↓ 3 callersFunction_assert_spend_row
(gateway: Gateway, response_id: str, expected_cost: float)
tests/integration/pricing/test_sail_service_tier_pricing.py:109
↓ 3 callersFunction_assert_spend_row_carries_client_tag_and_key_identity
( request_id: str, key: str, user_id: str, team_id: str )
tests/integration/providers/test_openai_completion_wire.py:83
↓ 3 callersFunction_assert_sse_answer
(response: httpx.Response, marker: str)
tests/integration/providers/test_chatgpt_responses_caller_stream_wire.py:153
↓ 3 callersFunction_assert_stream_failed_after_message_start
( status: int, events: tuple[SseEvent, ...], wire: Wire, *, attempts: int )
tests/integration/messages_endpoint/providers/anthropic/test_anthropic_messages_pre_content_retry_wire.py:165
↓ 3 callersFunction_assert_submission_status
(guardrail_id: str, status: str, team_id: str)
tests/integration/authorization/test_guardrail_submissions.py:112
↓ 3 callersFunction_assert_successful_calls
( plans: Sequence[CallPlan], responses: Sequence[httpx.Response], provider_rows: Sequence[Request]
tests/integration/observability/test_guardrail_stream_scope_chaos.py:407
↓ 3 callersFunction_assert_task_wire
(requests: tuple[Request, ...], task_id: str, parameters: Mapping[str, JsonValue])
tests/integration/providers/test_dashscope_video_wire.py:45
↓ 3 callersFunction_assert_tenant_mirrors
(rig: Rig, operator: tuple[Span, ...], cursors: Cursors)
tests/integration/observability/test_otel_excluded_services_matrix.py:403
↓ 3 callersFunction_assert_tenant_never_saw_datastore_spans
(rig: Rig, cursors: Cursors, traces: set[str])
tests/integration/observability/test_otel_excluded_services_matrix.py:649
↓ 3 callersFunction_assert_token_request
(request: Request)
tests/integration/providers/test_databricks_agent_wire.py:214
↓ 3 callersMethod_assert_trusted_api_base_for_server_credential
Block sending a server-managed credential to a caller-chosen host. A caller-supplied api_base is honored when constructing the reque
litellm/llms/base_llm/search/transformation.py:140
↓ 3 callersFunction_assert_turn_one
(assistant: Mapping[str, JsonValue], marker: str)
tests/integration/providers/test_responses_bridge_tool_search_replay.py:137
↓ 3 callersFunction_assert_turn_one
(message: Message, marker: str)
tests/integration/sdk/test_responses_bridge_tool_search_sdk.py:46
↓ 3 callersFunction_assert_turns_answered
(session: Session, scenario_id: str, fields: tuple[Mapping[str, JsonValue], ...])
tests/integration/providers/test_realtime_unguarded_voice_turns.py:433
↓ 3 callersFunction_assert_two_attempts_one_success
(wire: Wire, target: str, model: str)
tests/integration/routing/test_deployment_num_retries_generic_routes_wire.py:77
↓ 3 callersFunction_assert_unauthorized
(result: CallToolResult)
tests/integration/mcp/test_proxy_mcp_e2e.py:880
↓ 3 callersFunction_assert_untracked_lens_rows
(rows: tuple[dict[str, JsonValue], ...])
tests/integration/spend/test_disable_end_user_cost_tracking.py:394
↓ 3 callersFunction_assert_upload
(request: Request, expected_content: bytes)
tests/integration/providers/test_rag_ingest_wire.py:128
↓ 3 callersFunction_assert_upload_reaches_both_target_models
( gateway: Gateway, spelling: _BatchUploadSpelling, sdk_base_url: str )
tests/integration/providers/test_files_batches_wire.py:292
↓ 3 callersFunction_assert_upstream
( received: tuple[Upstreamed, ...], owner_texts: frozenset[str], refused_texts: frozenset[str], created: s
tests/integration/authorization/test_responses_compact_id_ownership_chaos.py:134
↓ 3 callersFunction_assert_usage_row
(row: Mapping[str, JsonValue], call_type: str, tags: list[str])
tests/integration/messages_endpoint/providers/anthropic/test_passthrough_migration_wire.py:162
↓ 3 callersFunction_assert_usage_row
(row: dict[str, JsonValue], expected_request: dict[str, JsonValue], answer: str)
tests/integration/spend/test_spend_log_latest_turn.py:124
↓ 3 callersFunction_assert_user_lookup_then_model_call
(requests, github_token, model_host="https://api.githubcopilot.com")
tests/unit/llms/github_copilot/test_per_user_auth.py:779
↓ 3 callersFunction_assert_validation_error
(response: Response, error_type: str, location: tuple[str | int, ...])
tests/unit/proxy/test_tracing_endpoints.py:135
↓ 3 callersFunction_assert_voice_session_ungated
(session: Session, observed: tuple[dict[str, JsonValue], ...])
tests/integration/providers/test_realtime_transcription_guardrail_session_update.py:1586
↓ 3 callersFunction_assert_wingback_request
(request: Request, input_type: str, text: str)
tests/integration/observability/test_wingback_guardrail.py:109
↓ 3 callersFunction_assert_wire
(call: _Call, request: Request, body: Mapping[str, JsonValue])
tests/integration/providers/test_responses_bridge_tool_search_replay_wire.py:255
↓ 3 callersMethod_assert_within_data_roots
Raise ValueError unless path sits inside one of the category data roots.
litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py:523
↓ 3 callersFunction_assert_wraps_the_provider_exception_once
(raised: MidStreamFallbackError, wire: Wire, marker: str)
tests/integration/sdk/test_responses_bridge_stream_errors_sdk.py:46
↓ 3 callersMethod_assert_write_waits_for_the_lock
( monkeypatch: pytest.MonkeyPatch, call_endpoint: Callable[[], Awaitable[dict[str, object]]], write: s
tests/unit/proxy/credential_endpoints/test_endpoints.py:3370
↓ 3 callersFunction_assignments
(body: list[ast.stmt])
tests/unit/proxy/db/test_prisma_query_span.py:178
↓ 3 callersMethod_assistant_audio_block
(stop_reason: str)
tests/unit/llms/bedrock/realtime/test_bedrock_realtime_transformation.py:1314
↓ 3 callersFunction_assistant_messages
(items: Sequence[tuple[JsonValue, ...]])
tests/integration/providers/test_responses_bridge_history_replay_wire.py:127
↓ 3 callersFunction_assistant_reply
(content: str | None)
tests/unit/proxy/guardrails/guardrail_hooks/dynamoai/test_dynamoai.py:145
↓ 3 callersFunction_assistant_tool_uses
(messages: Sequence[Mapping[str, JsonValue]])
tests/integration/providers/test_responses_bridge_tool_search_replay_wire.py:232
↓ 3 callersFunction_assistant_turn
(request: Request)
tests/integration/providers/test_anthropic_thinking_signature_stream_wire.py:198
↓ 3 callersFunction_assistants_api
(thread_id: str, answer: str, project_path: str = "/api/projects/litellm-test")
tests/unit/llms/azure_ai/agents/test_handler.py:25
↓ 3 callersFunction_assume_role_params
( aws_role_name: str, aws_session_name: str, aws_external_id: str | None, aws_session_tags: Se
litellm/llms/bedrock/base_aws_llm.py:94
↓ 3 callersFunction_async_anthropic_client
(gateway: Gateway)
tests/integration/providers/test_ollama_prompt_tools_wire.py:202
↓ 3 callersFunction_async_exchange
(base_url: str, ssl_verify: bool | None = False)
tests/integration/sdk/test_http2_wire.py:203
↓ 3 callersFunction_async_gateway_client
( requests: list[dict], respond: GatewayResponder = _fake_claude_platform_gateway, )
tests/unit/llms/bedrock/test_claude_platform_provider.py:107
↓ 3 callersFunction_async_increment_all
( dual_cache: DualCache, increments: tuple[tuple[str, int], ...], parent_otel_span: Span | None )
litellm/router_utils/pre_call_checks/io_token_rate_limit_check.py:978
↓ 3 callersMethod_async_log_event_base
(self, kwargs, response_obj, start_time, end_time)
litellm/integrations/s3_v2.py:580
↓ 3 callersFunction_async_mock_stream_snapshots
(mock_response: object, prompt_tokens: int | None)
tests/unit/test_utils.py:8325
↓ 3 callersFunction_async_openai
(rig: _Rig)
tests/integration/providers/test_chatgpt_responses_caller_stream_wire.py:177
↓ 3 callersMethod_async_realtime_session_post
Shared POST flow for the realtime HTTP session endpoints (client_secrets and transcription_sessions). Uses provider_config (
litellm/llms/custom_httpx/llm_http_handler.py:7054
↓ 3 callersFunction_async_return
(value)
tests/unit/llms/anthropic/messages/native/test_anthropic_messages_handler.py:286
← previousnext →22,301–22,400 of 202,479, ranked by callers