MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunctioncreate_mcp_server_if_identifier_free
Create the row only when no other live server owns ``server_name``/``alias``. Returns the McpIdentifierConflict instead of inserting when the col
litellm/proxy/mcp_server/db.py:1101
↓ 3 callersMethodcreate_new_version
Create a new draft version of a policy. Copies all fields from the source. Source is current production if source_policy_id is None.
litellm/proxy/policy_engine/policy_registry.py:804
↓ 3 callersFunctioncreate_sample_standard_logging_payload
Create a sample StandardLoggingPayload for testing.
tests/unit/integrations/test_custom_logger.py:33
↓ 3 callersFunctioncreate_timeout_deployment
Register a deployment with a 1ms deadline the real backend always exceeds.
tests/e2e/router/reliability_support.py:99
↓ 3 callersMethodcreate_toolset
(self, body: ToolsetCreateBody)
tests/e2e/proxy_client.py:898
↓ 3 callersFunctioncreate_ui_token_object
Create a ReturnedUITokenObject from a LoginResult. Args: login_result: The result from authenticate_user general_settings: G
litellm/proxy/auth/login_utils.py:516
↓ 3 callersFunctioncreate_view_tolerating_race
Create a view, treating "a concurrent creator won" as success. Every replica booting against the same fresh database observes the view as
litellm/proxy/db/create_views.py:31
↓ 3 callersFunctioncredentialCreateCall
( accessToken: string, formValues: Record<string, any>, // Assuming formValues is an object )
ui/litellm-dashboard/src/components/networking.tsx:2343
↓ 3 callersFunctioncredential_source
( config: &VertexConfig, env_lookup: &dyn Fn(&str) -> Option<String>, )
litellm-rust/crates/auth-gcp/src/config.rs:163
↓ 3 callersMethodcredentials_from_explicit_aws
Create GCP credentials using explicit AWS credentials for WIF. Uses BaseAWSLLM to obtain AWS credentials (via STS AssumeRole, profil
litellm/llms/vertex_ai/vertex_ai_aws_wif.py:54
↓ 3 callersFunctioncrosses_origin
Whether ``target`` leaves ``configured``'s origin, by the rule HTTP clients use. Origin is scheme, host and port, not host alone, so a same-host
litellm/types/mcp.py:369
↓ 3 callersFunctionct
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:54
↓ 3 callersFunctioncurlPayload
(command: string)
ui/litellm-dashboard/src/app/(dashboard)/playground/components/systemOneUI/lib/curlCommand.ts:30
↓ 3 callersFunctioncurlify
(s,o,i,a="")
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctioncurrent_tag
The tag of the `tagged` scope this task runs in. `RedisEvents::call` runs on the calling task, so a sink reads its call's tag here.
litellm-rust/crates/redis-client/src/events.rs:20
↓ 3 callersFunctioncustomHeadersFromPairs
(pairs: readonly KeyValuePair[])
ui/litellm-dashboard/src/components/llm_calls/request_headers.ts:5
↓ 3 callersFunctioncustom_pattern_work
(pattern: str)
litellm/router_strategy/complexity_router/config.py:942
↓ 3 callersMethodcustom_pricing_for
(self, result: object)
litellm/litellm_core_utils/litellm_logging.py:2450
↓ 3 callersFunctioncut_gate
(marker: str, hop: str, attempt: int)
tests/integration/streaming/test_mid_stream_fallback_continuation.py:61
↓ 3 callersMethodcut_stream_chunk
(self)
litellm/llms/anthropic/chat/handler.py:1424
↓ 3 callersFunctioncycle
(started)
litellm-rust/crates/host-python/tests/lifecycle.py:155
↓ 3 callersFunctiond
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 3 callersFunctiond
(e,r)
litellm/proxy/_experimental/out/_next/static/chunks/40jhif8i4dzqp.js:1
↓ 3 callersFunctiond
()
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 3 callersFunctiond
(e)
litellm/proxy/_experimental/out/_next/static/chunks/3rvuj9y0gk-rt.js:1
↓ 3 callersFunctiond
({navigatedAt:e,initialRSCPayload:t,initialFlightStreamForCache:n,location:p})
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callersFunctiond
()
litellm/proxy/_experimental/out/_next/static/chunks/2fy3rfrh_1i4o.js:1
↓ 3 callersFunctiondT
({accessToken:e,disabledPersonalKeyCreation:t,proxySettings:s})
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callersFunctiondU
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callersFunctiondailyActivityExportCall
( entity: DailyActivityEntity, req: DailyActivityRequest, exportType: ExportType, format: ExportFormat
ui/litellm-dashboard/src/components/networking.tsx:1467
↓ 3 callersFunctiondaily_window_day
(now: datetime, reset_offset: timedelta)
litellm/router_utils/pre_call_checks/model_rate_limit_check.py:60
↓ 3 callersFunctiondashscope_api_root
(api_base: str)
litellm/llms/dashscope/common_utils.py:104
↓ 3 callersMethoddata
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 3 callersFunctiondataSourceLiteLLMAccessGroup
()
terraform/provider/litellm/data_source_access_group.go:17
↓ 3 callersFunctiondataSourceLiteLLMFallback
()
terraform/provider/litellm/data_source_fallback.go:13
↓ 3 callersFunctiondataSourceLiteLLMKeyRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/data_source_key.go:147
↓ 3 callersFunctiondataSourceLiteLLMMCPServer
()
terraform/provider/litellm/data_source_mcp_server.go:38
↓ 3 callersFunctiondataSourceLiteLLMModel
()
terraform/provider/litellm/data_source_model.go:61
↓ 3 callersFunctiondataSourceLiteLLMProject
()
terraform/provider/litellm/data_source_project.go:13
↓ 3 callersFunctiondataSourceLiteLLMTag
()
terraform/provider/litellm/data_source_tag.go:14
↓ 3 callersFunctiondataSourceLiteLLMTeams
()
terraform/provider/litellm/data_source_team.go:183
↓ 3 callersFunctiondataSourceLiteLLMUnifiedAccessGroup
()
terraform/provider/litellm/data_source_unified_access_group.go:67
↓ 3 callersMethoddata_cli
(&self, port: u16, args: &[&str])
litellm-rust/crates/redis-testing/src/sentinel.rs:90
↓ 3 callersFunctiondata_frames
(text: str)
tests/integration/routing/test_fallback_hop_foreign_encrypted_reasoning.py:444
↓ 3 callersFunctiondata_key
(context: &HashicorpOperationContext)
litellm-rust/crates/secrets-hashicorp/src/secret_manager.rs:154
↓ 3 callersFunctiondata_of
(frame: bytes)
tests/integration/messages_endpoint/safeguards/test_safeguard_results_native.py:54
↓ 3 callersFunctiondatabase_url_is_pooled
(environ: Mapping[str, str] = os.environ)
litellm/proxy/db/pgbouncer.py:341
↓ 3 callersMethoddate
(self)
litellm/proxy/management_endpoints/common_daily_activity.py:115
↓ 3 callersFunctiondateRangePatch
(value: DateRangePickerValue, presetShortLabel: string | null)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/usageUrlState.ts:144
↓ 3 callersFunctiondb_row
(content: str)
tests/unit/proxy/test_proxy_server_endpoints_and_startup.py:14944
↓ 3 callersMethoddb_skill_to_response
Convert a database skill record to Anthropic-compatible Skill response. Args: db_skill: LiteLLM_SkillsTable record
litellm/llms/litellm_proxy/skills/transformation.py:356
↓ 3 callersFunctiondb_spanned
(call_type: str, table: str | None, load: Callable[[], Awaitable[_T]])
litellm/proxy/db/db_span.py:102
↓ 3 callersMethoddb_update_spend_transaction_handler
Handles commiting update spend transactions to db `UPDATES` can lead to deadlocks, hence we handle them separately Args:
litellm/proxy/db/db_spend_update_writer.py:1745
↓ 3 callersFunctiondecisionChecksProblem
( checks: readonly DecisionModelCheckDraft[], t: TFunction = i18n.t.bind(i18n), )
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/decision_model/buildDecisionModelParams.ts:33
↓ 3 callersFunctiondecisionTestChip
(result: DecisionTestResult, check: DecisionModelCheckDraft)
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/decision_model/decisionModelQuestion.ts:126
↓ 3 callersMethoddeclare_delete
`DualCache.async_delete_cache_pre_call`, memory now and the `DEL` on the batch `send` picks.
litellm-rust/crates/redis-store/src/auth_cache/mod.rs:134
↓ 3 callersMethoddeclare_set
`DualCache.async_set_cache_pre_call`: memory now, the `SET` on the batch `send` picks.
litellm-rust/crates/redis-store/src/auth_cache/mod.rs:123
↓ 3 callersFunctiondeclared_mid_conversation_system_support
The `supports_mid_conversation_system` the deployment's own model_info declares, else the one the cost map declares for the model, else None
litellm/utils.py:3750
↓ 3 callersFunctiondeclared_prompt_cache_breakpoint
(model_info: Mapping[str, object] | None)
litellm/integrations/anthropic_cache_control_hook.py:114
↓ 3 callersFunctiondeclared_requester
(author: str, body: str)
litellm/proxy/roi_calculator/observed_analytics.py:41
↓ 3 callersFunctiondecode
Decodes token ids using the selected tokenizer. Args: skip_special_tokens: For HuggingFace tokenizers, keep the historical
litellm/utils.py:3102
↓ 3 callersFunctiondecode
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctiondecode
(raw: Option<Vec<u8>>)
litellm-rust/crates/redis-store/src/spend_counters/types.rs:44
↓ 3 callersMethoddecode
(&self, ids: &[u32])
litellm-rust/crates/token-counter-tiktoken/src/lib.rs:99
↓ 3 callersMethoddecode_bytes
(&self, ids: &[u32])
litellm-rust/crates/token-counter-tiktoken/src/lib.rs:95
↓ 3 callersFunctiondecode_container_id_for_ownership
(container_id: str, custom_llm_provider: str)
litellm/proxy/container_endpoints/ownership.py:70
↓ 3 callersFunctiondecode_jwt_claims
(token: str)
litellm/llms/chatgpt/common_utils.py:271
↓ 3 callersFunctiondecode_request_value
(value: Value, prefix: &str)
litellm-rust/crates/llms/src/base_llm/ocr/transformation.rs:202
↓ 3 callersFunctiondecode_response
( bytes: &[u8], native: bool, )
litellm-rust/crates/llms/src/base_llm/ocr/transformation.rs:214
↓ 3 callersFunctiondecode_spans
(body: bytes, content_type: str)
tests/integration/_support/otlp_sink.py:135
↓ 3 callersFunctiondecode_state_hash
Decode an encrypted state to retrieve all OAuth session data. Args: encrypted_state: The encrypted string to decode Returns:
litellm/proxy/mcp_server/discoverable_endpoints.py:286
↓ 3 callersMethoddecode_stored
(&self, value: StoredValue)
litellm-rust/crates/cache-disk/src/cache.rs:53
↓ 3 callersFunctiondecode_upstream_scope
(token: str)
litellm/proxy/mcp_server/oauth_utils.py:869
↓ 3 callersMethoddecrypt_and_set_db_env_variables
Decrypts a dictionary of environment variables and then sets them in the environment Args: environment_variables: dict -
litellm/proxy/proxy_server.py:8206
↓ 3 callersMethoddecrypt_credentials
(self, credential: dict | BaseModel)
litellm/proxy/proxy_server.py:9943
↓ 3 callersFunctiondeepgram_listen_is_priced
Only an exact registry hit counts: the cost calculator resolves a missing ``streaming/<model>`` row to the pre-recorded ``<model>`` row, which is
litellm/llms/deepgram/common_utils.py:94
↓ 3 callersFunctiondeepgram_listen_pricing_model
Registry key, without the provider prefix, for the per-second base rate Deepgram bills a streaming session at: the multilingual streaming entry wh
litellm/llms/deepgram/common_utils.py:79
↓ 3 callersFunctiondeepgram_listen_websocket_target
(api_base: str | None, query_string: str)
litellm/llms/deepgram/common_utils.py:58
↓ 3 callersFunctiondeepgram_speak_model
(upstream_url: str)
litellm/llms/deepgram/common_utils.py:220
↓ 3 callersFunctiondeepgram_speak_registry_key
Deepgram bills every voice of an Aura generation at one rate, so ``aura-2-thalia-en`` is priced at the ``deepgram/aura-2`` row
litellm/llms/deepgram/common_utils.py:230
↓ 3 callersFunctiondeepseek_cost_at
(model: str, moment: datetime)
tests/unit/llms/deepseek/test_deepseek_cost_calculator.py:52
↓ 3 callersMethoddefault
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctiondefaultSettings
(keysDisabled: boolean)
ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat/playgroundSettings.ts:85
↓ 3 callersMethoddefault_headers
(&self)
litellm-rust/crates/llms/src/anthropic/chat/transformation.rs:193
↓ 3 callersFunctiondefault_health_check_mode
(requested_model: str, model: str, custom_llm_provider: str)
litellm/litellm_core_utils/health_check_helpers.py:60
↓ 3 callersFunctiondefer
(callback: Callable[[], object])
tests/e2e/idp.py:486
↓ 3 callersMethoddel
`del model_cost[key]`
litellm-rust/crates/model-catalog/src/store/mod.rs:182
↓ 3 callersFunctiondelay
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callersFunctiondelete
( url: URL, *, headers: BaseModel, json: BaseModel, response_type: type[R], params: Ba
tests/e2e/e2e_http.py:628
↓ 3 callersFunctiondelete
( client: &HashicorpVault, name: &str, context: &HashicorpOperationContext, )
litellm-rust/crates/python-bridge/src/secrets/vault/operation.rs:73
↓ 3 callersMethoddeleteRange
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 3 callersMethoddelete_agent_from_db
Delete an agent from the database
litellm/proxy/agent_endpoints/agent_registry.py:668
↓ 3 callersMethoddelete_all_versions
Delete all versions of a policy. Also removes from in-memory registry. Args: policy_name: Name of the policy
litellm/proxy/policy_engine/policy_registry.py:1048
↓ 3 callersMethoddelete_assistant
( self, api_key: str | None, api_base: str | None, timeout: float | httpx.Time
litellm/llms/openai/openai.py:2657
↓ 3 callersMethoddelete_budget
(self, budget_id: str)
tests/e2e/quota_management/budgets/budget_client.py:632
↓ 3 callersMethoddelete_cache
(self, key: str)
litellm/proxy/common_utils/user_api_key_cache.py:356
↓ 3 callersMethoddelete_cache
(self, key: str)
litellm/llms/github_copilot/per_user_auth.py:56
↓ 3 callersMethoddelete_cache
(self, key)
litellm/caching/redis_cache.py:1952
↓ 3 callersMethoddelete_cache
(self, key: str)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:23420
↓ 3 callersMethoddelete_cache
(&self, _: &str)
litellm-rust/crates/cache/tests/dual.rs:55
← previousnext →26,601–26,700 of 202,479, ranked by callers