MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 5 callersFunctiontool_shape
(body: Mapping[str, JsonValue])
tests/integration/translation/chat_completions/cross_model/contracts.py:293
↓ 5 callersFunctiontools_without_custom_field
(tools: Sequence[object], hoist_defer_loading: bool, drop_custom: bool)
litellm/llms/anthropic/common_utils.py:203
↓ 5 callersFunctiontopAgents
(rows: readonly TagSummaryRow[])
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/overview/agentCatalog.ts:344
↓ 5 callersFunctiontp
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 5 callersFunctiontrack_batch_accounting
(call_id: str)
litellm/proxy/hooks/proxy_track_cost_callback.py:105
↓ 5 callersMethodtransaction
()
tests/unit/proxy/management_endpoints/test_model_management_endpoints.py:8725
↓ 5 callersFunctiontransactional
( connection: &Connection, operation: impl FnOnce(&Connection) -> Result<T, Error>, )
litellm-rust/crates/cache-disk/src/sqlite.rs:812
↓ 5 callersFunctiontranscribe_cost_per_second
()
litellm/proxy/pass_through_endpoints/llm_provider_handlers/transcribe_passthrough_logging_handler.py:156
↓ 5 callersFunctiontranscript_response
(text: &str)
litellm-rust/crates/inference-transcription/tests/audio_transcription.rs:15
↓ 5 callersFunctiontransform
(msgs: Value, opts: Value)
litellm-rust/crates/llms/src/bedrock/chat/converse_transformation.rs:380
↓ 5 callersFunctiontransform
(model: &str, msgs: Value, opts: Value)
litellm-rust/crates/llms/src/anthropic/chat/transformation.rs:282
↓ 5 callersMethodtransform_anthropic_messages_request
( &self, request: MessagesRequest, context: &MessagesTransformContext, )
litellm-rust/crates/llms/src/azure_ai/messages/transformation.rs:58
↓ 5 callersMethodtransform_anthropic_messages_response
(self, model, raw_response, logging_obj)
tests/unit/llms/anthropic/test_anthropic_common_utils.py:3426
↓ 5 callersMethodtransform_audio_transcription_response
( self, raw_response: Response, )
litellm/llms/openai/transcriptions/whisper_transformation.py:129
↓ 5 callersMethodtransform_container_create_request
Transform the container creation request for OpenAI API.
litellm/llms/openai/containers/transformation.py:135
↓ 5 callersMethodtransform_container_create_response
Transform the OpenAI container creation response.
litellm/llms/openai/containers/transformation.py:156
↓ 5 callersMethodtransform_container_delete_request
Transform the container delete request for OpenAI API. OpenAI API expects the following request: - DELETE /v1/containers/{container_i
litellm/llms/openai/containers/transformation.py:251
↓ 5 callersMethodtransform_create_vector_store_request
Transform create request to RAGFlow POST /api/v1/datasets format. Maps LiteLLM params to RAGFlow dataset creation parameters.
litellm/llms/ragflow/vector_stores/transformation.py:129
↓ 5 callersMethodtransform_embedding_request
( self, model: str, input: AllEmbeddingInputValues, optional_params: dict,
litellm/llms/cohere/embed/transformation.py:235
↓ 5 callersMethodtransform_embedding_response
( self, model: str, raw_response: httpx.Response, model_response: EmbeddingRes
litellm/llms/cohere/embed/transformation.py:281
↓ 5 callersFunctiontransform_gemini_image_usage
Transform Gemini usageMetadata to ImageUsage format.
litellm/llms/gemini/image_usage_transformation.py:37
↓ 5 callersMethodtransform_get_interaction_request
Transform the get interaction request into URL and query params. Per OpenAPI spec: GET /{api_version}/interactions/{interaction_id}
litellm/llms/base_llm/interactions/transformation.py:183
↓ 5 callersMethodtransform_image_generation_response
Transform Google AI Imagen response to litellm ImageResponse format
litellm/llms/gemini/image_generation/transformation.py:175
↓ 5 callersMethodtransform_mcp_tools_to_openai
( mcp_tools: Sequence[MCPTool], target_format: Literal["responses"] = ..., )
litellm/responses/mcp/litellm_proxy_mcp_handler.py:549
↓ 5 callersMethodtransform_ocr_request
( &self, model: &str, document: OcrDocument, optional_params: &DeepSeekOcrPara
litellm-rust/crates/llms/src/vertex_ai/ocr/deepseek_transformation.rs:169
↓ 5 callersMethodtransform_realtime_request
( self, message: str, model: str, session_configuration_request: str | None =
litellm/llms/meta/realtime/transformation.py:478
↓ 5 callersMethodtransform_request
Transform the overall request to be sent to the API. Returns: dict: The transformed request. Sent as the body of the API
litellm/llms/cometapi/chat/transformation.py:68
↓ 5 callersMethodtransform_request
Transform the request to LangFlow format. LangFlow request format: { "input_value": "<last user message>",
litellm/llms/langflow/chat/transformation.py:151
↓ 5 callersMethodtransform_request
Transform model response to extract WebSearch tool calls. Detects if response contains WebSearch tool_use/tool_calls blocks and extr
litellm/integrations/websearch_interception/transformation.py:39
↓ 5 callersMethodtransform_request_on_unprocessable_entity_error
Transform the request data on UnprocessableEntityError
litellm/llms/base_llm/chat/transformation.py:228
↓ 5 callersMethodtransform_response
( self, model: str, raw_response: httpx.Response, model_response: ModelRespons
litellm/llms/bedrock/chat/converse_transformation.py:2506
↓ 5 callersMethodtransform_responses_api_request
( self, model: str, input: str | ResponseInputParam, response_api_optional_req
litellm/llms/chatgpt/responses/transformation.py:103
↓ 5 callersMethodtransform_responses_api_request
Handle preset/ model prefix: send as {"preset": name} instead of {"model": name}.
litellm/llms/perplexity/responses/transformation.py:81
↓ 5 callersMethodtransform_responses_api_request
( self, model: str, input: "str | ResponseInputParam", response_api_optional_r
litellm/llms/bedrock_mantle/responses/transformation.py:209
↓ 5 callersMethodtransform_responses_response_to_interactions_response
Transform a Responses API response to an Interactions API response. Key transformations: - Extract text from output[].conten
litellm/interactions/litellm_responses_transformation/transformation.py:195
↓ 5 callersMethodtransform_search_request
Transform Search request to an MCP tools/call request. Args: query: Search query (string or list of strings). AgentCore
litellm/llms/bedrock/search/transformation.py:211
↓ 5 callersMethodtransform_search_request
Transform Search request to SearchAPI.io format. Transforms unified spec parameters: - query → q - max_results → num
litellm/llms/searchapi/search/transformation.py:119
↓ 5 callersMethodtransform_search_vector_store_request
( self, vector_store_id: str, query: str | Sequence[str], vector_store_search_
litellm/llms/s3_vectors/vector_stores/transformation.py:147
↓ 5 callersMethodtransform_search_vector_store_response
( self, response: httpx.Response, litellm_logging_obj: LiteLLMLoggingObj )
litellm/llms/base_llm/vector_store/transformation.py:192
↓ 5 callersFunctiontransform_stream
Drives `transformer` over `events`, then flushes it with `finish`. The first error ends the stream.
litellm-rust/crates/llms/src/base_llm/base_model_iterator.rs:53
↓ 5 callersMethodtransform_video_content_request
Transform the video content request for OpenAI API. OpenAI API expects the following request: - GET /v1/videos/{video_id}/co
litellm/llms/openai/videos/transformation.py:206
↓ 5 callersMethodtransform_video_content_request
( self, video_id: str, api_base: str, litellm_params: GenericLiteLLMParams,
tests/integration/_support/custom_video_provider.py:106
↓ 5 callersMethodtransform_video_edit_request
( self, prompt: str, video_id: str, api_base: str, litellm_params: Gen
litellm/llms/fal_ai/videos/transformation.py:729
↓ 5 callersMethodtransform_video_edit_request
( self, prompt: str, video_id: str, api_base: str, litellm_params: Gen
litellm/llms/openai/videos/transformation.py:507
↓ 5 callersMethodtranslate_streaming_openai_response_to_anthropic
( self, response: ModelResponse, current_content_block_index: int, applied_edi
litellm/llms/anthropic/messages/adapters/transformation.py:1957
↓ 5 callersFunctiontranslate_thinking
( request: MessagesRequest, context: &ThinkingContext, )
litellm-rust/crates/llms/src/anthropic/messages/thinking.rs:436
↓ 5 callersMethodtranslate_tool_choice_to_responses_api
Convert Anthropic tool_choice to Responses API tool_choice.
litellm/llms/anthropic/messages/responses_adapters/transformation.py:494
↓ 5 callersFunctiontrimDecisionChecks
(checks: readonly DecisionModelCheckDraft[])
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/decision_model/buildDecisionModelParams.ts:22
↓ 5 callersMethodtruncate
Python's `int(value)`, which truncates toward zero.
litellm-rust/crates/redis-store/src/number.rs:30
↓ 5 callersFunctiontruncate_embedding_input
Keep only the first ``max_input_tokens`` tokens of ``prompt`` for the embedding call.
litellm/caching/_embedding_router.py:71
↓ 5 callersFunctiontt
(e,s)
litellm/proxy/_experimental/out/_next/static/chunks/2k-fkubkt19cc.js:19
↓ 5 callersFunctiontt
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 5 callersFunctionttft_keepalive_interval
The operator's keepalive interval, but only for a request that asked to stream. Resolved through the deployments the request could land on, so a
litellm/proxy/common_request_processing.py:1604
↓ 5 callersFunctionturn
(rig: Rig, key: str, headers: Mapping[str, str] | None = None, **extra: JsonValue)
tests/integration/messages_endpoint/safeguards/test_safeguard_results_logging_opt_outs.py:68
↓ 5 callersFunctionturn_reply
( request: Request, identity: str, blocks: Sequence[Event], stop_reason: str, *, abort_after: int | None =
tests/integration/providers/_tool_search_support.py:139
↓ 5 callersFunctiontx
(e,t,r,n)
litellm/proxy/_experimental/out/_next/static/chunks/2aatum0yo4cv8.js:1
↓ 5 callersMethodtx
Open an interactive transaction on the writer. Callers go through this instead of reaching into ``self.db`` so writer selection and r
litellm/proxy/utils.py:5863
↓ 5 callersMethodtx
(self, *, timeout: timedelta)
litellm/repositories/accounting_delivery_repository.py:36
↓ 5 callersFunctiontz
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:5
↓ 5 callersFunctionu
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 5 callersFunctionu
()
litellm/proxy/_experimental/out/_next/static/chunks/2j96ftcthirif.js:161
↓ 5 callersMethodu
(e,r)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 5 callersFunctionu2
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 5 callersFunctionuiSpendLogsCall
({ accessToken, start_date, end_date, page = 1, page_size = 50, params = {}, }: UiSpendLogsCallOpt
ui/litellm-dashboard/src/components/networking.tsx:1931
↓ 5 callersFunctionunappliable_request_rewrite
(guardrail_name: str | None)
litellm/llms/base_llm/guardrail_translation/utils.py:476
↓ 5 callersFunctionunblock_key
Unblock a Virtual key to allow it to make requests again. Parameters: - key: str - The key to unblock. Can be either the unhashed key (s
litellm/proxy/management_endpoints/key_management_endpoints.py:8145
↓ 5 callersFunctionuncached
(name: &str)
litellm-rust/crates/token-counter-tiktoken/src/ranks.rs:298
↓ 5 callersFunctionunhealthy
(*ids: str, age: float = 0.0)
tests/unit/test_router/core/test_retries_health_characterization_cooldowns.py:46
↓ 5 callersFunctionunifiedAccessGroupTestData
(t *testing.T, raw map[string]interface{})
terraform/provider/litellm/resource_unified_access_group_test.go:13
↓ 5 callersFunctionunpack_defs
Expand *all* ``$ref`` entries pointing into ``$defs`` / ``definitions``. This utility walks the entire schema tree (dicts and lists) so it natura
litellm/litellm_core_utils/prompt_templates/common_utils.py:825
↓ 5 callersFunctionunsupported_db_scheme
Return the connection URL scheme when it is not PostgreSQL, else None. A `sqlite://` / `mysql://` URL can never connect against the postgresq
litellm/proxy/db/db_url_settings.py:326
↓ 5 callersFunctionunsupported_protocol_version
Admit configured HTTP revisions while keeping SSE on the legacy protocol.
litellm/proxy/mcp_server/server.py:164
↓ 5 callersFunctionuntil_refused
(attempt: Callable[[str], Outcome], tries: int = 40)
tests/integration/routing/test_payment_required_cooldown.py:203
↓ 5 callersFunctionupdate
(index: number, patch: Partial<RequestTagMapping>)
ui/litellm-dashboard/src/app/(dashboard)/router-settings/_components/RequestTagMappings.tsx:64
↓ 5 callersMethodupdate
(self, run: HarnessRun)
tests/rust-python-harness/shared/reporting/ui.py:189
↓ 5 callersFunctionupdateConfig
(updatedRoutes: Route[])
ui/litellm-dashboard/src/components/add_model/RouterConfigBuilder.tsx:163
↓ 5 callersFunctionupdateGuardrailCall
( accessToken: string, guardrailId: string, updateData: { guardrail_name?: string; default_on?:
ui/litellm-dashboard/src/components/networking.tsx:5806
↓ 5 callersMethodupdate_data
(self, query_type, data_list, table_name)
tests/unit/proxy/common_utils/test_reset_budget_job.py:199
↓ 5 callersFunctionupdate_dictionary
(existing_dict: dict[str, object], new_dict: Mapping[str, object])
litellm/utils.py:3833
↓ 5 callersMethodupdate_display_name
( self, credential_name: str, display_name: str | None, return_request: bool =
litellm/proxy/client/credentials.py:160
↓ 5 callersFunctionupdate_end_user
Example curl Parameters: - user_id: str - alias: Optional[str] = None # human-friendly alias - blocked: bool = False # allow/
litellm/proxy/management_endpoints/customer_endpoints.py:610
↓ 5 callersMethodupdate_guardrail_in_db
Update a guardrail in the database
litellm/proxy/guardrails/guardrail_registry.py:473
↓ 5 callersFunctionupdate_headers_with_anthropic_beta
( headers: Headers, request: &MessagesRequest, )
litellm-rust/crates/llms/src/anthropic/messages/transformation.rs:158
↓ 5 callersFunctionupdate_kwargs_with_deployment
``_update_kwargs_with_deployment``, in place on the attempt's kwargs.
litellm/router_rust/invoke/shaping.py:401
↓ 5 callersMethodupdate_spend
Update team spend.
litellm/repositories/team_repository.py:360
↓ 5 callersFunctionupdate_tag
Update an existing tag. Parameters: - name: str - The name of the tag to update - spend: Optional[float] - Updated spend for the tag
litellm/proxy/management_endpoints/tag_management_endpoints.py:410
↓ 5 callersMethodupdate_toolset
PUT /v1/mcp/toolset: a partial update where a field left unset keeps its stored value and None clears it.
tests/e2e/proxy_client.py:909
↓ 5 callersFunctionupdate_valid_token_with_end_user_params
(valid_token: UserAPIKeyAuth, end_user_params: dict)
litellm/proxy/auth/user_api_key_auth.py:1413
↓ 5 callersMethodupdate_values
( self, alerting: list | None = None, alerting_threshold: float | None = None,
litellm/integrations/SlackAlerting/slack_alerting.py:143
↓ 5 callersFunctionupdate_vector_store
Update vector store details in both database and in-memory registry. The updated data is immediately synchronized to the in-memory registry.
litellm/proxy/vector_store_endpoints/management_endpoints.py:615
↓ 5 callersMethodupdate_vector_store_in_registry
Update or add a vector store in the registry. Config-defined stores are left untouched
litellm/vector_stores/vector_store_registry.py:515
↓ 5 callersMethodupdate_version_status
Update a policy version's status. Valid transitions: - draft -> published (sets published_at) - published -> production (sets
litellm/proxy/policy_engine/policy_registry.py:890
↓ 5 callersFunctionupload_file_async
Upload file to GigaChat and return file_id (async). Args: image_url: URL or base64 data URL of the image credentials: GigaCh
litellm/llms/gigachat/file_handler.py:158
↓ 5 callersMethodupsert_sso_user
Connects the SSO Users to the User Table in LiteLLM DB - If user on LiteLLM DB, update the user_email and user_role (if SSO provides
litellm/proxy/management_endpoints/ui_sso.py:3648
↓ 5 callersMethodupstream_bodies
(self, marker: str)
tests/integration/observability/test_otel_conversation_id.py:246
↓ 5 callersMethodupstream_by_prompt
(self)
tests/integration/mcp/test_mcp_llm_endpoints.py:1749
↓ 5 callersFunctionupstream_credential_headers
Lowercased names of the headers in ``header_names`` that carry an upstream MCP credential rather than request context: the configured client side
litellm/proxy/mcp_server/utils.py:1020
↓ 5 callersMethodupstream_hits
(self, marker: str)
tests/integration/observability/test_otel_team_capture_message_content.py:197
↓ 5 callersMethodupstream_response
(&self)
litellm-rust/crates/http/src/error.rs:459
↓ 5 callersFunctionur
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:54
← previousnext →16,801–16,900 of 202,479, ranked by callers