MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersMethodexported_spans_named
(self, name)
tests/unit/integrations/test_langfuse.py:644
↓ 3 callersFunctionexporter_transport
How an exporter of this ``kind`` carries credentials, per ``_exporter_from_spec``. ``http``/``grpc`` exporters (and any registered factory, which
litellm/integrations/otel/plumbing/providers.py:186
↓ 3 callersMethodextend
(self, values: Iterable[Entry])
litellm/router_rust/surface/model_list.py:342
↓ 3 callersMethodextensions
(self)
tests/unit/llms/openai/test_openai.py:116
↓ 3 callersMethodexternalDocs
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctionextra_body_for_sail
``extra_body`` keys are sent over the request body, so its ``metadata`` would replace the metadata carrying the window. The two are merged, and a
litellm/llms/sail/common_utils.py:85
↓ 3 callersFunctionextract
(auth_scope: Scope, _: str)
tests/unit/proxy/mcp_server/test_mcp_server_tool_calls_and_headers.py:12318
↓ 3 callersFunctionextractLoggingSettings
(metadata: Record<string, any> | null | undefined)
ui/litellm-dashboard/src/components/key_info_utils.tsx:28
↓ 3 callersFunctionextractMCPToken
(url: string)
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/utils.tsx:38
↓ 3 callersFunctionextractMcpEntitlement
( formValues: Record<string, unknown>, allServers: MCPServer[], allToolsets: MCPToolset[] = [], )
ui/litellm-dashboard/src/components/mcp_server_management/mcpEntitlement.ts:48
↓ 3 callersFunctionextractMeaningfulError
(error: unknown, t: TFunction = i18n.t.bind(i18n))
ui/litellm-dashboard/src/components/model_dashboard/HealthCheckComponent.tsx:68
↓ 3 callersFunctionextractVariables
(prompt: PromptType)
ui/litellm-dashboard/src/app/(dashboard)/prompts/_components/prompt_editor_view/utils.ts:4
↓ 3 callersMethodextract_aws_params
Extract LiteLLM-specific aws_* keys from a WIF credential JSON dict. Returns a dict of {param_name: value} for any recognized aws_*
litellm/llms/vertex_ai/vertex_ai_aws_wif.py:44
↓ 3 callersMethodextract_completed_responses_response
Pull the assembled ``ResponsesAPIResponse`` off a streaming iterator. ``ResponsesAPIStreamingIterator`` stores the terminal stream event
litellm/proxy/common_request_processing.py:3775
↓ 3 callersFunctionextract_file_metadata
Resolve (filename, content_type) without reading the file body. Mirrors extract_file_data's metadata resolution but never calls .read(), so
litellm/litellm_core_utils/prompt_templates/file_id_utils.py:321
↓ 3 callersFunctionextract_mcp_auth_context
Extracts mcp_servers from the path and processes the MCP request for auth context. Returns: (user_api_key_auth, mcp_auth_header, mcp_
litellm/proxy/mcp_server/server.py:1349
↓ 3 callersFunctionextract_model_from_target_model_names
(target_model_names: object)
litellm/proxy/video_endpoints/utils.py:23
↓ 3 callersFunctionextract_opik_metadata
Merge Opik metadata from three sources in increasing priority order: 1. user_api_key_auth_metadata– lowest priority (operator-level defaul
litellm/integrations/opik/opik_payload_builder/extractors.py:42
↓ 3 callersFunctionextract_overhead_header
(headers: aiohttp.typedefs.LooseHeaders)
scripts/benchmark_chat_completions_perf.py:293
↓ 3 callersMethodextract_query_params
Parse a URL’s query-string into a dict. :param url: full URL, e.g. "https://.../path?foo=1&bar=2" :return: {"foo": "1", "bar
litellm/llms/custom_httpx/http_handler.py:1686
↓ 3 callersFunctionextract_s3_uri_from_file_id
Resolve a Bedrock file id to its S3 URI. Accepts either a base64-encoded LiteLLM unified file id (whose decoded form carries `llm_output
litellm/llms/bedrock/files/transformation.py:258
↓ 3 callersFunctionextract_sse_data
Parse the JSON object from the ``data:`` line of an Anthropic SSE event.
litellm/llms/anthropic/messages/stream_assembly.py:301
↓ 3 callersMethodextract_text
(self)
litellm/litellm_core_utils/token_counter.py:759
↓ 3 callersFunctionextract_text_from_content
Return plain text from a message content field (str or multimodal list).
litellm/litellm_core_utils/llm_judge.py:56
↓ 3 callersMethodextract_text_from_response
Extract text content from A2A response result. Args: response_dict: A2A response dict with 'result' containing message
litellm/a2a_protocol/utils.py:63
↓ 3 callersMethodextract_user_query
Extract user query from messages for /chat/completions or /responses. Args: messages: List of message dictionaries (from
litellm/proxy/mcp_server/semantic_tool_filter.py:441
↓ 3 callersMethodextraction
( self, model: str, custom_llm_provider: str, logging_obj: LiteLLMLoggingObj |
litellm/llms/custom_httpx/llm_http_handler.py:1915
↓ 3 callersFunctionf
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/2s7apn3nfa3q3.js:1
↓ 3 callersFunctionf
(e)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 3 callersFunctionf
({name:e,label:s,description:l,defaultValue:r,rules:i,className:o,children:d})
litellm/proxy/_experimental/out/_next/static/chunks/0-i21ejarohtj.js:1
↓ 3 callersFunctionf
(e=!0)
litellm/proxy/_experimental/out/_next/static/chunks/2kd01k7_ccb0k.js:1
↓ 3 callersFunctionf
litellm/proxy/_experimental/out/_next/static/chunks/2fy3rfrh_1i4o.js:1
↓ 3 callersFunctionf
({id:e,field:t,value:i,onChange:a,presets:r,catalogVersion:n,customWithoutPreview:m,setCustomWithoutPreview:x}
litellm/proxy/_experimental/out/_next/static/chunks/2jxpy6eth1zvy.js:1
↓ 3 callersFunctionfB
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctionfX
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctionfactory
(spec)
tests/unit/integrations/otel/test_otel_v2_logger.py:3186
↓ 3 callersMethodfail
(self)
litellm/responses/mcp/chat_stream_round_billing.py:136
↓ 3 callersMethodfailed_tracking_alert
(self, error_message: str, failing_model: str)
tests/unit/proxy/hooks/test_proxy_track_cost_callback.py:1542
↓ 3 callersFunctionfailing
(error: Exception)
tests/unit/caching/test_redis_cache.py:877
↓ 3 callersFunctionfailing_follow_up
()
tests/unit/proxy/test_proxy_utils_model_creation_and_error_logging.py:3841
↓ 3 callersMethodfailover
(&self)
litellm-rust/crates/redis-testing/src/sentinel.rs:146
↓ 3 callersFunctionfailure
(exc: Exception)
tests/unit/proxy/hooks/test_parallel_request_limiter_v3.py:5558
↓ 3 callersFunctionfailure
(error: &Bound<'py, PyAny>)
litellm-rust/crates/python-bridge/src/callable.rs:47
↓ 3 callersFunctionfailure
(outcome: &Bound<'_, PyDict>)
litellm-rust/crates/python-bridge/src/router/retries.rs:11
↓ 3 callersMethodfailure
As [`Self::succeeded`], with the selected exception held as its value and raised again once the hooks finish.
litellm-rust/crates/host-python/src/driver.rs:446
↓ 3 callersMethodfailure_handler
( self, exception: Exception, traceback_exception: str, start_time: datetime.d
litellm/rust_bridge/host/callbacks_legacy_python.py:146
↓ 3 callersFunctionfailure_row
(call_id: str)
tests/integration/routing/test_payment_required_mapping.py:117
↓ 3 callersFunctionfailure_row_response_cost
(request_data: Mapping[str, object])
litellm/proxy/hooks/proxy_track_cost_callback.py:237
↓ 3 callersFunctionfailure_status
``cast_exception_status_to_int``: a number as given, a numeric string read as one, any other string 500. A number no status can hold reads as no s
litellm/router_rust/surface/health.py:39
↓ 3 callersFunctionfal_ai_queue_base
()
litellm/llms/fal_ai/cost_calculator.py:33
↓ 3 callersFunctionfal_images_to_image_objects
(images: object)
litellm/llms/fal_ai/image_generation/transformation.py:39
↓ 3 callersMethodfall_back
( &self, snapshot: &RouterStateSnapshot, op: &Op, request: &Arc<RouterRequest>
litellm-rust/crates/router-core/src/call.rs:346
↓ 3 callersMethodfallback
The fallback walk for this stream's failure; raises when no fallback answers.
litellm/router_rust/invoke/streaming.py:163
↓ 3 callersFunctionfallbackCostLabel
(key: string)
ui/litellm-dashboard/src/components/molecules/models/deploymentPricing.ts:209
↓ 3 callersFunctionfallbackTypeFromState
(d *schema.ResourceData)
terraform/provider/litellm/resource_fallback.go:59
↓ 3 callersFunctionfallback_chain
The fallbacks configured for a model group, and the index of the generic ``*`` entry (was ``get_fallback_model_group``). Needs no router inst
litellm/router_api.py:292
↓ 3 callersFunctionfallback_requested_model
The group a create asked for when one of that group's router fallbacks served it.
litellm/proxy/video_endpoints/utils.py:142
↓ 3 callersFunctionfallback_stream
()
tests/unit/router_utils/pre_call_checks/test_continuation_prefill_check.py:232
↓ 3 callersFunctionfamilies_over
Every metric family holding more series of its own than the cap allows.
tests/integration/_support/prometheus_series.py:283
↓ 3 callersFunctionfb
(s,o,i,a)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctionfeature_betas
(request: &MessagesRequest)
litellm-rust/crates/llms/src/anthropic/messages/transformation.rs:196
↓ 3 callersFunctionfederatedProviderOf
(provider: string | null | undefined)
ui/litellm-dashboard/src/components/model_add/credential_federation.ts:49
↓ 3 callersMethodfeed
(self, chunk: bytes)
litellm/harness/endpoint.py:253
↓ 3 callersMethodfeed
(self, text: str)
litellm/llms/bedrock/chat/chat_completions/transformation.py:171
↓ 3 callersMethodfetch
(self, user_id: str, server_id: str)
litellm/proxy/mcp_server/outbound_credentials/resolver.py:110
↓ 3 callersMethodfetch
(self, user_id: str)
litellm/proxy/mcp_server/outbound_credentials/sso_assertion_refresher.py:452
↓ 3 callersMethodfetch
(page: int)
tests/e2e/proxy_client.py:1143
↓ 3 callersFunctionfetchAllModelDeployments
( accessToken: string, userId: string, userRole: string, )
ui/litellm-dashboard/src/app/(dashboard)/hooks/models/useModels.ts:177
↓ 3 callersFunctionfetchAutoRouterModels
( accessToken: string, teamId: string | null | undefined, )
ui/litellm-dashboard/src/components/llm_calls/fetch_models.tsx:73
↓ 3 callersFunctionfetchAvailableAgents
(accessToken: string, customBaseUrl?: string)
ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/fetch_agents.tsx:41
↓ 3 callersFunctionfetchAvailableModelsForTeam
(accessToken: string, teamId: string)
ui/litellm-dashboard/src/components/llm_calls/fetch_models.tsx:46
↓ 3 callersFunctionfetchGuardrails
()
ui/litellm-dashboard/src/app/(dashboard)/playground/components/complianceUI/ComplianceUI.tsx:195
↓ 3 callersFunctionfetchPrompts
()
ui/litellm-dashboard/src/app/(dashboard)/prompts/_components/index.tsx:57
↓ 3 callersFunctionfetchSearchTools
(accessToken: string)
ui/litellm-dashboard/src/components/networking.tsx:4727
↓ 3 callersFunctionfetchTeamInfo
()
ui/litellm-dashboard/src/components/team/TeamInfo.tsx:753
↓ 3 callersFunctionfetchUserModels
( userID: string, userRole: string, accessToken: string, setUserModels: (models: string[]) => void, )
ui/litellm-dashboard/src/components/organisms/create_key_button.tsx:221
↓ 3 callersFunctionfetch_page
(page_after: str | None, page_limit: int | None)
litellm/proxy/container_endpoints/endpoints.py:229
↓ 3 callersFunctionfetch_row
(directory: &Path, row: Row)
litellm-rust/crates/cache-disk/src/sqlite.rs:656
↓ 3 callersFunctionfetch_upstream_oauth_protected_resource
Fetch the upstream MCP server's ``.well-known/oauth-protected-resource`` metadata for a pass-through server. Tries host-only first, then fall
litellm/proxy/mcp_server/discoverable_endpoints.py:2875
↓ 3 callersFunctionfg
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctionfieldValues
(index: ClientIndex<T, F>, items: readonly T[], field: F)
ui/litellm-dashboard/src/components/shared/search/evaluate.ts:39
↓ 3 callersFunctionfile_of
(node: str)
tests/integration/run.py:50
↓ 3 callersFunctionfile_paths
(seed: str, count: int)
tests/e2e/perf/setup/mocks/reply_common.py:61
↓ 3 callersFunctionfile_reference_name
(reference: str)
litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_transformation.py:56
↓ 3 callersMethodfilter
(self, mask: Sequence[bool], /)
litellm/integrations/ternary/export_engine.py:53
↓ 3 callersFunctionfilterItems
( language: QueryLanguage<F>, index: ClientIndex<T, F>, items: T[], text: string, )
ui/litellm-dashboard/src/components/shared/search/evaluate.ts:32
↓ 3 callersFunctionfilterModelsForEndpoint
(models: ModelGroup[], endpointType: EndpointType)
ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/EndpointUtils.tsx:21
↓ 3 callersFunctionfilter_claude_platform_request_body
( params: Mapping[str, object], unsupported_override: frozenset[str] | None = None, log_dropped: b
litellm/llms/bedrock/claude_platform/common_utils.py:30
↓ 3 callersFunctionfilter_exceptions_from_params
Recursively filter out Exception objects and callable objects from dicts/lists. This is a defensive utility to prevent deepcopy failures whe
litellm/litellm_core_utils/core_helpers.py:891
↓ 3 callersFunctionfilters_deployments
A routing callback that overrides ``async_filter_deployments``: the base filter returns its input unchanged, so only overriding filters are run.
litellm/router_rust/steps/callbacks.py:577
↓ 3 callersMethodfinalize
(self)
tests/rust-python-harness/shared/reporting/models.py:147
↓ 3 callersMethodfinalize
(&mut self, py: Python<'_>)
litellm-rust/crates/callbacks-legacy-python/src/adapter.rs:218
↓ 3 callersMethodfind
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctionfindDuplicateMcpServer
( servers: readonly Pick<MCPServer, "server_id" | "server_name" | "alias">[] | undefined, serverName: stri
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/duplicateServerCheck.ts:15
↓ 3 callersMethodfindInside
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 3 callersMethodfindPlace
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 3 callersFunctionfind_anthropic_server_tool_result
( tool_id: str, web_search_results: Sequence[object] | None, tool_results: Sequence[object] | None
litellm/litellm_core_utils/prompt_templates/mid_conversation_system.py:302
↓ 3 callersMethodfind_by_organization_id
Find all teams belonging to an organization.
litellm/repositories/team_repository.py:167
↓ 3 callersMethodfind_first
(self, where: Mapping[str, object])
tests/unit/proxy/skill_submission_rows.py:27
↓ 3 callersMethodfind_latest_for_key
The session's most recently active router row under exactly this key hash, or None. The key is the row's own partition, not a filter over a w
litellm/repositories/autorouter_session_repository.py:29
← previousnext →27,001–27,100 of 202,479, ranked by callers