MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 5 callersMethodlist_agents
(self, scope: TraceScope, start_ms: int, end_ms: int)
litellm/tracing/receiver.py:18
↓ 5 callersMethodlist_ids
Return the template IDs (relative to prompts_path, without extension) currently cached.
litellm/integrations/gitlab/gitlab_prompt_manager.py:727
↓ 5 callersMethodlist_page
(self, request: "CatalogListRequest")
litellm/mcp_client/client.py:1028
↓ 5 callersMethodlist_prompts
(self, *, raise_on_error: bool = False)
litellm/mcp_client/client.py:1314
↓ 5 callersMethodlist_requests
(self)
tests/integration/management/test_vector_store_file_list_managed_ids.py:413
↓ 5 callersFunctionlist_tool_rest_api
List all available tools with information about the server they belong to. Example response: { "tools": [
litellm/proxy/mcp_server/rest_endpoints.py:1005
↓ 5 callersFunctionlist_tools
Return all tools, optionally filtered by input_policy, each with the user owning the key that discovered it.
litellm/proxy/db/tool_registry_writer.py:250
↓ 5 callersFunctionlist_user_oauth_credentials
Return all OAuth2 credential payloads for a user, tagged with server_id.
litellm/proxy/mcp_server/db.py:1934
↓ 5 callersMethodlist_user_resources
List resources created by a user. Args: user_api_key_dict: User API key authentication details limit: Maximu
litellm/llms/base_llm/managed_resources/base_managed_resource.py:547
↓ 5 callersMethodlist_users_as
GET /user/list under `key`. Admin-only, so it doubles as the master key's authorization proof: the master key (proxy admin) reads it, a
tests/e2e/other/other_client.py:163
↓ 5 callersFunctionlisted_rows
(response: httpx.Response)
tests/integration/management/test_vector_store_config_ownership.py:26
↓ 5 callersFunctionlistings
(requests: tuple[ControlPlaneRequest, ...])
tests/integration/_support/bedrock_discovery.py:234
↓ 5 callersFunctionlitellm_exception_mapper
(call_details: Mapping[str, object])
litellm/litellm_core_utils/audio_utils/transcription_streaming.py:47
↓ 5 callersFunctionlitellm_to_list
Convert a LiteLLM embedding response to a list of embeddings. :param embeds: The LiteLLM embedding response. :return: A list of embeddings.
litellm/router_strategy/auto_router/litellm_encoder.py:17
↓ 5 callersMethodlive
(&self)
litellm-rust/crates/router-core/src/lib.rs:335
↓ 5 callersFunctionloadAgents
()
ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.tsx:505
↓ 5 callersMethodload_cassette
(cassette_path, serializer)
tests/_vcr_redis_persister.py:148
↓ 5 callersFunctionload_cli_token_left_in_keychain
The login an earlier logout could not erase from the keychain, once the keychain answers again. The token file went with that logout, so its note
litellm/litellm_core_utils/cli_token_utils.py:322
↓ 5 callersFunctionload_fixture
(directory: Path, case_input: FixtureInput, case_type: type[CaseT])
tests/rust-python-harness/shared/parity/fixtures/store.py:52
↓ 5 callersFunctionload_json
(raw: bytes | str)
litellm/proxy/client/cli/commands/statusline_script.py:129
↓ 5 callersFunctionload_kimi_k3_encoding
(source: KimiK3TokenizerSource)
litellm/llms/bedrock/count_tokens/kimi_k3.py:100
↓ 5 callersFunctionload_model_insight_tasks
()
litellm/proxy/db/model_insights_tasks.py:18
↓ 5 callersMethodload_prompt_from_gitlab
Load a specific .prompt file from GitLab (scoped under prompts_path if set).
litellm/integrations/gitlab/gitlab_prompt_manager.py:149
↓ 5 callersMethodlocalPosFromDOM
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 5 callersFunctionlocal_model_name
The id the provider itself knows, for reporting back to the caller in ``message_start``.
litellm/llms/anthropic/messages/utils.py:182
↓ 5 callersMethodlock
(&mut self)
litellm-rust/crates/storage-clickhouse/src/migrate.rs:245
↓ 5 callersMethodlog_event
(self, kwargs, response_obj, start_time, end_time, print_verbose)
litellm/integrations/s3.py:229
↓ 5 callersMethodlog_event
( self, kwargs: dict[str, object], response_obj: object, start
tests/unit/litellm_core_utils/test_litellm_logging.py:9147
↓ 5 callersFunctionlog_failed_hop
(error: Exception | str)
litellm/llms/vertex_ai/gemini/long_decode.py:354
↓ 5 callersMethodlog_in
(self, record, key)
tests/unit/proxy/client/cli/test_up_commands.py:278
↓ 5 callersMethodlog_messages
Log messages in list
litellm/litellm_core_utils/realtime_streaming.py:827
↓ 5 callersFunctionlogged_cost
(recorder: CostRecorder)
tests/unit/llms/opencode/chat/test_transformation.py:594
↓ 5 callersMethodlogging_non_streaming_response
( self, model: str, custom_llm_provider: str, httpx_response: Response,
litellm/llms/gigachat/passthrough/transformation.py:75
↓ 5 callersFunctionlogin_exchange_servers
Every server the exchange has to consider: the config-declared ones plus the approved ID-JAG rows in the DB, built the same way the catalog builds
litellm/proxy/mcp_server/outbound_credentials/login_assertion_exchange.py:87
↓ 5 callersFunctionlookupIn
(source: readonly Note[])
ui/litellm-dashboard/src/components/shared/search/suggestions.test.ts:19
↓ 5 callersFunctionlookup_consent_teams
(user_id: str)
litellm/proxy/mcp_server/proxy_api_credentials.py:27
↓ 5 callersFunctionlu
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 5 callersFunctionm
({step:e,title:t,children:r})
litellm/proxy/_experimental/out/_next/static/chunks/2k-fkubkt19cc.js:26
↓ 5 callersFunctionm
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 5 callersFunctionma
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 5 callersFunctionmain
(argv: tuple[str, ...] | list[str])
tests/integration/_support/routing.py:307
↓ 5 callersFunctionmakeList
(s,o,i,a,u,_,w)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 5 callersFunctionmake_call
( client: AsyncHTTPHandler, api_base: str, headers: dict, data: str, model: str, messa
litellm/llms/predibase/chat/handler.py:23
↓ 5 callersMethodmake_call
``make_call``: call the endpoint, count its usage and stamp the response's headers. A failed call hands back the io tokens it reserved.
litellm/router_rust/surface/legacy_members.py:400
↓ 5 callersFunctionmake_keycloak
( token_url: str = TOKEN_URL, client_id: str = CLIENT_ID, client_secret_ref: str = CLIENT_SECRET_R
tests/unit/llms/base_llm/auth/test_identity_source.py:35
↓ 5 callersFunctionmake_logger_with_all_metrics_enabled
()
tests/unit/integrations/test_prometheus_budget_metric_guard.py:52
↓ 5 callersFunctionmake_metrics_asgi_app
(registry: CollectorRegistry)
litellm/integrations/prometheus_metrics_endpoint.py:82
↓ 5 callersMethodmake_zscaler_ai_guard_api_call
Makes an API call to the Zscaler AI Guard service and handles retries, errors, and response parsing.
litellm/proxy/guardrails/guardrail_hooks/zscaler_ai_guard/zscaler_ai_guard.py:403
↓ 5 callersFunctionmalformed_tool_result_text_error
(messages: Iterable[object])
litellm/llms/anthropic/messages/convertible_blocks.py:197
↓ 5 callersFunctionmanaged_agent_route_allowed
(route: str, method: str | None)
litellm/proxy/agent_endpoints/auth/managed_authorization.py:96
↓ 5 callersFunctionmap
(value: Value)
litellm-rust/crates/inference-messages/src/common_utils.rs:173
↓ 5 callersMethodmap_audio_params
( self, value: dict[str, object], # mutable-ok: mirrors override contract )
litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py:1813
↓ 5 callersFunctionmap_developer_role_to_system_role
Translate `developer` role to `system` role for non-OpenAI providers.
litellm/llms/base_llm/base_utils.py:521
↓ 5 callersMethodmap_openai_params
( self, non_default_params: dict, optional_params: dict, model: str, d
litellm/llms/soniox/audio_transcription/transformation.py:222
↓ 5 callersFunctionmap_stream_error_to_exception
( error_obj: object, model: str, custom_llm_provider: str, headers: httpx.Headers | None = Non
litellm/responses/streaming_iterator.py:317
↓ 5 callersMethodmap_tool_choice_values
( self, model: str, tool_choice: object, drop_params: bool )
litellm/llms/bedrock/chat/converse_transformation.py:786
↓ 5 callersFunctionmapped
(provider: &str, original: &OriginalException)
litellm-rust/crates/core-utils/src/exception_mapping_utils/mod.rs:286
↓ 5 callersFunctionmapping
(status: Option<u16>, text: &str)
litellm-rust/crates/core-utils/src/exception_mapping_utils/mod.rs:240
↓ 5 callersFunctionmark_worker_exit
Remove prometheus .db files for a dead worker. Called by gunicorn child_exit hook.
litellm/proxy/prometheus_cleanup.py:45
↓ 5 callersFunctionmarked
(text: str, mark: JsonValue | None)
tests/integration/routing/_prompt_cache_pin_support.py:54
↓ 5 callersFunctionmarker
(text: str)
tests/integration/providers/_sagemaker_chat_container.py:135
↓ 5 callersFunctionmarker_of
(request: Request)
tests/integration/streaming/test_mid_stream_fallback_continuation.py:118
↓ 5 callersFunctionmarketplace_auth_required
()
litellm/proxy/common_utils/claude_code_marketplace_auth.py:23
↓ 5 callersFunctionmask_api_base_credentials
(api_base: str)
litellm/litellm_core_utils/litellm_logging.py:619
↓ 5 callersFunctionmatch_known_tool_name
Return the entry of ``names`` that denotes ``tool_name`` on ``server``, else ``None``. The single question every tool-name-keyed site asks: the a
litellm/proxy/mcp_server/utils.py:422
↓ 5 callersFunctionmatch_profile
()
tests/e2e/fixture_profile.py:62
↓ 5 callersMethodmatches
(self, path: str)
litellm/proxy/_lazy_features.py:73
↓ 5 callersMethodmatches_pattern
Check if a value matches any of the given patterns. Uses the existing RouteChecks.route_matches_wildcard_pattern helper. Ar
litellm/proxy/policy_engine/policy_matcher.py:31
↓ 5 callersFunctionmedia_predates_job
(headers: Mapping[str, str], job_created_at: float)
litellm/proxy/pass_through_endpoints/llm_provider_handlers/transcribe_passthrough_logging_handler.py:505
↓ 5 callersFunctionmerge_a2a_session_into_litellm_params
( litellm_params: Mapping[str, object], params: Mapping[str, object], principal: str | None = None
litellm/llms/langflow/a2a.py:10
↓ 5 callersFunctionmerge_user_env_vars
Merge ``updates`` into the user's stored env vars for ``server_id`` and return the resulting set. The read-modify-write runs inside a transac
litellm/proxy/mcp_server/db.py:2486
↓ 5 callersFunctionmerged_codex_catalog
( upstream_body: bytes, rows: Sequence[CodexCatalogRow], *, stock: Mapping[str, CodexStockMode
litellm/proxy/common_utils/codex_model_catalog.py:552
↓ 5 callersFunctionmessage_response
()
litellm-rust/crates/inference-messages/tests/bedrock_native/main.rs:58
↓ 5 callersFunctionmessages_reach_token_count
Whether ``messages`` plus ``tools`` hold at least ``threshold`` prompt tokens for ``model``. Same arithmetic as ``token_counter(messages=..., too
litellm/litellm_core_utils/token_counter.py:964
↓ 5 callersFunctionmessages_structure
(body: Mapping[str, JsonValue])
tests/integration/translation/response_contracts.py:245
↓ 5 callersMethodmethodRequest
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:14
↓ 5 callersMethodmethodRequest
(e,t,s)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:29
↓ 5 callersFunctionmetricValue
(row: Usage, metric: Metric)
ui/litellm-dashboard/src/app/(dashboard)/model-insights/_components/modelInsightsData.ts:32
↓ 5 callersFunctionmigrate_if_requested
( *, environ: Mapping[str, str], master_key: str | None, connected_database: Callable[[], Supp
litellm/proxy/db/master_key_migration.py:185
↓ 5 callersFunctionmigrationHref
(model?: string)
ui/litellm-dashboard/src/components/ModelDeprecationAlerts/migrationRoute.ts:11
↓ 5 callersMethodmint_caller
(self, idp: Keycloak)
tests/e2e/management/jwt_actors.py:58
↓ 5 callersMethodminus
(self, earlier: HistogramTotals)
tests/e2e/perf/setup/telemetry.py:37
↓ 5 callersMethodmisses
(&self, client: &RedisClient)
litellm-rust/crates/redis-store/src/request.rs:88
↓ 5 callersMethodmissing
(&'static self, provider: &'static str)
litellm-rust/crates/auth-types/src/params/mod.rs:40
↓ 5 callersMethodmock_completion
(*args, **kwargs)
tests/unit/llms/ollama/test_ollama_model_info.py:596
↓ 5 callersMethodmock_models
()
tests/unit/llms/openai/test_openai_workload_identity.py:911
↓ 5 callersFunctionmock_proxy_logging_ctx
Return the proxy-logging context manager factory for use as `with ctx():`.
tests/unit/enterprise/proxy/guardrails/conftest.py:40
↓ 5 callersFunctionmodeIncludesLoggingOnly
(raw: unknown)
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_info_helpers.tsx:196
↓ 5 callersFunctionmodelDeleteCall
(accessToken: string, model_id: string)
ui/litellm-dashboard/src/components/networking.tsx:766
↓ 5 callersMethodmodel_dump
(self, **kwargs)
litellm/types/proxy/management_endpoints/scim_v2.py:251
↓ 5 callersMethodmodel_dump
(self)
litellm/litellm_core_utils/prompt_templates/factory.py:6575
↓ 5 callersMethodmodel_dump
(self)
litellm/repositories/base_repository.py:20
↓ 5 callersFunctionmodel_list
()
tests/integration/streaming/test_mid_stream_fallback_continuation.py:126
↓ 5 callersFunctionn
()
litellm/proxy/_experimental/out/_next/static/chunks/1d5pm_8gbmvlm.js:1
↓ 5 callersFunctionn
(e,r,n,i)
litellm/proxy/_experimental/out/_next/static/chunks/218jq7ygtsrfo.js:1
↓ 5 callersFunctionn
litellm/proxy/_experimental/out/_next/static/chunks/2fy3rfrh_1i4o.js:1
↓ 5 callersFunctionn
litellm/proxy/_experimental/out/_next/static/chunks/turbopack-14j5un148_i39.js:1
↓ 5 callersFunctionn3
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 5 callersFunctionnI
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 5 callersFunctionna
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
← previousnext →16,201–16,300 of 202,479, ranked by callers