MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 4 callersFunctiona
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0csaxmztgrx3b.js:1
↓ 4 callersFunctiona
litellm/proxy/_experimental/out/_next/static/chunks/269vry4mb17-_.js:3
↓ 4 callersFunctiona
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1kqcfeiw5h1ti.js:1
↓ 4 callersFunctiona
litellm/proxy/_experimental/out/_next/static/chunks/3s77-_umb2pas.js:1
↓ 4 callersFunctiona
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0lwp6btjdlmlz.js:1
↓ 4 callersFunctiona
(e,r)
litellm/proxy/_experimental/out/_next/static/chunks/1r4pmyj4arh-g.js:1
↓ 4 callersFunctiona
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/06kch0qp21l9j.js:1
↓ 4 callersFunctiona
litellm/proxy/_experimental/out/_next/static/chunks/3fdnnq4o4q1qe.js:1
↓ 4 callersFunctionaI
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:29
↓ 4 callersFunctionaM
()
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersFunctionaO
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:29
↓ 4 callersFunctionaO
()
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersFunctionaR
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 4 callersMethoda_add_message
( self, thread_id: str, message_data: dict, api_key: str | None, api_b
litellm/llms/openai/openai.py:2696
↓ 4 callersMethodaborted
()
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:11
↓ 4 callersMethodacancel_fine_tuning_job
( self, fine_tuning_job_id: str, openai_client: AsyncOpenAI | AsyncAzureOpenAI, )
litellm/llms/openai/fine_tuning/handler.py:150
↓ 4 callersFunctionaccessGroupInfoJSON
(name string, modelNames []string, deploymentCount int)
terraform/provider/litellm/resource_access_group_test.go:18
↓ 4 callersFunctionaclose
()
tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py:840
↓ 4 callersMethodaclose
(self)
litellm/mcp_client/client.py:285
↓ 4 callersMethodaclose
(self)
litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:1068
↓ 4 callersMethodaclose
(self)
litellm/llms/anthropic/chat/handler.py:1528
↓ 4 callersMethodaclose
(self)
litellm/caching/redis_cluster_node_isolation.py:75
↓ 4 callersMethodaclose
(self)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:5701
↓ 4 callersMethodaclose
(self)
tests/unit/responses/litellm_completion_transformation/test_streaming_iterator_transformation.py:1019
↓ 4 callersFunctionacompletion
( model: str, messages: Sequence[AllMessageValues], api_key: str | None, litellm_params: Mappi
litellm/llms/microsoft_365_copilot/chat/handler.py:505
↓ 4 callersMethodacompletion
(self, *args: object, **kwargs: object)
litellm/router_rust/core.py:2574
↓ 4 callersMethodacquire
(self)
litellm/llms/custom_httpx/http2_connection_spread.py:17
↓ 4 callersMethodacquire
(&self)
litellm-rust/crates/auth-types/src/token.rs:51
↓ 4 callersFunctionacreate
Async: Create a managed agent on the provider side.
litellm/interactions/agents/main.py:210
↓ 4 callersMethodacreate_file
( self, create_file_data: CreateFileRequest, openai_client: AsyncOpenAI, )
litellm/llms/openai/openai.py:1823
↓ 4 callersFunctionacreate_skill
Async: Create a new skill Args: files: Files to upload for the skill. All files must be in the same top-level directory and must inc
litellm/skills/main.py:73
↓ 4 callersFunctionacredential_updates
(kwargs: Mapping[str, object], call_type: str | None = None)
litellm/utils.py:937
↓ 4 callersMethodactive
()
litellm/router_utils/routing_read_batch.py:71
↓ 4 callersMethodactive_cooldowns
The ids among `ids` with an unexpired cooldown (`async_get_active_cooldowns`).
litellm-rust/crates/router-core/src/health.rs:259
↓ 4 callersMethodactive_sync
(self, model_ids: Sequence[str])
litellm/redis/stores/router_cooldowns/__init__.py:34
↓ 4 callersMethodactive_sync
(self, model_ids: Sequence[str])
litellm/redis/stores/router_cooldowns/__init__.py:82
↓ 4 callersMethodactive_temp_budget_increase
(self, now: datetime)
litellm/models/budget.py:39
↓ 4 callersFunctionad
({session:e,target:t,loading:r,retry:a,open:s,close:i})
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:36
↓ 4 callersMethodadd
(self, chunk: bytes)
litellm/passthrough/main.py:69
↓ 4 callersMethodaddAll
(e,t,n,s)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callersMethodaddText
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 4 callersFunctionadd_cache_control_to_content
( anthropic_content_element: dict | AnthropicMessagesImageParam | AnthropicMessagesTextParam |
litellm/litellm_core_utils/prompt_templates/factory.py:2271
↓ 4 callersMethodadd_dynamic_callback
(self, callback: CustomLogger)
litellm/litellm_core_utils/litellm_logging.py:1003
↓ 4 callersMethodadd_headers_to_llm_call_by_model_group
Add headers to the LLM call by model group
litellm/proxy/litellm_pre_call_utils.py:1849
↓ 4 callersMethodadd_internal_user_from_user_mapping
( general_settings: Mapping[str, object] | None, user_api_key_dict: UserAPIKeyAuth, he
litellm/proxy/litellm_pre_call_utils.py:1763
↓ 4 callersFunctionadd_key_spend
( executor: impl PgExecutor<'_>, spend: &EntitySpend, )
litellm-rust/crates/db/src/spend/key_spend.rs:42
↓ 4 callersMethodadd_mcp_output_elements_to_response
Add custom output elements to the final response for MCP tool execution.
litellm/responses/mcp/litellm_proxy_mcp_handler.py:1392
↓ 4 callersFunctionadd_mcp_server
Allow users to add a new external mcp server.
litellm/proxy/management_endpoints/mcp_management_endpoints.py:2025
↓ 4 callersMethodadd_mcp_server
(self, name: str, server: McpServer)
tests/e2e/codex/harness.py:69
↓ 4 callersMethodadd_policy_to_db
Add a policy to the database. Args: policy_request: The policy creation request prisma_client: The Prisma cl
litellm/proxy/policy_engine/policy_registry.py:394
↓ 4 callersFunctionadd_provider_specific_fields
(object: BaseModel, provider_specific_fields: dict[str, Any] | None)
litellm/types/utils.py:1531
↓ 4 callersMethodadd_request_to_hanging_request_check
Add a request to the hanging request cache. This is the list of request_ids that gets periodicall checked for hanging requests
litellm/integrations/SlackAlerting/hanging_request_check.py:53
↓ 4 callersMethodadd_spend_log_transaction_to_daily_agent_transaction
( self, payload: SpendLogsPayload, prisma_client: PrismaClient | None = None, )
litellm/proxy/db/db_spend_update_writer.py:3297
↓ 4 callersMethodadd_spend_log_transaction_to_daily_user_transaction
Add a spend log transaction to the `daily_spend_update_queue` Key = @@unique([user_id, date, api_key, model, custom_llm_provider])
litellm/proxy/db/db_spend_update_writer.py:3181
↓ 4 callersMethodadd_streaming_response_to_cache
Internal method to add the streaming response to the cache - If 'streaming_chunk' has a 'finish_reason' then assemble a litellm.Mod
litellm/caching/caching_handler.py:1373
↓ 4 callersMethodadd_team_based_callbacks_from_config
Add team-based callbacks from the config
litellm/proxy/litellm_pre_call_utils.py:2318
↓ 4 callersMethodadd_update
Enqueue an update to the spend update queue
litellm/proxy/db/db_transaction_queue/spend_update_queue.py:41
↓ 4 callersMethodadd_update
Enqueue an update.
litellm/proxy/db/db_transaction_queue/daily_spend_update_queue.py:72
↓ 4 callersMethodadd_usage
`_increment_deployment_usage`, for a deployment that tracks usage: tokens and requests under `model` (metadata's `deployment`, which a wildcard route
litellm-rust/crates/router-core/src/health.rs:573
↓ 4 callersMethodadecisions
( self, model: str, custom_llm_provider: str, logging_obj: LiteLLMLoggingObj |
litellm/llms/custom_httpx/llm_http_handler.py:1829
↓ 4 callersFunctionadelete_skill
Async: Delete a skill by ID Args: skill_id: The ID of the skill to delete extra_headers: Additional headers for the request
litellm/skills/main.py:613
↓ 4 callersFunctionadmission_counter_keys
(token: UserAPIKeyAuth, end_user_id: str | None)
litellm/proxy/spend_tracking/spend_counter_batch.py:212
↓ 4 callersMethodadmitted_source_grants
``(source, the servers that source grants)`` for every source of an admitted subject. THE owner of "which source reaches which server". The r
litellm/proxy/mcp_server/auth/user_api_key_auth_mcp.py:2443
↓ 4 callersMethodadopt
(self)
tests/unit/proxy/test_common_request_processing.py:11923
↓ 4 callersFunctionadoptTestData
(t *testing.T, adoptExisting bool)
terraform/provider/litellm/resource_credential_crud_test.go:273
↓ 4 callersMethodadvance
(self, seconds: float)
tests/unit/proxy/test_spend_log_cleanup.py:45
↓ 4 callersMethodadvance
(self, seconds: float)
tests/unit/llms/custom_httpx/test_http_handler.py:2469
↓ 4 callersMethodaembedding
( self, model: str, input: list, model_response: EmbeddingResponse, pr
litellm/llms/custom_llm.py:175
↓ 4 callersMethodaembedding
(self, input: List[str], model: str, **kwargs: Any)
tests/unit/router_strategy/test_auto_router.py:370
↓ 4 callersFunctionage_freshness
(result: _Cacheable, elapsed: float)
litellm/proxy/mcp_server/result_conversion.py:137
↓ 4 callersFunctionagentReadResponseBody
()
terraform/provider/litellm/resource_agent_test.go:25
↓ 4 callersFunctionagent_completion_kwargs
The agent's litellm_params that are valid litellm.acompletion kwargs (api_key, api_base, ...).
litellm/a2a_protocol/litellm_completion_bridge/handler.py:64
↓ 4 callersFunctionagent_display_names
agent_id -> agent_name. The registry covers config-declared agents and their legacy ids.
litellm/proxy/management_helpers/resource_display_names.py:34
↓ 4 callersFunctionagentcore_runtime
(api_base: str)
litellm/llms/strands_decider/decisions/transformation.py:46
↓ 4 callersFunctionagentic_followup_failure
``error`` as an agentic follow-up raises it, after the first call was served.
tests/unit/test_router/core/scripted_host.py:141
↓ 4 callersFunctionagentic_hooks
(recorder: RecordingLogger)
tests/test_litellm_rust/support/body_hooks.py:6
↓ 4 callersFunctionaggregate_freshness
(results: Sequence[CacheableResult])
litellm/proxy/mcp_server/result_conversion.py:141
↓ 4 callersFunctionaggregated_date_range_error
The aggregated endpoint has no pagination to bound its work, so malformed dates and ranges wider than the UI ever requests are rejected before que
litellm/proxy/management_endpoints/team_endpoints.py:7491
↓ 4 callersMethodallow_team_model_action
( model_params: Deployment | updateDeployment, user_api_key_dict: UserAPIKeyAuth, pris
litellm/proxy/management_endpoints/model_management_endpoints.py:2734
↓ 4 callersFunctionallowedTools
(limits: ToolLimits, server: string, tools: readonly string[])
ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat/playgroundSettings.ts:173
↓ 4 callersMethodallowed_exactly
(self, count: int)
tests/integration/management/test_batch_file_usage_caps_chaos.py:155
↓ 4 callersMethodallows
(self, skill: _SkillRecord)
litellm/proxy/anthropic_endpoints/claude_code_endpoints/claude_code_skill_access.py:69
↓ 4 callersMethodallowsMarks
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4 callersFunctionaload_beta_headers_config
()
litellm/anthropic_beta_headers_manager.py:209
↓ 4 callersFunctionamessages_binding
(native: NativeAmessages | None)
tests/test_litellm_rust/messages/test_dispatch.py:37
↓ 4 callersFunctionamount_value
An increment amount as Python's counters store it: an int when it is whole.
litellm-rust/crates/python-bridge/src/router/host.rs:545
↓ 4 callersFunctionanswer_text
(response: httpx.Response, stream: bool)
tests/integration/providers/_tool_search_support.py:301
↓ 4 callersFunctionanswered
(endpoint: Endpoint, response: httpx.Response, text: str)
tests/integration/providers/test_vertex_credentials_source_wire.py:141
↓ 4 callersFunctionanswered
(response: httpx.Response)
tests/integration/providers/test_gemini_chat_video_metadata_wire.py:87
↓ 4 callersMethodanswered
(self)
tests/integration/caching/test_response_cache_chaos.py:246
↓ 4 callersFunctionanthropic_count_fields
( model: str, messages: Sequence[Mapping[str, object]], system: object, tools: Sequence[Mappin
litellm/llms/anthropic/count_tokens/transformation.py:339
↓ 4 callersFunctionanthropic_error_frame_exception
The exception the pre-stream mapping raises for an HTTP answer carrying this frame's body and status, so a retry policy's per-class budget governs
litellm/llms/anthropic/common_utils.py:122
↓ 4 callersFunctionanthropic_message
(identity: str, content: Sequence[Event], stop_reason: str | None)
tests/integration/providers/_tool_search_support.py:90
↓ 4 callersMethodanthropic_message
( self, key: str, model: str, text: str, *, max_tokens: int =
tests/e2e/llm_translation/passthrough_client.py:303
↓ 4 callersMethodanthropic_messages_to_responses_input
Convert with the adapter /v1/messages inference uses, so the count sees the same input it bills.
litellm/llms/openai/responses/count_tokens/transformation.py:340
↓ 4 callersMethodanthropic_passthrough_handler
Transforms Anthropic response to OpenAI response, generates a standard logging object so downstream logging can be handled
litellm/proxy/pass_through_endpoints/llm_provider_handlers/anthropic_passthrough_logging_handler.py:108
↓ 4 callersFunctionanthropic_server_call_fields
(holder: object)
litellm/llms/anthropic/common_utils.py:2337
↓ 4 callersFunctionanthropic_stop_reason
(message_or_delta: object)
litellm/llms/anthropic/messages/native/utils.py:165
↓ 4 callersFunctionany_stream
()
tests/unit/proxy/common_utils/test_sse_keepalive.py:125
↓ 4 callersFunctionao
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
← previousnext →19,501–19,600 of 202,479, ranked by callers