MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunctionresolve_scoped_resource_server
Resolve an RFC 8707 ``resource`` value to the single gateway-owned server it names, or ``None`` for every other shape: absent, the aggregate resou
litellm/proxy/mcp_server/gateway_dcr_flow.py:637
↓ 4 callersFunctionresolve_served_model
Model the request preparation serves for `model`. Apply the global alias map, then key aliases, then `router_settings.model_group_alias`.
litellm/litellm_core_utils/routing_common_utils.py:147
↓ 4 callersFunctionresolve_session_signing
A token verb's precondition: the proxy has a master key and the session signing configuration validates. Either defect is an operator fault the ve
litellm/proxy/mcp_server/gateway_dcr_flow.py:459
↓ 4 callersMethodresolve_streaming_request_params
Resolve the provider, file ID, and request payload to use for streaming. For model-routed requests, this derives the effective provi
litellm/proxy/openai_files_endpoints/file_content_streaming_handler.py:17
↓ 4 callersMethodresolve_team_from_header
The team named by x-litellm-team-id, which may carry a team id or a team alias. A value that is already an allowed team id never cost
litellm/proxy/auth/handle_jwt.py:2044
↓ 4 callersFunctionresolve_tinyfish_agent_api_base
()
litellm/proxy/pass_through_endpoints/llm_provider_handlers/tinyfish_passthrough_logging_handler.py:88
↓ 4 callersFunctionresolve_tinyfish_cost_per_step
()
litellm/proxy/pass_through_endpoints/llm_provider_handlers/tinyfish_passthrough_logging_handler.py:94
↓ 4 callersFunctionresolve_ui_session_team_ids
Resolve the real team ids backing a UI session token.
litellm/proxy/mcp_server/ui_session_utils.py:45
↓ 4 callersFunctionresolved
(host: &str, namespace: Option<&str>)
litellm-rust/crates/redis-connect/src/hosts.rs:127
↓ 4 callersMethodresolved_model
(self)
litellm/types/realtime.py:175
↓ 4 callersFunctionresourceKeyCreate
(ctx context.Context, d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_key.go:284
↓ 4 callersFunctionresourceLiteLLMAccessGroupRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_access_group.go:89
↓ 4 callersFunctionresourceLiteLLMAgent
()
terraform/provider/litellm/resource_agent.go:54
↓ 4 callersFunctionresourceLiteLLMAgentRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_agent.go:207
↓ 4 callersFunctionresourceLiteLLMGuardrailRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_guardrail.go:165
↓ 4 callersFunctionresourceLiteLLMJWTKeyMappingRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_jwt_key_mapping_crud.go:64
↓ 4 callersFunctionresourceLiteLLMModelRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_model_crud.go:377
↓ 4 callersFunctionresourceLiteLLMProjectRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_project.go:227
↓ 4 callersFunctionresourceLiteLLMSearchTool
()
terraform/provider/litellm/resource_search_tool.go:47
↓ 4 callersFunctionresourceLiteLLMSearchToolRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_search_tool.go:147
↓ 4 callersFunctionresourceLiteLLMUnifiedAccessGroupRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_unified_access_group.go:175
↓ 4 callersFunctionresourceLiteLLMUserRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/resource_user.go:229
↓ 4 callersFunctionresources
(loader: Arc<Loader>)
litellm-rust/crates/inference-ocr/tests/resources.rs:55
↓ 4 callersFunctionrespond
(request: Request)
tests/integration/providers/_coralbricks.py:285
↓ 4 callersMethodrespond
(request: httpx.Request)
tests/unit/llms/dashscope/test_dashscope_video_transformation.py:402
↓ 4 callersMethodresponse
(self, request_model: str, model_used: str, tokenizer_type: str)
litellm/llms/anthropic/count_tokens/transformation.py:113
↓ 4 callersMethodresponse
(self, acs: str, request_id: str | None, name_id: str, email: str | None)
tests/integration/authorization/test_sso_blank_identity.py:172
↓ 4 callersFunctionresponse_coro
()
tests/unit/passthrough/test_async_streaming_error_propagation.py:60
↓ 4 callersFunctionresponse_format_answer_json
(value: AnswerValue)
litellm/llms/base_llm/base_utils.py:365
↓ 4 callersFunctionresponse_id
(response: httpx.Response, stream: bool)
tests/integration/providers/_tool_search_support.py:295
↓ 4 callersFunctionresponses
Synchronous version of the Responses API. Uses the synchronous HTTP handler to make requests.
litellm/responses/main.py:1489
↓ 4 callersFunctionresponses_allowed_tools_tool_choice
The flat Responses API layout of a chat ``allowed_tools`` choice, or ``None`` when an entry is malformed or carries conflicting keys, so the calle
litellm/litellm_core_utils/allowed_tools_tool_choice.py:150
↓ 4 callersFunctionresponses_backend
( identity: str, *, stream: bool, name: str = "Bash", arguments: Mapping[str, JsonValue] |
tests/integration/_support/safeguards_rig.py:533
↓ 4 callersFunctionresponses_structure
(body: Mapping[str, JsonValue])
tests/integration/translation/response_contracts.py:253
↓ 4 callersFunctionrestore_kill_switch
Put the stored secret back behind an auth field echoed as the redaction marker; a marker with no stored secret of the same auth type becomes "".
litellm/proxy/agent_endpoints/kill_switch.py:65
↓ 4 callersFunctionrestricted_user
(database: Database)
tests/e2e/migrations/database.py:160
↓ 4 callersFunctionresult_url
(marker: str)
tests/integration/providers/_api_base_trailing_slash_support.py:47
↓ 4 callersFunctionresume_unless_cancelled
( py: Python<'_>, result: PyResult<Py<PyAny>>, )
litellm-rust/crates/host-python/src/hooks/chain/dispatch.rs:204
↓ 4 callersMethodretire
``_core_discard``: only the router's global registrations go; it keeps serving calls.
litellm/router_rust/core.py:2055
↓ 4 callersMethodretrieve_batch_payload
(self)
tests/unit/test_router/test_router.py:1167
↓ 4 callersFunctionretrieve_container
( container_id: str, timeout: float | httpx.Timeout = 600, # default to 10 minutes api_key: str |
litellm/containers/main.py:555
↓ 4 callersFunctionrevokeSessionAndClearClientState
(accessToken: string | null)
ui/litellm-dashboard/src/app/(dashboard)/hooks/useLogout.ts:13
↓ 4 callersFunctionrg
()
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersFunctionro
litellm/proxy/_experimental/out/_next/static/chunks/2k-fkubkt19cc.js:74
↓ 4 callersFunctionroll_window_spend_row
Move a row onto the window that just started and zero its spend. Conditional on the stored window_start still being behind the new one so a p
litellm/proxy/db/budget_window_spend_writer.py:444
↓ 4 callersFunctionrollout_compactions
(rollout: str)
tests/e2e/codex/rollout.py:66
↓ 4 callersFunctionrotate_mcp_user_credentials_master_key
Re-encrypt every ``LiteLLM_MCPUserCredentials`` row with ``new_master_key``. Reads each ``credential_b64`` with the current salt key (falling bac
litellm/proxy/mcp_server/db.py:1657
↓ 4 callersFunctionrotate_mcp_user_env_vars_master_key
Re-encrypt every ``LiteLLM_MCPUserEnvVars`` row with ``new_master_key``. Reads each ``values_b64`` blob with the current salt key and writes it b
litellm/proxy/mcp_server/db.py:1697
↓ 4 callersFunctionroute
(request: httpx.Request)
tests/unit/llms/vertex_ai/test_gemini_batch_embeddings.py:771
↓ 4 callersFunctionroute_in_additonal_public_routes
Helper to check if the user defined public_routes on config.yaml Parameters: - current_route: str - the route the user is trying to call
litellm/proxy/auth/auth_utils.py:1008
↓ 4 callersFunctionrouter_cooldown_event_callback
Callback triggered when a deployment is put into cooldown by litellm - Updates deployment state on Prometheus - Increments cooldown metr
litellm/router_utils/cooldown_callbacks.py:20
↓ 4 callersFunctionrouter_embedder
Embeds through the router after the same key rate-limit, budget and guardrail pre-call hooks /embeddings runs.
litellm/proxy/common_utils/semantic_text_index.py:91
↓ 4 callersFunctionrouter_setting
(gateway: Gateway, name: str)
tests/integration/routing/test_fallback_hop_foreign_encrypted_reasoning.py:698
↓ 4 callersFunctionrouting_decision_attributes
(decision: Mapping[str, object] | None)
litellm/integrations/otel/routing.py:56
↓ 4 callersFunctionrow_id
(target: str, marker: str, served: dict[str, JsonValue])
tests/integration/providers/test_coralbricks_provider_env_wire.py:95
↓ 4 callersFunctionrow_metadata
(row: object)
enterprise/litellm_enterprise/proxy/common_utils/managed_object_attribution.py:333
↓ 4 callersFunctionrp
(e,s)
litellm/proxy/_experimental/out/_next/static/chunks/2k-fkubkt19cc.js:74
↓ 4 callersFunctionrule_for
(section: Section, key: str)
litellm/proxy/config_resolvers/settings_rules.py:89
↓ 4 callersFunctionrun
Runs a contract against a fresh fake Qdrant. The sync cache methods block on the runtime, so the contract is polled on a blocking thread outside the r
litellm-rust/crates/cache-qdrant-semantic/tests/contract.rs:30
↓ 4 callersMethodrun
(self, prompt: str)
litellm/harness/sync.py:172
↓ 4 callersMethodrun
(self, call: Callable[[], Awaitable[_T]], client_key: str)
litellm/caching/redis_cluster_cache.py:90
↓ 4 callersMethodrun
(self)
litellm/router_rust/core.py:4165
↓ 4 callersMethodrun
(self, variant: str, provider: Provider, marker: str)
tests/integration/sdk/test_device_code_login_guard_sdk.py:145
↓ 4 callersFunctionrun_async
( py: Python<'_>, future: F, map_error: fn(E) -> PyErr, )
litellm-rust/crates/python-bridge/src/execution.rs:19
↓ 4 callersMethodrun_env_setup
(self, service_key: str | None = None)
litellm/llms/sap/chat/transformation.py:155
↓ 4 callersFunctionrun_passthrough_cell
Run the shared `passthrough` × <provider> cell body. `passthrough_base_path` is appended to the proxy base URL and becomes the CLI's ANTHROPI
tests/e2e/claude_code/_passthrough.py:126
↓ 4 callersFunctionrun_pkce_login
( base_url: str, http: Http, open_browser: Callable[[str], object] = webbrowser.open, echo: Ca
litellm/proxy/client/cli/commands/pkce_login.py:438
↓ 4 callersFunctionrun_server
( cli_args, host, port, api_base, api_version, model, alias, add_key, head
litellm/proxy/proxy_cli.py:1229
↓ 4 callersFunctionrun_strategies
( strategies: Sequence[Strategy], repo_root: Path, on_update: UpdateCallback, runner_args: Seq
tests/rust-python-harness/shared/reporting/orchestration.py:38
↓ 4 callersMethodrun_thread
( self, thread_id: str, assistant_id: str, additional_instructions: str | Non
litellm/llms/openai/openai.py:3285
↓ 4 callersFunctionrunning
(pid: int)
tests/integration/sdk/test_local_sandbox_sdk.py:51
↓ 4 callersFunctionrv
(e,t,n,r)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersFunctions
(e,s=!1)
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 4 callersFunctions
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2bjw0usamfm54.js:4
↓ 4 callersFunctions
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/1kqcfeiw5h1ti.js:1
↓ 4 callersFunctions
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0lwp6btjdlmlz.js:1
↓ 4 callersFunctions
(e)
litellm/proxy/_experimental/out/_next/static/chunks/218jq7ygtsrfo.js:1
↓ 4 callersFunctions
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2mno6omnbsrll.js:1
↓ 4 callersFunctions
(e)
litellm/proxy/_experimental/out/_next/static/chunks/3cziaul2j05he.js:1
↓ 4 callersFunctions
({children:e,errorComponent:t,errorStyles:n,errorScripts:r})
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersFunctions
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2vx7-vp9_2q3a.js:1
↓ 4 callersFunctions8
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersFunctionsE
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersFunctionsK
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callersFunctionsL
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:2
↓ 4 callersFunctionsL
()
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersMethodsafe_get_team_member_rpm_limit
(self)
litellm/models/team_membership.py:20
↓ 4 callersFunctionsanitize
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callersFunctionsanitize
(message: str, secret_values: tuple[str | None, ...])
litellm/harness/endpoint.py:388
↓ 4 callersFunctionsanitize_cloud_object_component
(value: str | None, fallback: str = "file")
litellm/litellm_core_utils/cloud_storage_security.py:54
↓ 4 callersFunctionsanitized_forwardable_call_metadata
Just the caller's identity, stamped with the sub-call's origin. For sub-calls detached from the parent request (shadow eval), which outlive it an
litellm/litellm_core_utils/internal_call_metadata.py:242
↓ 4 callersMethodsave
(self, report_id: str, report: Report)
litellm/proxy/telemetry/store.py:119
↓ 4 callersMethodsave
(self, key: str, token: StoredToken)
litellm/llms/base_llm/auth/shared_token_store.py:126
↓ 4 callersFunctionsaveLinksToBackend
(updatedLinks: Link[])
ui/litellm-dashboard/src/components/AIHub/UsefulLinksManagement.tsx:89
↓ 4 callersMethodsave_environment_variables
Persist specific environment variables to the DB config row. Each key in ``updates`` is written to the ``environment_variables`` conf
litellm/proxy/proxy_server.py:6268
↓ 4 callersFunctionsave_fixture
( directory: Path, case_input: FixtureInput, case: BaseModel, interactions: tuple[RecordedInte
tests/rust-python-harness/shared/parity/fixtures/store.py:62
↓ 4 callersFunctionsb
()
litellm/proxy/_experimental/out/_next/static/chunks/3yrgf44a9g52e.js:1
↓ 4 callersFunctionsc
(e,t,n,r)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersFunctionscan_report
( client: httpx.AsyncClient, config: SkillScannerConfig, api_key: str, target: SkillScanInput )
litellm/proxy/discovery_endpoints/skill_scanning.py:45
↓ 4 callersFunctionscenario_rules
(entry: Entry, scenario: Scenario)
tests/test_litellm_rust/test_public_entries.py:215
← previousnext →21,301–21,400 of 202,479, ranked by callers