MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersMethodtransform_list_skills_request
Transform list skills request parameters Args: list_params: List parameters (pagination, filters) litellm_pa
litellm/llms/base_llm/skills/transformation.py:114
↓ 4 callersMethodtransform_list_skills_response
Transform provider response to ListSkillsResponse Args: raw_response: Raw HTTP response logging_obj: Logging
litellm/llms/base_llm/skills/transformation.py:133
↓ 4 callersFunctiontransform_mcp_tool_to_anthropic_tool
Convert an MCP tool to an Anthropic Messages API tool.
litellm/mcp_client/tools.py:90
↓ 4 callersMethodtransform_messages
( self, messages: list[AllMessageValues], # mutable-ok: mirrors override contract mod
litellm/llms/gemini/chat/transformation.py:178
↓ 4 callersMethodtransform_ocr_request
( &self, model: &str, document: OcrDocument, optional_params: &OpaqueParams,
litellm-rust/crates/llms/src/mistral/ocr/transformation.rs:111
↓ 4 callersMethodtransform_realtime_response
( self, message: str | bytes, model: str, logging_obj: LiteLLMLoggingObj,
tests/unit/litellm_core_utils/test_realtime_streaming.py:1241
↓ 4 callersMethodtransform_request
( self, model: str, messages: list[AllMessageValues], optional_params: dict,
litellm/llms/bedrock/chat/mantle/transformation.py:91
↓ 4 callersMethodtransform_request
( self, input: str, inference_params: dict[str, object], # mutable-ok: mirrors overri
litellm/llms/bedrock/embed/twelvelabs_marengo_transformation.py:275
↓ 4 callersMethodtransform_request
( self, model: str, messages: list[AllMessageValues], optional_params: dict[st
litellm/llms/bedrock/claude_platform/transformation.py:83
↓ 4 callersMethodtransform_request
( self, model: str, messages: list[AllMessageValues], optional_params: dict,
litellm/llms/snowflake/chat/transformation.py:422
↓ 4 callersMethodtransform_response
( self, model: str, raw_response: httpx.Response, model_response: ModelRespons
litellm/llms/replicate/chat/transformation.py:235
↓ 4 callersMethodtransform_response
Transform Qwen2 Bedrock response to OpenAI format Qwen2 uses "text" field, but we also support "generation" field for compatibility.
litellm/llms/bedrock/chat/invoke_transformations/amazon_qwen2_transformation.py:42
↓ 4 callersMethodtransform_response
( self, model: str, raw_response: Response, model_response: ModelResponse,
litellm/llms/ollama/chat/transformation.py:320
↓ 4 callersMethodtransform_response
Transform LiteLLM search results to Anthropic/OpenAI tool_result format. Builds the assistant and user/tool messages needed for the
litellm/integrations/websearch_interception/transformation.py:294
↓ 4 callersMethodtransform_text_to_speech_request
( self, model: str, input: str, voice: str | None, optional_params: Ma
litellm/llms/mistral/audio_speech/transformation.py:124
↓ 4 callersMethodtransform_text_to_speech_response
( self, model: str, raw_response: httpx.Response, logging_obj: "LiteLLMLogging
litellm/llms/mistral/audio_speech/transformation.py:154
↓ 4 callersMethodtransform_transcription_usage_object
( usage_object: TranscriptionUsageDurationObject | TranscriptionUsageTokensObject, )
litellm/litellm_core_utils/llm_cost_calc/usage_object_transformation.py:25
↓ 4 callersMethodtransform_video_edit_response
( self, raw_response: httpx.Response, logging_obj: object, custom_llm_provider
litellm/llms/fal_ai/videos/transformation.py:742
↓ 4 callersMethodtransform_video_list_response
( self, raw_response: httpx.Response, logging_obj: LiteLLMLoggingObj, custom_l
litellm/llms/openai/videos/transformation.py:341
↓ 4 callersMethodtransform_video_list_response
( self, raw_response: httpx.Response, logging_obj: LiteLLMLoggingObj, custom_l
tests/integration/_support/custom_video_provider.py:136
↓ 4 callersFunctiontransitionClassifierType
( value: ComplexityRouterConfigValue, classifierType: ClassifierType, )
ui/litellm-dashboard/src/components/add_model/classifier_type_transition.ts:17
↓ 4 callersMethodtranslate_listing
Public-name view of `model_names` (the `response_id` of each listing entry). Sibling deployments sharing a public name collapse to one entry
litellm/proxy/common_utils/model_listing_utils.py:488
↓ 4 callersFunctiontruncate
(value: string)
ui/litellm-dashboard/src/components/model_dashboard/HealthCheckComponent.tsx:65
↓ 4 callersFunctiontruncated_close_reason
Fit a close reason inside the byte budget a WebSocket close frame allows, without splitting a character
litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:2612
↓ 4 callersMethodtry_redact
(&self, value: &str)
litellm-rust/crates/tracing/src/redaction.rs:78
↓ 4 callersFunctionts
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/441rbmhkm7c36.js:1
↓ 4 callersFunctiontu
(e,t,r=!1)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:5
↓ 4 callersFunctiontu
(e)
litellm/proxy/_experimental/out/_next/static/chunks/441rbmhkm7c36.js:1
↓ 4 callersFunctionturn
(connection: websockets.ClientConnection, frame: str)
tests/integration/_support/responses_ws_peer.py:148
↓ 4 callersFunctionturn_refusal_frame
(refusal: RateLimitError)
litellm/responses/streaming_iterator.py:2243
↓ 4 callersFunctiontwo_deployments
(scenario: Scenario, group: str, refusing: Wire, healthy: Wire)
tests/integration/routing/test_payment_required_cooldown.py:165
↓ 4 callersMethodtx
(self)
litellm/repositories/skill_submission_repository.py:119
↓ 4 callersFunctionu
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2s7apn3nfa3q3.js:1
↓ 4 callersFunctionu
litellm/proxy/_experimental/out/_next/static/chunks/1d5pm_8gbmvlm.js:1
↓ 4 callersFunctionu
(e)
litellm/proxy/_experimental/out/_next/static/chunks/3rvuj9y0gk-rt.js:1
↓ 4 callersFunctionu
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/218jq7ygtsrfo.js:1
↓ 4 callersFunctionu
(e,s,t)
litellm/proxy/_experimental/out/_next/static/chunks/2jxpy6eth1zvy.js:1
↓ 4 callersFunctionu4
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 4 callersFunctionum
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 4 callersFunctionunary
(execute: impl Future<Output = Result<R, E>>)
litellm-rust/crates/inference/src/diagnostic.rs:50
↓ 4 callersFunctionunconfigure_claude_settings
Undo `lite configure claude`: put back every key still holding what configure wrote, leave the rest alone, and withhold a credential the restored
litellm/proxy/client/cli/commands/claude_settings.py:593
↓ 4 callersFunctionunconvertible_blocks_error
( messages: Sequence[Mapping[str, object]] | None, messages_format: TokenCountMessagesFormat )
litellm/llms/anthropic/messages/convertible_blocks.py:97
↓ 4 callersFunctionunifiedAccessGroupJSON
(id string)
terraform/provider/litellm/resource_unified_access_group_test.go:18
↓ 4 callersFunctionunmet_limits
(required: frozenset[QuotaLimit], values: Mapping[QuotaLimit, object])
litellm/proxy/management_helpers/model_quota_policy.py:129
↓ 4 callersFunctionunpin_mcp_server_tools
( server_id: str, user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth), # noqa: B00
litellm/proxy/management_endpoints/mcp_management_endpoints.py:1799
↓ 4 callersFunctionunpricedSummary
(untracked: UsageUnits, t: TFunction = i18n.t.bind(i18n))
ui/litellm-dashboard/src/components/GuardrailsMonitor/usageUnits.ts:20
↓ 4 callersFunctionunsanitize
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callersMethoduntil_closed
Everything the peer sends until it closes, including bytes already buffered.
litellm-rust/crates/gateway-forward/tests/support/mod.rs:294
↓ 4 callersMethodupdate
(self, *, where: PrismaWhere, data: ManagedRowData)
litellm/types/passthrough_endpoints/managed_id_rewriter.py:79
↓ 4 callersMethodupdate
(self, *, where: Mapping[str, str], data: Mapping[str, str])
litellm/proxy/mcp_server/outbound_credentials/sso_assertion_store.py:63
↓ 4 callersMethodupdate
(self, where: Mapping[str, object], data: Mapping[str, object])
litellm/proxy/policy_engine/policy_registry.py:120
↓ 4 callersMethodupdate
(self, where: Mapping[str, object], data: Mapping[str, object])
litellm/proxy/management_endpoints/access_group_endpoints.py:123
↓ 4 callersMethodupdate
(self, where: Mapping[str, str | None], data: Mapping[str, object])
enterprise/litellm_enterprise/proxy/vector_stores/endpoints.py:59
↓ 4 callersMethodupdateChildren
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callersFunctionupdateConfig
(partial: Partial<ToolPermissionConfig>)
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/tool_permission/ToolPermissionRulesEditor.tsx:70
↓ 4 callersMethodupdateOuterDeco
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callersFunctionupdateSSOSettings
(accessToken: string, settings: Record<string, any>)
ui/litellm-dashboard/src/components/networking.tsx:6030
↓ 4 callersFunctionupdateSchemaFromResponse
Helper function to update schema data from MCPServerResponse
terraform/provider/litellm/resource_mcp_server_crud.go:126
↓ 4 callersMethodupdateState
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callersFunctionupdateTextUI
(role: string, chunk: string, model?: string)
ui/litellm-dashboard/src/app/(dashboard)/playground/hooks/useChatHistory.ts:101
↓ 4 callersFunctionupdate_budget
Update an existing budget object. Parameters: - budget_duration: Optional[str] - Budget reset period ("30d", "1h", etc.) - budget_id
litellm/proxy/management_endpoints/budget_management_endpoints.py:127
↓ 4 callersMethodupdate_cache_ttl
(self, default_in_memory_ttl: float | None, default_redis_ttl: float | None)
litellm/proxy/common_utils/user_api_key_cache.py:132
↓ 4 callersMethodupdate_daily_tag_spend
Batch job to update LiteLLM_DailyTagSpend table using in-memory daily_spend_transactions
litellm/proxy/db/db_spend_update_writer.py:3026
↓ 4 callersMethodupdate_data
For cost tracking logic
litellm/proxy/db/base_client.py:22
↓ 4 callersMethodupdate_database
(self, **kwargs: object)
tests/unit/proxy/hooks/test_proxy_track_cost_callback.py:4058
↓ 4 callersMethodupdate_in_memory_guardrail
Update a guardrail in memory: a changed name or litellm_params rebuilds the live callback from the new row (fail-closed: an invalid r
litellm/proxy/guardrails/guardrail_registry.py:935
↓ 4 callersMethodupdate_in_memory_litellm_params
Apply updated params in place, rebuilding the compiled rule state. The base implementation only ``setattr``s raw fields, which would leave
litellm/proxy/guardrails/guardrail_hooks/tool_permission.py:582
↓ 4 callersFunctionupdate_jwt_key_mapping
( data: UpdateJWTKeyMappingRequest, user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth), )
litellm/proxy/management_endpoints/jwt_key_mapping_endpoints.py:222
↓ 4 callersMethodupdate_mcp_server
PUT /v1/mcp/server, the call behind the dashboard's Save Changes: a partial update where a field left unset keeps its stored value and None cl
tests/e2e/management/management_client.py:687
↓ 4 callersMethodupdate_model
Merge `litellm_params` over the deployment `model_id`'s stored params via POST /model/update. The proxy overlays only the non-null fields and
tests/e2e/proxy_client.py:796
↓ 4 callersFunctionupdate_project
Update a project Parameters: - project_id: *str* - The project id to update. Required. - project_alias: *Optional[str]* - Updated na
enterprise/litellm_enterprise/proxy/management_endpoints/project_endpoints.py:691
↓ 4 callersMethodupdate_user
(self, body: UserUpdateBody)
tests/e2e/management/management_client.py:526
↓ 4 callersMethodupgrade
(&self)
litellm-rust/crates/redis-client/src/client.rs:28
↓ 4 callersMethodupsert
(self, *, where: Mapping[str, str], data: Mapping[str, Mapping[str, str]])
litellm/proxy/mcp_server/outbound_credentials/sso_assertion_store.py:61
↓ 4 callersFunctionupstream
()
tests/unit/proxy/test_common_request_processing.py:11147
↓ 4 callersMethodupstream
(&self)
litellm-rust/crates/gateway-mcp/src/error.rs:131
↓ 4 callersFunctionupstream_hits
(gateway: Gateway, marker: str)
tests/integration/authorization/_guardrail_opt_out.py:70
↓ 4 callersFunctionupstream_log
(gateway: Gateway, handle: ScenarioHandle)
tests/integration/spend/_background_responses.py:319
↓ 4 callersFunctionupstream_proxy
( gateway: Gateway, directory: Path, rows: tuple[Row, ...], overrides: Mapping[str, str],
tests/integration/providers/_idle_upstream_support.py:719
↓ 4 callersFunctionupstream_reply
(route: str, model: str)
tests/unit/llms/opencode/chat/test_transformation.py:186
↓ 4 callersMethodurl
(&self)
litellm-rust/crates/storage-clickhouse/src/lib.rs:85
↓ 4 callersFunctionurl_for
(url: str, request_body: RequestBody)
litellm/llms/vertex_ai/gemini/long_decode.py:172
↓ 4 callersFunctionusage
(ttl="5m", read=100, write=200)
tests/unit/proxy/hooks/test_prompt_cache_observer.py:40
↓ 4 callersFunctionusage_from_mapping
(input, output) from a usage dict using OpenAI or Anthropic/Responses field names.
litellm/harness/endpoint.py:182
↓ 4 callersFunctionusage_from_parts
Python folds cache tokens into `prompt_tokens` and reports the split under `prompt_tokens_details`; mirror that so cost tracking agrees on both paths.
litellm-rust/crates/core-utils/src/core_helpers.rs:34
↓ 4 callersFunctionusage_of
(payload: Mapping[str, JsonValue])
tests/integration/providers/_mantle_gpt_prompt_cache_support.py:478
↓ 4 callersFunctionusage_tokenizer_model
The model to estimate missing usage with: a deployment's `base_model` when it names an OpenAI model, since a custom deployment name says nothing a
litellm/litellm_core_utils/token_counter.py:1305
↓ 4 callersFunctionuseActivityDateRange
()
ui/litellm-dashboard/src/app/(dashboard)/cost-optimization/_components/useDailyActivityRange.ts:41
↓ 4 callersFunctionuseAgents
()
ui/litellm-dashboard/src/app/(dashboard)/hooks/agents/useAgents.ts:10
↓ 4 callersFunctionuseAutoRouters
()
ui/litellm-dashboard/src/app/(dashboard)/hooks/models/useModels.ts:239
↓ 4 callersFunctionuseBlogPosts
()
ui/litellm-dashboard/src/app/(dashboard)/hooks/blogPosts/useBlogPosts.ts:25
↓ 4 callersFunctionuseChatHistory
({ simplified }: { simplified: boolean })
ui/litellm-dashboard/src/app/(dashboard)/playground/hooks/useChatHistory.ts:42
↓ 4 callersFunctionuseCredentials
({ enabled = true }: { enabled?: boolean } = {})
ui/litellm-dashboard/src/app/(dashboard)/hooks/credentials/useCredentials.ts:8
↓ 4 callersFunctionuseEditSSOSettings
()
ui/litellm-dashboard/src/app/(dashboard)/hooks/sso/useEditSSOSettings.ts:27
↓ 4 callersFunctionuseGuardrails
()
ui/litellm-dashboard/src/app/(dashboard)/hooks/guardrails/useGuardrails.ts:34
↓ 4 callersFunctionuseHealthReadinessDetails
( accessToken: string | null | undefined, )
ui/litellm-dashboard/src/app/(dashboard)/hooks/healthReadiness/useHealthReadinessDetails.ts:41
↓ 4 callersFunctionuseInspectorTable
()
ui/litellm-dashboard/src/components/shared/InspectorTable.tsx:28
↓ 4 callersFunctionuseMcpOAuthFlow
({ accessToken, getCredentials, getTemporaryPayload, onTokenReceived, onBeforeRedirect, flowSource
ui/litellm-dashboard/src/hooks/useMcpOAuthFlow.tsx:78
↓ 4 callersFunctionusePluginMode
()
ui/litellm-dashboard/src/contexts/PluginModeContext.tsx:111
↓ 4 callersFunctionuseProxySettings
(accessToken: string | null)
ui/litellm-dashboard/src/app/(dashboard)/hooks/proxySettings/useProxySettings.ts:33
← previousnext →21,701–21,800 of 202,479, ranked by callers