MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_claude_rejecting_forced_tools
(gateway: Gateway, namespace: str, family: str)
tests/integration/providers/test_vertex_anthropic_structured_output_wire.py:825
↓ 3 callersFunction_claude_router
()
tests/unit/proxy/anthropic_endpoints/test_endpoints.py:979
↓ 3 callersFunction_claude_stream_events
()
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_vertex_passthrough_logging_handler.py:378
↓ 3 callersFunction_claude_web_calls_and_a_native_search
()
tests/unit/llms/openai/responses/test_openai_responses_guardrail_handler.py:256
↓ 3 callersFunction_clean_armor_response
()
tests/unit/proxy/guardrails/guardrail_hooks/test_model_armor.py:4936
↓ 3 callersFunction_clean_db
Connects inside the running test's loop: an async fixture would be torn up on a different loop than the test body, which prisma's engine lock refu
tests/integration/management/test_team_delete_member_add_race.py:95
↓ 3 callersMethod_clean_details
Clean and validate details JSON
litellm/proxy/utils.py:8253
↓ 3 callersFunction_clean_display_name
(raw: str)
litellm/proxy/public_endpoints/public_endpoints.py:175
↓ 3 callersMethod_clean_spend_log_tables
Prune the spend logs and the tool index rows derived from them. When the table is range-partitioned, whole expired partitions are dr
litellm/proxy/db/db_transaction_queue/spend_log_cleanup.py:1055
↓ 3 callersFunction_client
(gateway: Gateway)
tests/integration/providers/test_google_genai_proxy_sdk_wire.py:123
↓ 3 callersFunction_client
(env: pytest.MonkeyPatch, url: str, replica: str | None = None)
tests/integration/database/migrations/test_autorouter_baseline_state.py:45
↓ 3 callersFunction_client
(auth: UserAPIKeyAuth)
tests/unit/proxy/container_endpoints/test_endpoints.py:41
↓ 3 callersFunction_client
(url: str)
tests/unit/integration_support/test_wire.py:61
↓ 3 callersMethod_client
(self)
litellm/llms/xai/oauth.py:206
↓ 3 callersFunction_client_body
( endpoint: _Endpoint, model: str, stream: bool, prompt: str = _JSON_SCHEMA_PROMPT, )
tests/integration/providers/test_databricks_chat_wire.py:979
↓ 3 callersMethod_client_for
(self, actor: UserAPIKeyAuth)
tests/unit/proxy/management_endpoints/test_model_management_endpoints.py:9867
↓ 3 callersMethod_client_forwarded_config
(self, auth_type, **overrides)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:1989
↓ 3 callersFunction_client_managed
(payload: Mapping[str, object])
litellm/router_strategy/complexity_router/context_compaction.py:143
↓ 3 callersFunction_client_returning_breach_hit
(password: str)
tests/unit/proxy/auth/test_login_utils.py:2239
↓ 3 callersFunction_client_tokens
(chunks: list)
tests/unit/llms/vertex_ai/gemini/test_long_decode.py:1100
↓ 3 callersFunction_client_tool_call_ids_when_a_server_tool_call_is_marked
( messages: Sequence[object], model: str | None = None, custom_llm_provider: str | None = None )
litellm/integrations/anthropic_cache_control_hook.py:608
↓ 3 callersFunction_client_tool_search_item
(item: object)
litellm/responses/litellm_completion_transformation/client_tool_search.py:105
↓ 3 callersFunction_client_with_transport
(handler)
tests/unit/proxy/auth/test_login_utils.py:2233
↓ 3 callersFunction_clients
(stack: ExitStack, base_url: str, count: int)
tests/integration/providers/test_vertex_anthropic_inline_tools_beta_wire.py:172
↓ 3 callersFunction_clients
(stack: ExitStack, base_url: str, count: int)
tests/integration/providers/test_vertex_partner_count_tokens_wire.py:322
↓ 3 callersFunction_clients
(gateway: Gateway, deployments: tuple[str, str])
tests/integration/compatibility/test_openai_sdk_client_paths_chaos.py:152
↓ 3 callersFunction_clock_reading
(instants: Iterator[datetime])
tests/unit/proxy/hooks/test_parallel_request_limiter.py:33
↓ 3 callersMethod_close_after_first_chunk
(guardrail: CustomGuardrail)
tests/unit/proxy/guardrails/guardrail_hooks/unified_guardrails/test_unified_guardrail.py:2570
↓ 3 callersFunction_close_code
(closed: ConnectionClosed)
tests/integration/providers/test_realtime_unguarded_voice_turns.py:317
↓ 3 callersFunction_close_code
(closed: ConnectionClosed)
tests/integration/providers/test_openai_realtime_transcription_url.py:160
↓ 3 callersFunction_closing
(marker: str)
tests/integration/providers/test_gemini_long_decode_chaos.py:93
↓ 3 callersFunction_closing_chunk_without_output
()
tests/unit/caching/test_caching_handler.py:3168
↓ 3 callersFunction_closing_line
(context_window_size: int)
litellm/router_strategy/complexity_router/complexity_router.py:307
↓ 3 callersFunction_cmd_argv
(dockerfile: Path)
tests/unit/test_component_entrypoint.py:140
↓ 3 callersFunction_code_from
(response)
tests/unit/proxy/mcp_server/test_gateway_dcr_flow.py:1834
↓ 3 callersMethod_codec
(self)
litellm/proxy/mcp_server/oauth2_token_cache.py:247
↓ 3 callersFunction_codes_at
(tmp_path, parts, source)
tests/unit/test_check_type_discipline.py:363
↓ 3 callersFunction_codex_can_drive
(model_id: str, mode: str | None)
litellm/proxy/common_utils/codex_model_catalog.py:250
↓ 3 callersFunction_codex_config
(args)
tests/unit/proxy/client/cli/test_agents.py:233
↓ 3 callersFunction_coerce_realtime_session_type
(session_type: str | None)
litellm/proxy/realtime_endpoints/endpoints.py:87
↓ 3 callersFunction_coerce_window
(window: object)
litellm/proxy/spend_tracking/budget_reservation.py:904
↓ 3 callersFunction_cohere_rerank
(sync_mode: bool, router: respx.MockRouter, top_n: int | None)
tests/unit/rerank_api/test_main.py:39
↓ 3 callersMethod_collapse_buffered_audio_messages
Apply ``input_audio_buffer.clear`` semantics before replaying buffered frames. During deferred Gemini Live setup, ``clear`` is buffered along
litellm/litellm_core_utils/realtime_streaming.py:1367
↓ 3 callersFunction_collect_events_async
Drain all events from an async AnthropicStreamWrapper.
tests/unit/llms/anthropic/messages/adapters/test_streaming_iterator_tool_args.py:60
↓ 3 callersFunction_collect_events_sync
Drain all events from a sync AnthropicStreamWrapper.
tests/unit/llms/anthropic/messages/adapters/test_streaming_iterator_tool_args.py:52
↓ 3 callersFunction_collect_marker_spans
( destination: Wire, markers: tuple[str, ...], *, timeout_seconds: float = 30 )
tests/integration/observability/_openinference_support.py:625
↓ 3 callersFunction_collect_stream_delta_text_holders
Collect the user-visible text strings a Bedrock Converse ``contentBlockDelta`` can carry, matching the coverage of the non-streaming output h
litellm/llms/bedrock/passthrough/guardrail_translation/handler.py:631
↓ 3 callersFunction_collect_strings
Record a (container, key) holder for every non-empty string value nested under an arbitrary JSON node, so prompt content a caller hides in fi
litellm/llms/bedrock/passthrough/guardrail_translation/handler.py:197
↓ 3 callersFunction_collect_with_logging
( stream: AsyncIterator[dict[str, object]], logging_obj: LitellmLogging )
tests/unit/llms/anthropic/messages/responses_adapters/test_responses_adapters_streaming_iterator.py:654
↓ 3 callersFunction_collected_state_series
(prom_dir: Path)
tests/integration/sdk/test_redis_breaker_metrics_multiprocess_sdk.py:51
↓ 3 callersMethod_combine_list_of_transactions
Combines the list of transactions into a single DBSpendUpdateTransactions object
litellm/proxy/db/db_transaction_queue/redis_update_buffer.py:1028
↓ 3 callersFunction_commands
(config: VertexChirpRealtimeConfig, payload: str)
tests/unit/llms/vertex_ai/audio_transcription/test_vertex_ai_realtime_transformation.py:107
↓ 3 callersFunction_commit
(work: Path, files: Mapping[str, str], message: str)
tests/unit/test_circleci_checkout.py:121
↓ 3 callersFunction_commit_token_file
(staged: str)
litellm/litellm_core_utils/cli_token_utils.py:627
↓ 3 callersMethod_common_chunk_parsing_logic
(self, chunk: str)
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:4529
↓ 3 callersFunction_complete
(client: str, route: str, wire: Wire, stream: bool)
tests/integration/sdk/test_vertex_gemini_stream_timeout_wire.py:101
↓ 3 callersFunction_complete
(provider: Provider, wire: Wire, stream: bool)
tests/integration/sdk/test_gemini_long_decode_sync_sdk.py:81
↓ 3 callersFunction_complete_url
(request_query_params: dict, litellm_params: dict)
tests/unit/llms/azure/passthrough/test_azure_passthrough_transformation.py:345
↓ 3 callersFunction_complete_usage
(usage: Usage | None)
litellm/proxy/spend_tracking/baseline_accounting.py:70
↓ 3 callersFunction_complete_with_openrouter_usage
(usage)
tests/unit/llms/openrouter/chat/test_openrouter_chat_transformation.py:665
↓ 3 callersFunction_completed
(response: httpx.Response)
tests/integration/mcp/test_mcp_llm_endpoints.py:1378
↓ 3 callersFunction_completed_flow
(session_data: Mapping[str, object] = _COMPLETED_SESSION)
tests/unit/proxy/anthropic_endpoints/test_gateway_endpoints.py:262
↓ 3 callersFunction_completion
(identity: str)
tests/integration/messages_endpoint/chat_bridge/test_anthropic_messages_hosted_vllm_reasoning_wire.py:25
↓ 3 callersFunction_completion_call
(prompt)
tests/unit/proxy/guardrails/guardrail_hooks/test_straiker.py:2123
↓ 3 callersFunction_completion_chunk
(text: str, token_ids: list[int], finish_reason: str | None = None)
tests/unit/proxy/test_proxy_logging_hook_detection.py:523
↓ 3 callersFunction_completion_id
(gateway: Gateway, model: str)
tests/integration/spend/test_daily_tag_spend_retention.py:93
↓ 3 callersFunction_completion_kwargs
(**overrides)
tests/unit/llms/bedrock/chat/test_bedrock_converse_handler.py:55
↓ 3 callersFunction_compute_key_fingerprint
(request)
tests/_vcr_conftest_common.py:785
↓ 3 callersFunction_config
(directory: Path)
tests/integration/providers/test_anthropic_passthrough_wire.py:82
↓ 3 callersFunction_config
(control_api_url: str, directory: Path, *, fixed: bool, wildcards: bool, universal: bool = False)
tests/integration/providers/test_device_code_login_guard_boot.py:82
↓ 3 callersFunction_config
(directory: Path)
tests/integration/providers/test_sagemaker_embedding_chaos.py:57
↓ 3 callersFunction_config
( tmp_path: Path, name: str, model_list: tuple[Mapping[str, JsonValue], ...], router_settings:
tests/integration/providers/test_dashscope_video_chaos.py:65
↓ 3 callersFunction_config
(directory: Path, otel_audit_config: AuditConfigWriter, otel: Mapping[str, JsonValue], name: str)
tests/integration/observability/test_otel_excluded_services_matrix.py:416
↓ 3 callersFunction_config
(wire: Wire, directory: Path, models: _Models, *, retries: int = 1)
tests/integration/messages_endpoint/providers/anthropic/test_anthropic_messages_pre_content_retry_chaos.py:175
↓ 3 callersFunction_config
(tmp_path: Path, general_settings: Mapping[str, JsonValue], **sections: JsonValue)
tests/integration/spend/test_requester_ip_address_logging.py:62
↓ 3 callersFunction_config
(directory: Path, wire_url: str, model_list: list[JsonValue], name: str)
tests/integration/routing/test_ptu_shares.py:231
↓ 3 callersFunction_config
(map_return)
tests/unit/videos/test_utils.py:145
↓ 3 callersMethod_config
(self)
tests/unit/llms/watsonx/embed/test_watsonx_embedding_transformation.py:19
↓ 3 callersFunction_config_guardrail
(name: str, guardrail_type: str, guardrail_id=None)
tests/unit/proxy/guardrails/test_guardrail_registry.py:98
↓ 3 callersFunction_config_registry
(vector_store_id: str = "vs_from_config")
tests/unit/vector_stores/test_vector_store_registry.py:315
↓ 3 callersFunction_config_server
(server_id: str, name: str, alias: str | None = None, server_name: str | None = None)
tests/unit/proxy/management_helpers/test_resource_display_names.py:25
↓ 3 callersFunction_config_table
(prisma_client: "PrismaClient")
litellm/proxy/spend_tracking/cloudzero_endpoints.py:52
↓ 3 callersFunction_config_table
(prisma_client: "PrismaClient")
litellm/proxy/spend_tracking/vantage_endpoints.py:54
↓ 3 callersMethod_config_with_resolved_settings
(self, config: Mapping[str, object])
litellm/proxy/proxy_server.py:5987
↓ 3 callersFunction_configure_callback_scoping
( custom_guardrail_callback: CustomGuardrail, guardrail_name: str, litellm_params: LitellmParams,
litellm/proxy/guardrails/guardrail_registry.py:620
↓ 3 callersFunction_configure_member_preview
(monkeypatch: pytest.MonkeyPatch, *, allowed: bool = True)
tests/unit/proxy/management_endpoints/test_auto_router_endpoints.py:3448
↓ 3 callersFunction_configured_custom_sso
()
litellm/proxy/management_endpoints/ui_sso.py:285
↓ 3 callersFunction_consume
(reply: object, stream: bool)
tests/integration/providers/test_vertex_batch_row_line_errors_wire.py:342
↓ 3 callersFunction_consumed
(gateway: Gateway, path: str, body: Mapping[str, JsonValue])
tests/integration/providers/test_inferenceapis_wire.py:192
↓ 3 callersFunction_consumes_caller_authorization
True when this server's egress forwards the caller's request-wide ``Authorization`` upstream: the client-forwarded token modes, legacy OAuth pass-
litellm/proxy/mcp_server/mcp_server_manager.py:1581
↓ 3 callersFunction_container
(container_id: str, name: str)
tests/integration/security/test_container_ownership.py:46
↓ 3 callersFunction_contains_key
(value, key)
tests/unit/integrations/test_anthropic_cache_control_hook.py:3551
↓ 3 callersFunction_content
(response: httpx.Response)
tests/integration/routing/test_fallback_retry_header_contracts.py:55
↓ 3 callersFunction_content_blocks
(message: Mapping[str, object])
litellm/integrations/datadog/datadog_llm_obs.py:279
↓ 3 callersFunction_content_events
(content: Sequence[Mapping[str, object]])
tests/unit/llms/anthropic/messages/native/test_fake_stream_iterator.py:114
↓ 3 callersFunction_content_filter
(gateway: Gateway, mode: str)
tests/integration/mcp/test_mcp_accounting_guardrails.py:135
↓ 3 callersFunction_content_hash
(text: str)
litellm/proxy/guardrails/guardrail_hooks/compresr/compresr.py:264
↓ 3 callersMethod_content_part_key
(event: dict)
litellm/llms/xai/realtime/transformation.py:129
↓ 3 callersFunction_content_part_text_field
(part: object)
litellm/llms/openai/responses/guardrail_translation/handler.py:585
↓ 3 callersFunction_content_policy_error
()
tests/unit/test_router_exception_redaction.py:344
← previousnext →22,801–22,900 of 202,479, ranked by callers