Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BerriAI/litellm
/ functions
Functions
202,479 in github.com/BerriAI/litellm
⨍
Functions
202,479
◇
Types & classes
26,341
↳
Endpoints
5,595
↓ 4 callers
Function
g
(e,t,n,r,a,l,u,o,c,f)
litellm/proxy/_experimental/out/_next/static/chunks/0dvgjd47fte1d.js:1
↓ 4 callers
Function
gA
()
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 4 callers
Method
gate
(self, request: str)
tests/unit/proxy/db/test_prisma_client.py:507
↓ 4 callers
Function
gateway_profile
(environment: Mapping[str, str])
tests/integration/_support/workers.py:127
↓ 4 callers
Function
gcs_config_bucket
Build a plain GCS client for reading config objects. Reading a config out of a bucket is not GCS logging, so it neither needs the enterprise
litellm/proxy/common_utils/load_config_utils.py:90
↓ 4 callers
Function
gemini_media_source
(content: Mapping[str, object], *, prefer_file_id: bool = False)
litellm/litellm_core_utils/prompt_templates/factory.py:1529
↓ 4 callers
Function
gen
()
tests/unit/proxy/utils/proxy_logging/test_streaming_hooks.py:207
↓ 4 callers
Method
generate
(e,t,r,s)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:1
↓ 4 callers
Method
generateId
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Method
generate_content_handler
Handles Google GenAI generate content requests. When _is_async=True, returns a coroutine instead of making the call directly.
litellm/llms/custom_httpx/llm_http_handler.py:12376
↓ 4 callers
Function
generate_iam_auth_token
( db_host: str, db_port: str, db_user: str, client: _RdsAuthTokenClient | None = None, *,
litellm/proxy/auth/rds_iam_token.py:230
↓ 4 callers
Method
generate_polling_id
Generate a unique UUID for polling with clear prefix
litellm/proxy/response_polling/polling_handler.py:37
↓ 4 callers
Function
generic_chunk_has_all_required_fields
Checks if the provided chunk dictionary contains all required fields for GenericStreamingChunk. :param chunk: The dictionary to check. :
litellm/litellm_core_utils/streaming_handler.py:3096
↓ 4 callers
Function
generic_plan
(endpoint: str)
litellm/router_rust/invoke/endpoints.py:700
↓ 4 callers
Function
get
`value.get(key)` on a dict; a value that is no dict raises `AttributeError`, as `.get` does.
litellm-rust/crates/router-core/src/group_info.rs:130
↓ 4 callers
Function
getAgentSelectionKey
(agent: AgentModel)
ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx:160
↓ 4 callers
Function
getClassifierModelError
( config: Pick< ComplexityRouterConfigValue, "custom_tier_set" | "classifier_type" | "classifier_llm
ui/litellm-dashboard/src/components/add_model/build_complexity_router_config.ts:433
↓ 4 callers
Function
getClassifierPluginTimeoutError
( classifierType: ClassifierType, timeoutMs: number | undefined, t: TFunction = i18n.t.bind(i18n), )
ui/litellm-dashboard/src/components/add_model/build_complexity_router_config.ts:422
↓ 4 callers
Method
getElementClass
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Function
getFilterValue
(columnId: string)
ui/litellm-dashboard/src/components/logs/audit/AuditLogsPanel.tsx:53
↓ 4 callers
Function
getGeneralSettingsCall
(accessToken: string)
ui/litellm-dashboard/src/components/networking.tsx:2996
↓ 4 callers
Function
getGuardrailLogoAndName
(guardrailValue: string)
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_info_helpers.tsx:343
↓ 4 callers
Method
getIndex
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Function
getKnownSyntaxHighlighterLanguage
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Method
getMember
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Method
getMeta
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callers
Function
getMissingTiersError
(rows: readonly TierRow[], t: TFunction = i18n.t.bind(i18n))
ui/litellm-dashboard/src/components/add_model/build_complexity_router_config.ts:362
↓ 4 callers
Function
getOAuthAuthorizationIdentity
(values: Record<string, unknown>)
ui/litellm-dashboard/src/components/mcp_tools/types.tsx:116
↓ 4 callers
Function
getParameterSchema
(s,{isOAS3:o}={})
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Function
getPolicyOptionEntries
(policies: Policy[])
ui/litellm-dashboard/src/components/policies/PolicySelector.tsx:17
↓ 4 callers
Function
getProxyUISettings
(accessToken: string)
ui/litellm-dashboard/src/components/networking.tsx:3356
↓ 4 callers
Function
getReminderMarkersError
( pairs: ReminderMarkerPair[] | undefined, t: TFunction = i18n.t.bind(i18n), )
ui/litellm-dashboard/src/components/add_model/build_complexity_router_config.ts:409
↓ 4 callers
Function
getSSOSettings
(accessToken: string)
ui/litellm-dashboard/src/components/networking.tsx:6020
↓ 4 callers
Function
getTailOffset
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Function
getType
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callers
Function
getVectorStoreProviderLogoAndName
(providerValue: string)
ui/litellm-dashboard/src/components/vector_store_providers.tsx:400
↓ 4 callers
Function
getWindowLocation
()
ui/litellm-dashboard/src/components/networking.tsx:203
↓ 4 callers
Method
get_access_token
(self)
litellm/llms/xai/oauth.py:132
↓ 4 callers
Method
get_actual_model_id_from_router
(model_name: str)
litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_passthrough_logging_handler.py:1106
↓ 4 callers
Method
get_agent
(self, agent_id: str)
tests/e2e/a2a/a2a_client.py:233
↓ 4 callers
Method
get_agent_tool_permissions_for_server
Get allowed tool names for a server from the agent's object_permission: the union of its direct tool permissions and the tools its to
litellm/proxy/mcp_server/auth/user_api_key_auth_mcp.py:4651
↓ 4 callers
Method
get_all_deployments
( self, model_name: str, model_alias: str | None = None, team_id: str | None = None )
litellm/router_deprecated.py:411
↓ 4 callers
Function
get_all_mcp_servers
Returns mcp servers from the db, optionally filtered by approval_status. Pass approval_status=None to return every server except drafts, whic
litellm/proxy/mcp_server/db.py:863
↓ 4 callers
Method
get_all_regions
(self)
litellm/llms/bedrock/common_utils.py:875
↓ 4 callers
Function
get_all_team_memberships
Get all team memberships for a given user
litellm/proxy/management_endpoints/team_endpoints.py:1059
↓ 4 callers
Method
get_anthropic_count_tokens_endpoint
Get the Anthropic CountTokens API endpoint. Args: api_base: The deployment's api_base, which names the chat surface (a h
litellm/llms/anthropic/count_tokens/transformation.py:363
↓ 4 callers
Method
get_api_base
(self, api_base: str | None, vertex_location: str | None)
litellm/llms/vertex_ai/vertex_llm_base.py:314
↓ 4 callers
Method
get_api_base
(api_base: str | None = None)
litellm/llms/xai/common_utils.py:61
↓ 4 callers
Function
get_api_key
Returns: Tuple[Optional[str], Optional[str]]: Tuple of the api_key and the passed_in_key
litellm/proxy/auth/user_api_key_auth.py:1509
↓ 4 callers
Method
get_api_key
(api_key: str | None = None)
litellm/llms/azure_ai/common_utils.py:291
↓ 4 callers
Method
get_api_key
An empty or whitespace-only key counts as unset: it can never authenticate anything, and treating it as set would silently outrank workload id
litellm/llms/anthropic/common_utils.py:1680
↓ 4 callers
Function
get_api_key_from_custom_header
Get API key from custom header Args: request (Request): Request object custom_litellm_key_header_name (str): Custom header n
litellm/proxy/auth/user_api_key_auth.py:4760
↓ 4 callers
Function
get_api_params
Find watsonx.ai credentials in the params or environment variables and return the headers for authentication.
litellm/llms/watsonx/common_utils.py:83
↓ 4 callers
Method
get_archive
(self, submission_id: str, submitted_by: str | None)
litellm/models/skill_submission.py:100
↓ 4 callers
Method
get_assistants
( self, api_key: str | None, api_base: str | None, timeout: float | httpx.Tim
litellm/llms/openai/openai.py:2485
↓ 4 callers
Method
get_async_invoke_status
( self, invocation_arn: str, aws_region_name: str, logging_obj: "LiteLLMLoggin
litellm/llms/bedrock/embed/embedding.py:701
↓ 4 callers
Function
get_audio_file_content_hash
Compute SHA-256 hash of audio file content for cache keys. Falls back to filename hash if content extraction fails.
litellm/litellm_core_utils/audio_utils/utils.py:192
↓ 4 callers
Method
get_auth_headers
Get HTTP headers for authentication. Returns: Dict with Authorization header containing Bearer token.
litellm/proxy_auth/credentials.py:257
↓ 4 callers
Method
get_backup_model_count
Return the number of models in the local backup (cached int).
litellm/litellm_core_utils/get_model_cost_map.py:119
↓ 4 callers
Function
get_base64_str
s: b64str OR data:image/png;base64,b64str
litellm/utils.py:9494
↓ 4 callers
Method
get_bedrock_embedding_provider
Helper function to get the bedrock embedding provider from the model Handles scenarios like: 1. model=cohere.embed-english-v
litellm/llms/bedrock/base_aws_llm.py:646
↓ 4 callers
Function
get_bigmodel_api_key
(api_key: str | None)
litellm/llms/bigmodel/common_utils.py:40
↓ 4 callers
Function
get_budget_reset_settings
Build validated reset settings from litellm_settings. Raises on a malformed `budget_reset_time`, which lets the proxy fail fast at startup.
litellm/proxy/common_utils/timezone_utils.py:56
↓ 4 callers
Function
get_budget_reset_timezone
Get the budget reset timezone from litellm_settings. Falls back to UTC if not specified. litellm_settings values are set as attributes o
litellm/proxy/common_utils/timezone_utils.py:45
↓ 4 callers
Method
get_cache
(self, credentials: dict, service_name: str)
litellm/litellm_core_utils/specialty_caches/dynamic_logging_cache.py:67
↓ 4 callers
Method
get_cache
(self, key, parent_otel_span: Span | None = None, **kwargs)
litellm/caching/redis_cache.py:1564
↓ 4 callers
Method
get_cache
(self, key, **kwargs)
litellm/caching/s3_cache.py:115
↓ 4 callers
Method
get_cache
(&self, key: &str, context: &C)
litellm-rust/crates/cache/src/dual.rs:177
↓ 4 callers
Method
get_cache_key
(self, args: dict)
litellm/litellm_core_utils/specialty_caches/dynamic_logging_cache.py:62
↓ 4 callers
Method
get_cache_point_block
( self, message_block: OpenAIMessageContentListBlock | ChatCompletionUserMessage
litellm/llms/bedrock/chat/converse_transformation.py:1470
↓ 4 callers
Function
get_cached_authenticator
(auth_file: str)
litellm/llms/chatgpt/authenticator.py:65
↓ 4 callers
Function
get_cached_end_user_id_for_cost_tracking
Get cached get_end_user_id_for_cost_tracking function. Lazy imports on first call to avoid loading utils.py at import time (60MB saved).
litellm/integrations/prometheus_helpers/__init__.py:28
↓ 4 callers
Method
get_complete_url
( self, api_base: str | None, api_key: str | None, model: str, optiona
litellm/llms/bedrock/chat/mantle/transformation.py:41
↓ 4 callers
Method
get_complete_url
( self, api_base: str | None, api_key: str | None, model: str, optiona
litellm/llms/bedrock/chat/chat_completions/transformation.py:362
↓ 4 callers
Method
get_complete_url
( self, api_base: str | None, api_key: str | None, model: str, optiona
litellm/llms/bedrock/messages/mantle_transformation.py:73
↓ 4 callers
Method
get_complete_url
(self, api_base: str | None, litellm_params: dict)
litellm/llms/s3_vectors/vector_stores/transformation.py:115
↓ 4 callers
Method
get_complete_url
( self, api_base: str | None, api_key: str | None, model: str, optiona
litellm/llms/azure/audio_transcription/transformation.py:88
↓ 4 callers
Method
get_complete_url
Build the search URL. APISerpent uses GET, so the transformed request is serialized into the query string. The endpoint path (quick v
litellm/llms/apiserpent/search/transformation.py:73
↓ 4 callers
Method
get_complete_url
Build the complete URL for Docker Model Runner API. Docker Model Runner uses URLs in the format: /engines/{engine}/v1/chat/completio
litellm/llms/docker_model_runner/chat/transformation.py:76
↓ 4 callers
Method
get_complete_url
( self, api_base: str | None, model: str, optional_params: dict | None = None,
litellm/llms/voyage/rerank/transformation.py:74
↓ 4 callers
Method
get_complete_url
( &self, request: &PreparedOcrRequest, _optional_params: &Self::OcrParams, _en
litellm-rust/crates/llms/src/cohere/ocr/transformation.rs:138
↓ 4 callers
Method
get_config_blocks
(cls)
litellm/llms/bedrock/chat/converse_transformation.py:252
↓ 4 callers
Method
get_content_items_for_message
Flatten a message into text blocks, preserving any contextual-grounding qualifier carried by the content-block ``type`` (grounding_so
litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py:520
↓ 4 callers
Method
get_cost_for_vector_store
Calculate cost for vector store usage. Azure charges based on storage size and duration.
litellm/litellm_core_utils/llm_cost_calc/tool_call_cost_tracking.py:739
↓ 4 callers
Method
get_credential_deployment
(self, model_id: str, team_id: str | None = None)
litellm/router_deprecated.py:636
↓ 4 callers
Method
get_credentials
(self, **kwargs)
tests/unit/llms/bedrock/realtime/test_bedrock_realtime_handler.py:455
↓ 4 callers
Method
get_credentials_from_env
( self, langsmith_api_key: str | None = None, langsmith_project: str | None = None,
litellm/integrations/langsmith.py:107
↓ 4 callers
Method
get_custom_llm_handler
The `CustomLLM` registered for `provider` in `litellm.custom_provider_map`, if its handler is one.
litellm/utils.py:11325
↓ 4 callers
Method
get_custom_logger_for_prompt_management
Get a custom logger for prompt management based on model name or available callbacks. Args: model: The model name to che
litellm/litellm_core_utils/litellm_logging.py:1549
↓ 4 callers
Function
get_customer_daily_activity
Get daily activity for specific organizations or all accessible organizations.
litellm/proxy/management_endpoints/customer_endpoints.py:942
↓ 4 callers
Function
get_datadog_env
()
litellm/integrations/datadog/datadog_handler.py:32
↓ 4 callers
Function
get_datadog_pod_name
()
litellm/integrations/datadog/datadog_handler.py:36
↓ 4 callers
Function
get_default_encoding
()
litellm/_lazy_imports.py:17
↓ 4 callers
Method
get_defaults
Get the default settings as a dictionary with string keys
enterprise/litellm_enterprise/types/enterprise_callbacks/send_emails.py:77
↓ 4 callers
Function
get_deployment_io_token_limits
( deployment: dict, )
litellm/router_utils/pre_call_checks/io_token_rate_limit_check.py:139
↓ 4 callers
Function
get_deployment_order
Returns the routing order for a deployment. Checks litellm_params first (static config), then model_info (dynamic/team models added via
litellm/utils.py:6393
↓ 4 callers
Function
get_deployments_by_model
Get all deployments by model
litellm/proxy/management_endpoints/tag_management_endpoints.py:230
↓ 4 callers
Function
get_disabled_non_admin_personal_key_creation
()
litellm/proxy/management_endpoints/ui_sso.py:1960
↓ 4 callers
Function
get_encoding
(name: str)
litellm/rust_bridge/tokenizer.py:72
↓ 4 callers
Function
get_env_float_or_none
Float counterpart of `get_env_int_or_none`.
litellm/litellm_core_utils/env_utils.py:47
← previous
next →
20,301–20,400 of 202,479, ranked by callers