MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunction_stream_chunk_choices
(item: object)
litellm/llms/openai/chat/guardrail_translation/handler.py:1507
↓ 4 callersFunction_stream_decoder
( bedrock_invoke_provider: litellm.BEDROCK_INVOKE_PROVIDERS_LITERAL | None, *, model: str, jso
litellm/llms/bedrock/chat/invoke_handler.py:199
↓ 4 callersFunction_stream_logging_obj
(endpoint: str, dynamic_async_success_callbacks: list[CustomLogger] | None = None)
tests/unit/llms/bedrock/passthrough/test_bedrock_passthrough_transformation.py:600
↓ 4 callersFunction_stream_messages
Stream message events via a2a-sdk 1.x and yield JSON-RPC chunks.
litellm/a2a_protocol/main.py:376
↓ 4 callersFunction_stream_outcome
(gateway: Gateway, model: str, route: Route, ending: Ending)
tests/integration/streaming/test_stream_clean_eof_without_finish_reason.py:435
↓ 4 callersFunction_stream_pre_content_error
The envelope the fallback chain judges a failure by when the client has received no content yet.
litellm/router_rust/invoke/streaming.py:514
↓ 4 callersFunction_stream_request
(candidate: Gateway, path: str, body: dict[str, JsonValue])
tests/integration/observability/test_azure_content_safety_dispatch.py:128
↓ 4 callersFunction_stream_text
(gateway: Gateway, path: str, body: Mapping[str, JsonValue], key: str | None = None)
tests/integration/messages_endpoint/providers/anthropic/test_passthrough_migration_wire.py:176
↓ 4 callersFunction_stream_through_router
Stream ``events`` from a mocked upstream through ``Router.aresponses``; return the router's stream object after draining it, and the chunks.
tests/unit/test_responses_streaming_container_ownership.py:57
↓ 4 callersFunction_stream_values
(reply: Reply)
tests/integration/observability/_openinference_support.py:168
↓ 4 callersFunction_streamable_rpc
(gateway: Gateway, path: str, key: str, method: str, params: Mapping[str, object])
tests/integration/mcp/test_mcp_transports.py:43
↓ 4 callersFunction_streamed
(transcript: str, is_final: bool = True)
tests/unit/llms/nvidia_riva/audio_transcription/test_handler.py:192
↓ 4 callersFunction_streamed_answer
(events: list[dict[str, JsonValue]], marker: str)
tests/integration/providers/test_responses_bridge_verbosity_wire.py:137
↓ 4 callersFunction_streamed_events
(gateway: Gateway, model: str, marker: str, **fields: JsonValue)
tests/integration/providers/test_responses_bridge_verbosity_wire.py:104
↓ 4 callersFunction_streaming_chunk
(usage=None, choices=None)
tests/unit/llms/databricks/chat/test_databricks_chat_transformation.py:1251
↓ 4 callersMethod_streams_incrementally
(self)
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:385
↓ 4 callersFunction_strict_leaf_validation
(leaf: type, instance: object)
tests/unit/types/test_litellm_params.py:624
↓ 4 callersFunction_stringified_none_paths
(node: object, path: str = "error")
tests/unit/proxy/test_common_request_processing.py:3146
↓ 4 callersMethod_strip_audio_content_blocks
Drop ``input_audio`` content blocks before passing ``messages`` to ``token_counter``, which raises ``ValueError`` on them (no per-typ
litellm/proxy/hooks/parallel_request_limiter_v3.py:3376
↓ 4 callersMethod_strip_version_suffix
Strip version suffixes (e.g. @default, @20251001) from model names. The Vertex AI count-tokens endpoint rejects model names that inc
litellm/llms/vertex_ai/vertex_ai_partner_models/count_tokens/handler.py:123
↓ 4 callersFunction_structured
(body: Mapping[str, JsonValue])
tests/integration/providers/test_vertex_anthropic_structured_output_wire.py:556
↓ 4 callersFunction_stub_add_deployment_collaborators
( monkeypatch: pytest.MonkeyPatch, pc: ProxyConfig, fake_prisma: MagicMock )
tests/unit/proxy/proxy_server/test_proxy_config.py:4485
↓ 4 callersFunction_stub_image_client
(content, content_type)
tests/unit/litellm_core_utils/test_image_handling.py:279
↓ 4 callersFunction_stub_tools
()
tests/unit/proxy/mcp_server/test_short_mcp_tool_prefix.py:269
↓ 4 callersFunction_stub_user_api_key
( *, team_id=None, user_role=None, object_permission=None, object_permission_id=None,
tests/unit/proxy/vector_store_endpoints/test_vector_store_endpoints.py:2284
↓ 4 callersFunction_stuck_then_ten_clock
()
tests/unit/router_utils/test_kubernetes_pod_discovery.py:965
↓ 4 callersFunction_subagent_pick
(core: object)
tests/unit/test_router/core/test_gaps_l14000_selection.py:451
↓ 4 callersFunction_success_kwargs
The success event shape: `messages` is what standard logging produced, `system`/`tools` stay raw.
tests/unit/router_utils/pre_call_checks/test_prompt_caching_deployment_check.py:1341
↓ 4 callersFunction_success_row
(request_id: str)
tests/integration/providers/test_bedrock_converse_stream_event_frames_wire.py:311
↓ 4 callersFunction_success_rows
(gateway: Gateway, request_id: str)
tests/integration/messages_endpoint/providers/anthropic/test_anthropic_messages_pre_content_retry_wire.py:139
↓ 4 callersMethod_supports_effort_level
Check ``supports_{level}_reasoning_effort`` in the model map.
litellm/llms/anthropic/chat/transformation.py:711
↓ 4 callersMethod_supports_penalty_parameters
(self, model: str)
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:880
↓ 4 callersMethod_supports_sampling_params
Claude 4.7+ (Opus 4.7/4.8, Fable 5) removed sampling params: the API rejects ``top_p``, ``top_k``, and any ``temperature`` other than 1 with
litellm/llms/anthropic/common_utils.py:900
↓ 4 callersFunction_swap_prompt_manager_and_spec
(ignore_prompt_manager_model: bool)
tests/unit/integrations/dotprompt/test_prompt_manager.py:702
↓ 4 callersFunction_sync_client_returning_converse_response
()
tests/unit/llms/bedrock/chat/test_bedrock_converse_handler.py:183
↓ 4 callersFunction_sync_gateway_client
( requests: list[dict], respond: GatewayResponder = _fake_claude_platform_gateway, )
tests/unit/llms/bedrock/test_claude_platform_provider.py:100
↓ 4 callersFunction_system_turn
()
tests/unit/test_anthropic_beta_gated_fields.py:33
↓ 4 callersFunction_table
(value: object)
litellm/proxy/client/cli/commands/codex_settings.py:87
↓ 4 callersFunction_tag_cache_doubles
Swaps in the auth cache and the cross-worker publisher a tag mutation is expected to hit.
tests/unit/proxy/management_endpoints/test_tag_management_endpoints.py:670
↓ 4 callersFunction_tag_query_prisma_client
(assert_query_raw)
tests/unit/proxy/spend_tracking/test_spend_management_endpoints.py:4297
↓ 4 callersFunction_target
( name: str, upstream_url: str, case_input: _FixtureInput, invocation: RecordingInvocation[_Fi
tests/rust-python-harness/shared/parity/fixtures/test_pipeline.py:94
↓ 4 callersFunction_team
(models=("gpt-5.5",))
tests/unit/proxy/auth/test_resolvers_grants.py:72
↓ 4 callersFunction_team
(team_id: str, access_group_ids: list[str], blocked: bool = False)
tests/unit/proxy/anthropic_endpoints/test_claude_code_skill_access.py:138
↓ 4 callersMethod_team
(self, team_member_permissions, team_id="team-a")
tests/unit/proxy/management_helpers/test_team_member_permission_checks.py:402
↓ 4 callersFunction_team_admin_can_invite_user
Check if a team admin can invite the target user. Target user must be in at least one team where the admin has team admin role. Args:
litellm/proxy/management_endpoints/common_utils.py:417
↓ 4 callersFunction_team_admin_generates_member_key
( find_owner: AsyncMock, generate_key: AsyncMock, editable_fields: tuple[str, ...] = ("create_memb
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:23735
↓ 4 callersFunction_team_admin_key
(scenario: Scenario, team: str)
tests/integration/management/test_batch_limit_metadata_admin_only.py:56
↓ 4 callersFunction_team_admins_may_edit
The allow-list is proxy-wide, so restore whatever was there. Other replicas pick a change up on their config reload, which the wait covers before
tests/e2e/management/test_team_management_e2e.py:410
↓ 4 callersMethod_team_grants
(grants: dict[str, AgentAccess])
tests/unit/proxy/agent_endpoints/auth/test_agent_permission_handler.py:344
↓ 4 callersFunction_team_info
(gateway: Gateway, team_id: str)
tests/integration/spend/test_team_member_spend.py:177
↓ 4 callersFunction_team_info
(gateway: Gateway, team_id: str)
tests/integration/management/test_team_metadata_validation.py:57
↓ 4 callersFunction_team_key
(team_models: list[str], team_model_aliases: Mapping[str, str] | None = None)
tests/unit/proxy/health_endpoints/test_health_endpoints.py:4589
↓ 4 callersFunction_team_member
()
tests/unit/proxy/test_model_list_callback_filter.py:121
↓ 4 callersFunction_team_member_key
(scenario: Scenario, **fields: JsonValue)
tests/integration/spend/test_background_response_billed_once.py:150
↓ 4 callersFunction_team_members
(gateway: Gateway, team_id: str)
tests/integration/management/test_scim_user_lifecycle.py:116
↓ 4 callersFunction_team_metadata
(team: bool)
tests/integration/sdk/test_router_concurrent_deployment_delete_sdk.py:167
↓ 4 callersFunction_team_model_body
(s: TeamScenario, name: str, api_base: str | None = None)
tests/integration/authorization/test_team_admin_gate.py:169
↓ 4 callersFunction_team_spend_by_user_team
(team_id: str, team_alias: str, member: Member, permissions: list[str])
tests/unit/proxy/management_endpoints/test_team_endpoints.py:17206
↓ 4 callersFunction_team_table
(repo: _PrismaTableHolder[_PrismaTeamRow])
litellm/proxy/auth/auth_checks.py:343
↓ 4 callersFunction_team_with_default_budget
(team_id: str, budget_id: str)
tests/unit/proxy/management_endpoints/test_team_endpoints.py:16833
↓ 4 callersFunction_template
(model: str, marker: str)
tests/integration/management/test_prompt_management.py:51
↓ 4 callersFunction_tenant_router
(cooled: tuple[CooldownDeploymentInfo, ...], **router_settings: bool)
tests/unit/router_utils/test_cooldown_handlers.py:3272
↓ 4 callersFunction_terminal_event
(event_type: str, status: str, sequence_number: int = 2, created_at: int = 1761600000)
tests/unit/test_responses_streaming_container_ownership.py:40
↓ 4 callersFunction_terse_system
()
tests/integration/providers/test_ollama_prompt_tools_wire.py:1414
↓ 4 callersFunction_text
(blocks: Iterable[_Converse])
litellm/llms/bedrock/count_tokens/kimi_k3.py:319
↓ 4 callersFunction_text
(message: Message)
tests/e2e/llm_translation/test_messages_e2e.py:105
↓ 4 callersFunction_text_block
(text: str, cached: bool, kind: str = "text")
tests/integration/providers/test_bedrock_kimi_k3_cache_point_wire.py:307
↓ 4 callersFunction_text_choice
(content: str, finish_reason: str | None = None)
litellm/integrations/otel/model/payloads.py:860
↓ 4 callersFunction_text_completion_chunk
(*choices: dict[str, object])
tests/unit/litellm_core_utils/test_streaming_chunk_builder_utils.py:2487
↓ 4 callersFunction_text_completion_chunk
(text: str, finish_reason: str | None = None)
tests/unit/proxy/utils/proxy_logging/test_guardrail_pipeline.py:2875
↓ 4 callersFunction_text_completion_chunks
(responses_so_far: Sequence[object])
litellm/llms/openai/completion/guardrail_translation/handler.py:359
↓ 4 callersFunction_text_event
(text: str)
tests/unit/llms/a2a/chat/guardrail_translation/test_a2a_guardrail_handler.py:16
↓ 4 callersFunction_text_message
(text: str)
tests/unit/responses/mcp/test_mcp_streaming_iterator.py:64
↓ 4 callersFunction_text_object
(value: object)
litellm/proxy/guardrails/_content_utils.py:96
↓ 4 callersFunction_text_only_body
(route: Route, model: str, marker: str, **extra: JsonValue)
tests/integration/providers/test_cloudflare_clef_images_wire.py:127
↓ 4 callersFunction_text_parts
``(text, cache_control)`` for each non-empty text part of a system message. Anthropic rejects empty text blocks and only accepts text in system c
litellm/litellm_core_utils/prompt_templates/mid_conversation_system.py:139
↓ 4 callersFunction_text_scans
(scans: list[list[dict[str, JsonValue]]])
tests/integration/observability/test_bedrock_guardrail_attachments.py:323
↓ 4 callersFunction_text_stream
(marker: str)
tests/integration/providers/test_bedrock_mantle_claude_chat_wire.py:149
↓ 4 callersFunction_text_tool_result
(text: str, is_error: bool)
litellm/proxy/mcp_server/tool_search.py:465
↓ 4 callersFunction_texts
(count: int)
tests/integration/providers/test_ollama_embedding_wire.py:52
↓ 4 callersFunction_thread
(thread_id=THREAD_ID)
tests/unit/llms/openai/test_openai.py:1912
↓ 4 callersFunction_timeout_from_env
(env_var: str, default: float)
litellm-proxy-extras/litellm_proxy_extras/prisma_toolchain.py:81
↓ 4 callersFunction_timing_out
(kind: type[httpx.TimeoutException])
tests/unit/llms/custom_httpx/test_http_handler.py:2377
↓ 4 callersFunction_tls_env
(monkeypatch: pytest.MonkeyPatch)
tests/unit/proxy/db/test_db_url_settings.py:853
↓ 4 callersFunction_to_customer_response
Validate a raw end-user DB row into the typed customer response. object_permission reverse relations and the budget's audit fields are droppe
litellm/proxy/management_endpoints/customer_endpoints.py:143
↓ 4 callersMethod_to_epoch_ms
Convert a datetime or float timestamp to epoch milliseconds.
litellm/integrations/newrelic/newrelic.py:410
↓ 4 callersFunction_to_int
(value: object)
litellm/proxy/spend_tracking/budget_reservation.py:1749
↓ 4 callersFunction_to_ns
(dt)
litellm/proxy/utils.py:9610
↓ 4 callersMethod_to_ns
(self, dt: datetime)
litellm/integrations/opentelemetry_utils/gen_ai_semconv.py:135
↓ 4 callersMethod_to_timestamp
Convert datetime/float/string to timestamp.
litellm/integrations/opentelemetry.py:1776
↓ 4 callersMethod_token_attributes_on_span
(self, call_type, litellm_metadata=None, response_obj=None)
tests/unit/integrations/test_opentelemetry.py:7208
↓ 4 callersFunction_token_count
(model: str, text: str)
tests/unit/caching/test_redis_semantic_cache.py:1144
↓ 4 callersFunction_token_counts
(response: EmbeddingResponse)
tests/unit/llms/cohere/embed/test_transformation.py:44
↓ 4 callersMethod_token_histogram_calls
(self, call_type, litellm_metadata=None, response_obj=None)
tests/unit/integrations/test_opentelemetry.py:7218
↓ 4 callersFunction_tokens
(prisma: _FakePrisma)
tests/unit/proxy/management_helpers/test_team_roster_sync.py:293
↓ 4 callersFunction_tokens_db
(prisma_client: PrismaClient | None)
litellm/proxy/management_endpoints/team_endpoints.py:578
↓ 4 callersFunction_tool
(name: str)
tests/integration/messages_endpoint/test_guardrail_long_tool_names_wire.py:41
↓ 4 callersMethod_tool
(status_code: int, text: str = "body", headers: dict | None = None, relays_upstream_auth: bool = True)
tests/unit/proxy/mcp_server/test_openapi_to_mcp_generator.py:1459
↓ 4 callersMethod_tool_block
(tool_use_id: str, arguments: str = '{"city":"Paris"}')
tests/unit/llms/bedrock/realtime/test_bedrock_realtime_transformation.py:1429
↓ 4 callersFunction_tool_call
(call_id: str, name: str)
tests/unit/litellm_core_utils/test_chat_completion_agentic_loop.py:459
← previousnext →19,201–19,300 of 202,479, ranked by callers