MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_tool_results
(messages: Sequence[Mapping[str, JsonValue]])
tests/integration/providers/test_responses_bridge_tool_search_replay_wire.py:238
↓ 3 callersFunction_tool_search_call_id
(tool_call: object)
litellm/responses/litellm_completion_transformation/tool_search.py:273
↓ 3 callersFunction_tool_search_entries
(message: _ChatMessage)
litellm/completion_extras/litellm_responses_transformation/history.py:217
↓ 3 callersMethod_tool_search_execution
(self, call_id: str, fn_name: str)
litellm/responses/litellm_completion_transformation/streaming_iterator.py:245
↓ 3 callersFunction_tool_search_items_from_output_items
(output_items: object)
litellm/completion_extras/litellm_responses_transformation/transformation.py:383
↓ 3 callersFunction_tool_search_provider_fields
( items: Sequence[Mapping[str, object]], )
litellm/completion_extras/litellm_responses_transformation/transformation.py:394
↓ 3 callersMethod_tool_subject_token
( self, server: MCPServer, oauth2_headers: Mapping[str, str] | None, raw_heade
litellm/proxy/mcp_server/mcp_server_manager.py:4104
↓ 3 callersFunction_tool_turn
(inner: Mapping[str, object])
tests/unit/llms/anthropic/messages/test_convertible_blocks.py:101
↓ 3 callersFunction_tool_use_start_frame
(index: int, tool_use_id: str, name: str)
tests/unit/llms/bedrock/passthrough/guardrail_translation/test_handler.py:2772
↓ 3 callersFunction_tool_values
(sent: Mapping[str, JsonValue])
tests/integration/providers/test_malformed_tools_wire.py:560
↓ 3 callersMethod_tools
(cls, marked_tools: int)
tests/unit/integrations/test_anthropic_cache_control_hook.py:4741
↓ 3 callersFunction_tools_in_items
(items: Sequence[object])
litellm/proxy/guardrails/guardrail_hooks/tool_permission.py:260
↓ 3 callersMethod_tools_request
(description: str)
tests/unit/proxy/guardrails/guardrail_hooks/test_cisco_ai_defense_chat.py:1956
↓ 3 callersFunction_top_level_elements
( input: GeminiEmbeddingInput, )
litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_transformation.py:295
↓ 3 callersFunction_top_level_name
(tool: JsonValue)
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:586
↓ 3 callersFunction_topic
(name: str)
tests/unit/llms/duckduckgo/search/test_duckduckgo_search_transformation.py:312
↓ 3 callersFunction_total_tokens
(response: httpx.Response)
tests/integration/providers/test_vertex_gemini_count_tokens_wire.py:1017
↓ 3 callersFunction_total_value
(metric)
tests/unit/integrations/test_prometheus_requested_model_cardinality.py:90
↓ 3 callersFunction_totals_of_requests
(requests: int)
tests/integration/spend/test_daily_activity_key_owner_traffic.py:117
↓ 3 callersFunction_tpm_embedding_leaf
(value: object)
litellm/litellm_core_utils/prompt_templates/tpm_media_utils.py:201
↓ 3 callersFunction_tpm_file_media
(part: Mapping[str, object])
litellm/litellm_core_utils/prompt_templates/tpm_media_utils.py:25
↓ 3 callersFunction_tpm_media_leaf
(value: object)
litellm/litellm_core_utils/prompt_templates/tpm_media_utils.py:69
↓ 3 callersFunction_tpm_replace_field
(part: Mapping[str, object], key: str, projection: _TPMMediaProjection)
litellm/litellm_core_utils/prompt_templates/tpm_media_utils.py:110
↓ 3 callersFunction_trace_exports
(langfuse: Recorder)
tests/integration/spend/test_background_response_billed_once.py:947
↓ 3 callersFunction_trace_fields
(spans: tuple[Span, ...])
tests/integration/observability/test_langfuse_otel_legacy_destinations.py:135
↓ 3 callersFunction_traced_raw
(rig: Rig, endpoint: Endpoint, marker: str)
tests/integration/observability/test_otel_excluded_services_matrix.py:381
↓ 3 callersMethod_track_completed_batch_cost
Fetch a completed batch's results, compute cost/usage, and emit the aretrieve_batch spend log. Returns (model_name, llm_provider) on
enterprise/litellm_enterprise/proxy/common_utils/check_batch_cost.py:700
↓ 3 callersMethod_track_dequeued
(self, task: LoggingTask)
litellm/litellm_core_utils/logging_worker.py:95
↓ 3 callersMethod_track_end_user_metric_series
Cap the cardinality of metrics that include the ``end_user`` label. Called *after* ``metric.labels(...).inc()/observe()`` so the emi
litellm/integrations/prometheus.py:1589
↓ 3 callersFunction_tracked
(engine: _SlowEngine)
tests/unit/proxy/db/test_prisma_client.py:533
↓ 3 callersMethod_tracked_job
(self, response_id: str)
enterprise/litellm_enterprise/proxy/common_utils/check_responses_cost.py:453
↓ 3 callersFunction_transaction
(model: str, spend: float, successful: bool = True)
tests/unit/proxy/db/test_model_usage_rollup.py:58
↓ 3 callersFunction_transaction_over
(db: object)
tests/unit/proxy/management_endpoints/test_internal_user_endpoints.py:180
↓ 3 callersFunction_transactional_env_vars_prisma
A prisma stand-in backed by an in-memory store that honours ``db.tx()`` and the ``pg_advisory_xact_lock`` advisory lock. ``read_delay`` inser
tests/unit/proxy/mcp_server/test_mcp_env_vars.py:889
↓ 3 callersFunction_transcription_deployment
( model_name: str, deployment_id: str, litellm_model: str, weight: int )
tests/unit/test_router/test_router.py:12353
↓ 3 callersFunction_transcription_session_update
(frame_type: str, model: str)
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:9228
↓ 3 callersFunction_transform
(payload: object)
tests/unit/llms/stability/image_generation/test_stability_image_generation.py:310
↓ 3 callersFunction_transform
(payload: object)
tests/unit/llms/cometapi/image_generation/test_transformation.py:11
↓ 3 callersFunction_transform
(payload: object)
tests/unit/llms/black_forest_labs/image_generation/test_bfl_image_generation_transformation.py:361
↓ 3 callersFunction_transform
(raw_response: httpx.Response)
tests/unit/llms/gigachat/embedding/test_gigachat_embedding_transformation.py:345
↓ 3 callersFunction_transform
(payload: object)
tests/unit/llms/fal_ai/image_generation/test_stable_diffusion_transformation.py:11
↓ 3 callersFunction_transform
(payload: object)
tests/unit/llms/fal_ai/image_generation/test_ideogram_v3_transformation.py:11
↓ 3 callersFunction_transform
(payload: object)
tests/unit/llms/fal_ai/image_generation/test_recraft_v3_transformation.py:11
↓ 3 callersFunction_transform
(payload: object)
tests/unit/llms/fal_ai/image_generation/test_flux_pro_v11_ultra_transformation.py:11
↓ 3 callersFunction_transform
(raw_response: httpx.Response)
tests/unit/llms/oci/embed/test_oci_embed_transformation.py:384
↓ 3 callersFunction_transform
(api_base: str, payload: object)
tests/unit/llms/strands_decider/decisions/test_strands_decider_decisions_transformation.py:197
↓ 3 callersFunction_transform
(raw_response: httpx.Response)
tests/unit/llms/jina_ai/embedding/test_jina_embedding_transformation.py:182
↓ 3 callersFunction_transform
(raw_response: httpx.Response)
tests/unit/llms/github_copilot/embedding/test_github_copilot_embedding_transformation.py:206
↓ 3 callersFunction_transform
(raw_response: httpx.Response)
tests/unit/llms/snowflake/embedding/test_snowflake_embedding.py:105
↓ 3 callersMethod_transform
(self, config, response_format)
tests/unit/llms/gemini/audio_transcription/test_gemini_audio_transcription_transformation.py:330
↓ 3 callersMethod_transform
(self, content_blocks, model=NOVA_2_LITE)
tests/unit/llms/bedrock/chat/test_converse_transformation_nova_2.py:548
↓ 3 callersMethod_transform
(self, provider)
tests/unit/llms/openai/chat/test_openai_gpt_transformation.py:1528
↓ 3 callersMethod_transform
(self, chat_completion_response)
tests/unit/responses/litellm_completion_transformation/test_litellm_completion_responses.py:5470
↓ 3 callersFunction_transform_generation_response
(payload: object)
tests/unit/llms/openrouter/image_generation/test_openrouter_image_gen_transformation.py:585
↓ 3 callersMethod_transform_input
( self, input: list, model: str, call_type: Literal["sync", "async"],
litellm/llms/huggingface/embedding/handler.py:170
↓ 3 callersFunction_transform_json_mode_body
(body: dict)
tests/unit/llms/anthropic/chat/test_anthropic_chat_transformation.py:10581
↓ 3 callersFunction_transform_kwargs
(executor)
tests/unit/llms/azure_ai/vector_stores/test_azure_ai_vector_stores_transformation.py:106
↓ 3 callersMethod_transform_messages
( self, messages: list[AllMessageValues], model: str, is_async: Literal[True] )
litellm/llms/mistral/chat/transformation.py:405
↓ 3 callersMethod_transform_messages
( self, messages: list[AllMessageValues], model: str, is_async: Literal[True] )
litellm/llms/openai/chat/gpt_transformation.py:432
↓ 3 callersFunction_transform_request
( gateway: Gateway, key: str, model: str, stream: bool, )
tests/integration/compatibility/test_proxy_utils.py:36
↓ 3 callersFunction_transform_response
(payload: object)
tests/unit/llms/fal_ai/image_edit/test_fal_ai_image_edit_transformation.py:163
↓ 3 callersFunction_transform_response
(payload: object)
tests/unit/llms/aiml/image_generation/test_aiml_image_generation_transformation.py:133
↓ 3 callersMethod_transform_response
( model: str, response: httpx.Response, model_response: ModelResponse, stream:
litellm/llms/openai_like/chat/transformation.py:88
↓ 3 callersMethod_transform_response_dict_to_openai_response
Transforms the Image Generation response from Bedrock to OpenAI format
litellm/llms/bedrock/image_generation/image_handler.py:314
↓ 3 callersMethod_transform_responses_chunk_to_interactions_chunk
Compatibility shim: returns the *first* event produced for this chunk and queues any remaining events on ``self._pending_events`` so
litellm/interactions/litellm_responses_transformation/streaming_iterator.py:272
↓ 3 callersMethod_transform_s3_file_request
( self, *, file_id: str, method: Literal["GET", "DELETE"], optional_pa
litellm/llms/bedrock/files/transformation.py:1686
↓ 3 callersMethod_transform_single_vertex_batch_output_to_openai
Transform a single Vertex AI batch output line to OpenAI format. Uses the existing VertexGeminiConfig transformation for the response
litellm/llms/vertex_ai/files/transformation.py:1729
↓ 3 callersFunction_transform_teams_to_deleted_records
Transform teams into deleted team records ready for persistence.
litellm/proxy/management_endpoints/team_endpoints.py:5215
↓ 3 callersFunction_transform_text
(text: str)
tests/unit/llms/bedrock/search/test_agentcore_search_transformation.py:647
↓ 3 callersFunction_transform_transcription_response
(payload: object)
tests/unit/llms/watsonx/audio_transcription/test_watsonx_audio_transcription_transformation.py:93
↓ 3 callersMethod_transformed_usage
(usage: dict)
tests/unit/llms/xai/test_xai_chat_transformation.py:394
↓ 3 callersMethod_transformed_usage
(self, usage: dict)
tests/unit/llms/xai/responses/test_xai_responses_transformation.py:478
↓ 3 callersFunction_transient_status
(status_code: int)
tests/e2e/batches/test_batches_e2e.py:109
↓ 3 callersMethod_translate_responses_api_response_to_model_response
Convert a Responses API response into a ModelResponse for spend_logs. The proxy UI parses spend_log rows expecting chat-completion s
litellm/litellm_core_utils/litellm_logging.py:5438
↓ 3 callersMethod_translate_to_openai
Translate Anthropic request to OpenAI chat completion format.
litellm/llms/anthropic/chat/guardrail_translation/handler.py:793
↓ 3 callersFunction_translation_transcription_update
(transcription: Mapping[str, object])
tests/unit/litellm_core_utils/test_realtime_streaming.py:1427
↓ 3 callersFunction_trend_from_comparison
(current_fail: float, previous_fail: float)
litellm/proxy/guardrails/usage_endpoints.py:355
↓ 3 callersFunction_tripwire_row
(custom_id: str, model: str)
tests/integration/providers/test_vertex_batch_row_line_errors_owned_proxy.py:112
↓ 3 callersMethod_truncated_stream_end
(self, token: str)
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:4427
↓ 3 callersFunction_try_cache_get
Redis errors must read as a plain miss: the DB is the source of truth.
litellm/proxy/credential_endpoints/user_provider_credentials.py:186
↓ 3 callersFunction_ttl
(kwargs: Mapping[str, object])
litellm/proxy/common_utils/user_api_key_cache.py:46
↓ 3 callersFunction_turn
(blocks: Sequence[JsonValue])
tests/integration/messages_endpoint/providers/anthropic/test_pdf_document_count_tokens_wire.py:69
↓ 3 callersFunction_turn_owed
( upstream_frame_kind: WebsocketUpstreamFrameClassifier | None, unlogged_frames: Sequence[Mapping[str,
litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:2973
↓ 3 callersFunction_twelve_hour_cache_write_usage
(prompt_tokens: int)
tests/unit/test_cost_calculator.py:6426
↓ 3 callersFunction_two_choice_stream
(first_finished: int, finish_contents: tuple[str, str])
tests/unit/litellm_core_utils/test_streaming_handler.py:7211
↓ 3 callersFunction_two_deployments
(model_group: str)
tests/unit/router_utils/pre_call_checks/test_deployment_affinity_check.py:955
↓ 3 callersFunction_two_function_tools
()
tests/unit/llms/anthropic/chat/test_anthropic_chat_transformation.py:10632
↓ 3 callersFunction_two_group_fallback_router
()
tests/unit/test_router_streaming_fallback_metadata.py:12
↓ 3 callersFunction_two_groups_sharing_sora
()
tests/unit/proxy/video_endpoints/test_utils.py:454
↓ 3 callersFunction_two_hops
(stream: bool)
tests/unit/llms/vertex_ai/gemini/test_long_decode.py:1285
↓ 3 callersFunction_two_interleaving_maskers
(run_in_parallel: bool)
tests/unit/proxy/mcp_server/guardrail_translation/test_mcp_guardrail_handler.py:424
↓ 3 callersFunction_two_pending_increments
()
tests/unit/proxy/proxy_server/test_spend_counters.py:1041
↓ 3 callersFunction_two_region_router
( singapore_model: str, routing_groups: list[dict[str, object]] | None = None, model_group_alias:
tests/unit/llms/dashscope/test_dashscope_video_transformation.py:572
↓ 3 callersFunction_typed_frame
(headers: Mapping[str, str | int], payload: bytes)
tests/integration/providers/test_bedrock_converse_stream_event_frames_wire.py:78
↓ 3 callersFunction_ui_client
(role: LitellmUserRoles, sink: TelemetrySink | None)
tests/unit/proxy/telemetry/test_endpoints.py:112
↓ 3 callersFunction_unavailable
(reason: _UnavailableReason)
litellm/llms/anthropic/messages/safeguards.py:468
↓ 3 callersMethod_unavailable
(self, line: bytes, reason: str)
litellm/proxy/spend_tracking/spend_event_producer.py:319
↓ 3 callersMethod_unchanged_routing
( self, servers: Mapping[str, MCPServer], routing: Mapping[str, str] )
litellm/proxy/mcp_server/catalog.py:227
↓ 3 callersFunction_undeferred
(tool: Mapping[str, JsonValue])
tests/integration/providers/test_openai_responses_tool_search_wire.py:81
↓ 3 callersFunction_undeferred
(tool: Mapping[str, object])
tests/unit/llms/openai/responses/test_openai_responses_transformation.py:110
← previousnext →25,501–25,600 of 202,479, ranked by callers