MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 5 callersFunction_stream_logged_mid_stream
( hook: ResponsesIDSecurity, route: str, logged_result: ResponseCompletedEvent | ModelResponse,
tests/unit/test_responses_id_security.py:1425
↓ 5 callersMethod_stream_step
Returns ``(text safe to emit now, window still being held)``.
litellm/proxy/guardrails/guardrail_hooks/llm_shield_proxy/llm_shield_proxy.py:726
↓ 5 callersFunction_stream_text
(gateway: Gateway, model: str, key: str, body: Mapping[str, JsonValue])
tests/integration/providers/test_google_genai_adapter_wire.py:832
↓ 5 callersFunction_streamed_response
(gateway: Gateway, model: str, prompt: str)
tests/integration/observability/test_bedrock_error_request_id.py:173
↓ 5 callersFunction_streamed_text
(raw: bytes)
tests/unit/llms/bedrock/passthrough/guardrail_translation/test_handler.py:3355
↓ 5 callersFunction_streaming
(request: Request)
tests/integration/providers/test_bedrock_mantle_context_overflow_fallbacks_wire.py:91
↓ 5 callersFunction_streamlake_keys
(cost_map: dict[str, object])
tests/unit/llms/openai_like/test_streamlake_provider.py:250
↓ 5 callersFunction_string
(value: JsonValue)
tests/integration/providers/test_responses_websocket_session_limit.py:271
↓ 5 callersFunction_string_cache
(cache: "RedisCache")
litellm/proxy/credential_endpoints/user_provider_credentials.py:182
↓ 5 callersFunction_sts_mock
()
tests/unit/llms/bedrock/test_web_identity_session_policy.py:641
↓ 5 callersFunction_stub_entra_token
Patch the Azure-touching token provider so tests don't need azure-identity.
tests/unit/proxy/db/test_db_url_settings.py:104
↓ 5 callersFunction_subagent_rollout
( *, thread_id: str, parent: str | None, final_messages: tuple[str | None, ...], forked: bool = False )
tests/e2e_harness/codex/test_codex_rollout.py:79
↓ 5 callersMethod_subject_token_given_to_client
(manager: MCPServerManager)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:15302
↓ 5 callersFunction_subword_tokens
(words, start_ms=0, subword_ms=150, inter_word_gap_ms=50)
tests/unit/llms/soniox/audio_transcription/test_soniox_audio_transcription_transformation.py:395
↓ 5 callersFunction_succeeded_task_payload
()
tests/unit/llms/dashscope/test_dashscope_video_transformation.py:57
↓ 5 callersFunction_success_row
(identity: str, model: str, cache_hit: str = "None")
tests/integration/messages_endpoint/providers/bedrock/test_bedrock_messages_gpt_chat_completions_wire.py:64
↓ 5 callersFunction_successful_task
(result: object)
tests/unit/llms/dataforseo/search/test_dataforseo_search_transformation.py:79
↓ 5 callersFunction_summed_agg_row
(rows: Sequence[_SessionAggRow])
litellm/proxy/management_endpoints/auto_router_endpoints.py:820
↓ 5 callersFunction_swept
(prisma_client)
tests/unit/proxy/common_utils/test_reset_budget_job.py:2616
↓ 5 callersFunction_sync
(db, team_id, access_group_ids)
tests/integration/management/test_access_group_team_sync.py:94
↓ 5 callersMethod_sync
(self, timeout: float | httpx.Timeout)
litellm/llms/xai/batches/handler.py:67
↓ 5 callersMethod_sync
(self, listing, base_env=None, base_url="http://localhost:4000/", groups=())
tests/unit/proxy/client/cli/test_agents.py:567
↓ 5 callersFunction_sync_client
(response: httpx.Response)
tests/unit/llms/custom_httpx/test_container_handler.py:30
↓ 5 callersFunction_sync_client_raising
(provider: str, message: str)
tests/unit/llms/openai/test_openai_common_utils.py:294
↓ 5 callersMethod_sync_forced_tool_choice
Repoint a forced ``tool_choice`` at ``litellm_web_search`` when it names a web-search tool that was just converted away. Native clien
litellm/integrations/websearch_interception/handler.py:602
↓ 5 callersFunction_sync_from
(pc: ProxyConfig, prisma_client: MagicMock)
tests/unit/proxy/proxy_server/test_proxy_config.py:5662
↓ 5 callersFunction_sync_user_role_from_jwt_role_map
Apply jwt_litellm_role_map during SSO login. When jwt_litellm_role_map is configured with sync_user_role_and_teams=True, this ensures SS
litellm/proxy/management_endpoints/ui_sso.py:2152
↓ 5 callersMethod_synthesize_user_from_inputs
(inputs: object)
litellm/proxy/guardrails/guardrail_hooks/xecguard/xecguard.py:452
↓ 5 callersFunction_tagged
(owner: str | None)
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_transcribe_passthrough_logging_handler.py:645
↓ 5 callersFunction_tagged_marker_router
(tier_tags=None)
tests/unit/router_strategy/test_router_tag_routing.py:3033
↓ 5 callersFunction_tagged_request
( gateway: Gateway, model: str, tag: str, tag_source: Literal["body", "header", "root", "key"]
tests/integration/spend/test_tag_budget_enforcement.py:19
↓ 5 callersMethod_take_parked
(self)
litellm/responses/mcp/stream_round_billing.py:315
↓ 5 callersFunction_target
(provider: Provider, stream: bool)
tests/integration/providers/test_gemini_thinking_replay_wire.py:173
↓ 5 callersFunction_targets
(requests: tuple[Request, ...])
tests/integration/security/test_fine_tuning_managed_ids.py:166
↓ 5 callersFunction_targets
(wire: Wire)
tests/integration/providers/test_anthropic_refusal_stop_details_wire.py:509
↓ 5 callersFunction_team
A team the test deletes itself; cleanup removes it only if the test failed before that delete.
tests/integration/management/test_team_delete_member_cache_eviction.py:69
↓ 5 callersMethod_team
(self, members)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:23501
↓ 5 callersMethod_team
(self, team_member_permissions, team_id="team-a")
tests/unit/proxy/management_helpers/test_team_member_permission_checks.py:270
↓ 5 callersFunction_team_default_budget_id
(team_id: str)
tests/integration/spend/test_team_member_spend.py:214
↓ 5 callersFunction_team_grants
(toolset_id: str)
tests/unit/responses/mcp/test_litellm_proxy_mcp_handler.py:1756
↓ 5 callersFunction_team_key
(scenario: Scenario, tags: Sequence[str])
tests/integration/routing/test_tag_routing_prefix.py:171
↓ 5 callersFunction_team_key_row
(key: str)
tests/integration/authorization/test_team_member_permissions.py:93
↓ 5 callersFunction_team_key_with_weekly
(*, user_id: str = _OWNER, created_by: str = _OWNER)
tests/unit/proxy/management_endpoints/test_key_budget_change.py:276
↓ 5 callersMethod_team_marker
(cls, internal_name: str, tags: list[str] | None = None)
tests/unit/test_router/test_router.py:10278
↓ 5 callersFunction_team_member_key
(scenario: Scenario)
tests/integration/spend/test_background_response_billing_proxies.py:146
↓ 5 callersFunction_ternary_proxy
( gateway: Gateway, directory: Path, peers: TernaryPeers, *, callbacks: tuple[str, ...],
tests/integration/observability/test_ternary_focus_export.py:66
↓ 5 callersFunction_text
(text: str)
tests/integration/providers/test_claude_thinking_content_replay_wire.py:86
↓ 5 callersFunction_text
(text: str, ttl: str | None = None)
tests/unit/llms/anthropic/test_anthropic_prompt_cache_prediction.py:294
↓ 5 callersFunction_text
(chunk: GChunk | StreamingChatCompletionChunk | None, is_messages_api: bool)
tests/unit/llms/sagemaker/test_sagemaker_common_utils.py:327
↓ 5 callersFunction_text_at
(payload: JsonValue, *path: str)
tests/integration/observability/test_signoz_delivery.py:146
↓ 5 callersFunction_text_block_stream
An Anthropic /v1/messages stream with one text block made of `deltas`.
tests/unit/proxy/guardrails/guardrail_hooks/test_llm_shield_proxy.py:138
↓ 5 callersFunction_text_blocks
(message)
tests/unit/litellm_core_utils/prompt_templates/test_litellm_core_utils_prompt_templates_factory.py:5508
↓ 5 callersMethod_text_delta
(delta: str, sequence_number: int, content_index: int = 0)
tests/unit/proxy/guardrails/guardrail_hooks/test_llm_shield_proxy.py:1689
↓ 5 callersMethod_text_delta
(self, text)
tests/unit/llms/anthropic/chat/guardrail_translation/test_anthropic_guardrail_handler.py:3241
↓ 5 callersFunction_text_of
(chunk: ModelResponseStream)
tests/integration/sdk/test_sync_stream_connection_release_wire.py:124
↓ 5 callersFunction_texts
(count: int)
tests/integration/providers/test_sagemaker_embedding_chaos.py:88
↓ 5 callersMethod_thenUnwrap
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:1
↓ 5 callersFunction_thinking_block_starts
(events: List[dict])
tests/unit/llms/anthropic/messages/adapters/test_streaming_iterator_first_delta.py:1206
↓ 5 callersFunction_thinking_requested
(body: Mapping[str, JsonValue], invoke: bool)
tests/integration/providers/test_bedrock_native_structured_output_wire.py:187
↓ 5 callersMethod_timing_logging_obj
(timing_metrics)
tests/unit/proxy/test_common_request_processing.py:3891
↓ 5 callersMethod_to_all_chunks
(raw_frames)
tests/unit/proxy/pass_through_endpoints/llm_provider_handlers/test_anthropic_passthrough_logging_handler.py:1207
↓ 5 callersMethod_to_model
Convert a database record to a domain model.
litellm/repositories/base_repository.py:69
↓ 5 callersFunction_to_response
Convert a Prisma mapping object to a safe response (no hashed token).
litellm/proxy/management_endpoints/jwt_key_mapping_endpoints.py:143
↓ 5 callersFunction_token_body
(server, grant_type: str)
tests/unit/proxy/mcp_server/test_discoverable_endpoints.py:11612
↓ 5 callersFunction_token_hash_for_create
Resolve the token hash to store, from either the plaintext key or its hash.
litellm/proxy/management_endpoints/jwt_key_mapping_endpoints.py:66
↓ 5 callersMethod_token_metrics_from_record
(record: Mapping[str, Any])
litellm/integrations/galileo.py:281
↓ 5 callersFunction_token_of
(created: KeyGenerateResponse)
tests/e2e/management/test_management_e2e.py:1078
↓ 5 callersFunction_tool_argument_validation_error
( schema: Mapping[str, JsonValue], arguments: Mapping[str, JsonValue], timeout_seconds: float = _V
litellm/proxy/mcp_server/tool_search.py:111
↓ 5 callersFunction_tool_call
(call_id: str, name: str, arguments: dict)
tests/unit/test_tool_loop.py:52
↓ 5 callersMethod_tool_call
(self, arguments)
tests/unit/proxy/guardrails/guardrail_hooks/content_filter/test_content_filter.py:3541
↓ 5 callersFunction_tool_call_ids_names_and_arguments
( tool_calls: Iterable[ChatCompletionToolCallChunk], )
tests/unit/llms/openai/chat/guardrail_translation/test_openai_guardrail_handler.py:155
↓ 5 callersFunction_tool_inputs
(messages: list[dict[str, object]])
tests/unit/llms/anthropic/messages/context_management/test_clear_tool_uses.py:568
↓ 5 callersFunction_tool_metadata
(row: dict[str, JsonValue])
tests/integration/mcp/test_mcp_accounting_guardrails.py:72
↓ 5 callersFunction_tool_result
(*content: JsonValue)
tests/integration/observability/test_bedrock_converse_guardrail_rewrites.py:384
↓ 5 callersFunction_tool_search
(**fields: JsonValue)
tests/integration/providers/test_responses_bridge_tool_search_undeferred_wire.py:73
↓ 5 callersFunction_tool_table_actions
(prisma_client: "PrismaClient")
litellm/proxy/db/tool_registry_writer.py:56
↓ 5 callersFunction_tool_text
(shape: str, marker_hex: str)
tests/integration/providers/test_vertex_anthropic_structured_output_wire.py:330
↓ 5 callersFunction_tool_usage_transaction
(request_id: str)
tests/unit/proxy/utils/prisma_and_spend/test_spend_functions.py:1067
↓ 5 callersFunction_tool_use
(card: str)
tests/integration/observability/test_bedrock_converse_guardrail_rewrites.py:380
↓ 5 callersMethod_tool_use
(self, name, tool_id="tu_1")
tests/unit/proxy/guardrails/guardrail_hooks/test_tool_permission.py:1800
↓ 5 callersMethod_tool_use_blocks
(self, events: list[dict[str, object]])
tests/unit/proxy/guardrails/guardrail_hooks/test_tool_permission.py:3737
↓ 5 callersFunction_tools_body
( tools: Sequence[Mapping[str, JsonValue]], stream: bool = False )
tests/integration/providers/test_openai_responses_tool_search_wire.py:109
↓ 5 callersMethod_toolset_tool_permissions
The ``server_id -> tool names`` grants of this permission row's toolsets, empty when it declares none. The shared resolver for the team, org,
litellm/proxy/mcp_server/auth/user_api_key_auth_mcp.py:2971
↓ 5 callersFunction_top
(items: Iterable[Contributor])
tests/e2e/perf/setup/observe.py:333
↓ 5 callersFunction_top_level_deferred
()
tests/integration/providers/test_chat_completions_tool_search_wire.py:77
↓ 5 callersFunction_tpm_blank_fields
(fields: Mapping[str, object], names: tuple[str, ...])
litellm/litellm_core_utils/prompt_templates/tpm_media_utils.py:21
↓ 5 callersFunction_trace
( python: tuple[PipelineStep, ...], *, python_error: str | None = None, scenario: str = "sync-
tests/rust-python-harness/strategies/trace_parity/test_reporting.py:29
↓ 5 callersFunction_trace_id
()
tests/integration/observability/test_otel_trace_response_header.py:52
↓ 5 callersFunction_trace_spans_when
( sink_url: str, trace_id: str, ready: Callable[[tuple[Span, ...]], bool], seconds: float = 30
tests/integration/observability/test_otel_excluded_services.py:201
↓ 5 callersFunction_transform
(body: object)
tests/unit/llms/bedrock/chat/invoke_transformations/test_amazon_qwen2_transformation.py:16
↓ 5 callersFunction_transform
(payload)
tests/unit/llms/nadir/test_nadir.py:16
↓ 5 callersFunction_transform
(payload: object)
tests/unit/llms/fastcrw/search/test_transformation.py:200
↓ 5 callersFunction_transform
(payload: object, headers: dict[str, str] | None = None)
tests/unit/llms/a2a/chat/test_a2a_chat_transformation.py:130
↓ 5 callersMethod_transform_audio_transcription_response
Shared logic for transforming audio transcription responses.
litellm/llms/custom_httpx/llm_http_handler.py:2065
↓ 5 callersFunction_transform_imagen_response
(payload: object, model_response: ImageResponse)
tests/unit/llms/vertex_ai/image_generation/test_vertex_ai_image_generation_transformation.py:929
↓ 5 callersFunction_transform_input
(input_items)
tests/unit/responses/litellm_completion_transformation/test_reasoning_input_item_preservation.py:32
↓ 5 callersFunction_transform_retrieval_response
(payload: object)
tests/unit/llms/nvidia_nim/rerank/test_nvidia_nim_rerank_transformation.py:246
↓ 5 callersMethod_transform_tools
(self, tools: list[OpenAIChatCompletionToolParam])
litellm/llms/fireworks_ai/chat/transformation.py:484
↓ 5 callersMethod_transform_tools
(self, model: str, tools: list[dict[str, object]], drop_params: bool)
tests/unit/llms/openai/responses/test_openai_responses_transformation.py:356
↓ 5 callersMethod_transform_tools_to_bedrock_format
(self, tools: Sequence[JsonValue])
litellm/llms/bedrock/realtime/transformation.py:331
← previousnext →15,201–15,300 of 202,479, ranked by callers