MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 3 callersFunction_resolve
(repo: Path, *args: str)
tests/unit/test_default_branch.py:54
↓ 3 callersFunction_resolve
(custom_llm_provider, litellm_params, optional_params, model)
tests/unit/litellm_core_utils/test_litellm_logging.py:9313
↓ 3 callersMethod_resolve
(self, row, include)
tests/unit/proxy/management_endpoints/test_access_group_management.py:658
↓ 3 callersMethod_resolve_api_key
(self, api_key: str | None)
litellm/llms/dashscope/qwencloud.py:77
↓ 3 callersFunction_resolve_base
()
tests/fake_openai_endpoint.py:41
↓ 3 callersMethod_resolve_bearer_token
(api_key: str | None)
litellm/llms/bedrock_mantle/common_utils.py:66
↓ 3 callersFunction_resolve_existing_member_user_ids
Return the caller-supplied user_ids that already have a user row. Resolved with a single query so the number of members in the request does n
litellm/proxy/management_endpoints/team_endpoints.py:3490
↓ 3 callersFunction_resolve_mantle_region_for_cost
( custom_llm_provider: str | None, litellm_params: Mapping[str, object] | None, )
litellm/litellm_core_utils/litellm_logging.py:590
↓ 3 callersFunction_resolve_mcp_csv_tokens
Validate a comma-separated ``/{name1,name2,...}/mcp`` segment. For each token, check (in order) whether it is a registered MCP server alias /
litellm/proxy/proxy_server.py:22791
↓ 3 callersMethod_resolve_metadata_value
(cls, request_data: Mapping[str, object], key: str)
litellm/proxy/guardrails/guardrail_hooks/singulr/singulr.py:127
↓ 3 callersFunction_resolve_model_id_with_router
(model_id: str | None, llm_router: Router | None)
litellm/proxy/auth/auth_utils.py:2270
↓ 3 callersFunction_resolve_oidc_file_path
Resolve ``requested_path`` and verify it falls within one of the allowed credential directories. Raises ``ValueError`` otherwise.
litellm/secret_managers/main.py:87
↓ 3 callersFunction_resolve_oidc_reference
(credential: str | None)
litellm/proxy/pass_through_endpoints/passthrough_endpoint_router.py:61
↓ 3 callersFunction_resolve_persisted_dcr_client
Resolve a server's persisted DCR client using the same two-level rule the write path uses, so read and write always agree. First, whether the serv
litellm/proxy/mcp_server/discoverable_endpoints.py:1727
↓ 3 callersMethod_resolve_plan_mode_floor
The configured floor as an active tier: the built-in enum member, or the defined name itself for a custom tier set; None when the feature is o
litellm/router_strategy/complexity_router/complexity_router.py:3446
↓ 3 callersFunction_resolve_positive_int
(setting: str, configured: object, fallback: int, *, reject_bool: bool)
litellm/integrations/s3.py:54
↓ 3 callersMethod_resolve_reconciled_usage
The prompt, completion, and cache-read token counts a response reports, else None when it reports no usage at all. Cache-read tokens stay insi
litellm/proxy/hooks/parallel_request_limiter_v3.py:4346
↓ 3 callersFunction_resolve_spend_report_scope
Return the scope value the caller may query spend for. Non-admin callers are clamped to their own identity: a ``requested`` value that differ
litellm/proxy/spend_tracking/spend_management_endpoints.py:1878
↓ 3 callersMethod_resolve_sts_region
STS signing region: parsed from aws_sts_endpoint, else AWS_REGION / AWS_DEFAULT_REGION, else the configured aws_region_name.
litellm/llms/bedrock/base_aws_llm.py:791
↓ 3 callersFunction_resolve_team_callback_wiring
Resolve key/team dynamic logging callbacks for a passthrough request. Mirrors add_litellm_data_to_request: callback_vars are unpacked top-level
litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:989
↓ 3 callersFunction_resolve_transition
(current_status: str, requested: BatchStatus)
litellm/proxy/batches_endpoints/litellm_executed_batches.py:387
↓ 3 callersFunction_resolve_usage_window
(start_date: str | None, end_date: str | None)
litellm/proxy/guardrails/usage_endpoints.py:55
↓ 3 callersFunction_resolve_user_email_metadata
Map each user_id on the page to its email/alias so the Usage dashboard can label the 'Spend Per User' chart with the email instead of the raw UUID
litellm/proxy/management_endpoints/internal_user_endpoints.py:2953
↓ 3 callersFunction_resolve_vertex_access_token_bounded
( credentials: VERTEX_CREDENTIALS_TYPES | None, project_id: str | None, resolver: VertexAccessToke
litellm/realtime_api/main.py:698
↓ 3 callersMethod_resolved
(self, calls)
tests/unit/litellm_proxy_extras/test_litellm_proxy_extras_utils.py:699
↓ 3 callersFunction_resolved_secret_value
Resolve ``os.environ/<VAR>`` references the way guardrail api_key/api_base are resolved; any other value passes through unchanged. A reference tha
litellm/proxy/guardrails/guardrail_hooks/azure/prompt_shield.py:56
↓ 3 callersFunction_resolved_vertex_live_setup
Give the model extractor the same fully qualified path the upstream will receive. Clients may name a bare gateway alias, which the rewriter
litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:2581
↓ 3 callersFunction_respond
(provider: Provider, stream: bool)
tests/integration/providers/test_google_genai_proxy_sdk_wire.py:101
↓ 3 callersFunction_respond
(rig: _StoredRig, body: Mapping[str, JsonValue])
tests/integration/providers/test_responses_bridge_message_cache_control_wire_chaos.py:427
↓ 3 callersFunction_respond
(status: int)
tests/integration/sdk/test_google_genai_adapter_stream_usage_sdk.py:67
↓ 3 callersFunction_respond
(attempts: Attempts, release: threading.Event)
tests/integration/routing/test_ptu_shares.py:171
↓ 3 callersFunction_responder
(outage: threading.Event)
tests/integration/authorization/test_rag_team_provider_credentials.py:505
↓ 3 callersFunction_response
(request: Request, submission: SkillSubmission)
litellm/proxy/discovery_endpoints/skill_hub_submissions.py:43
↓ 3 callersFunction_response
(ticks: int = 123456789)
tests/unit/llms/xai/search/test_transformation.py:17
↓ 3 callersFunction_response
(content: str)
tests/unit/router_strategy/test_llm_v2.py:64
↓ 3 callersFunction_response
(applied: str, status: int = 200)
tests/e2e_harness/guardrails/test_guardrails_client.py:22
↓ 3 callersMethod_response
()
tests/unit/proxy/guardrails/guardrail_hooks/test_panw_prisma_airs.py:5936
↓ 3 callersFunction_response_body
(status: str)
tests/integration/spend/test_background_response_poll_retirement.py:33
↓ 3 callersFunction_response_choice_index
(response_obj: Mapping[str, object])
litellm/litellm_core_utils/streaming_handler.py:176
↓ 3 callersFunction_response_cost
(response: ResponsesAPIResponse)
tests/unit/responses/test_responses_api_request_body.py:1334
↓ 3 callersFunction_response_cost_header_value
(hidden_params: Mapping[str, object])
litellm/proxy/common_request_processing.py:2048
↓ 3 callersMethod_response_done_events
( self, current_response_id: str | None, current_conversation_id: str | None, )
litellm/llms/bedrock/realtime/transformation.py:1365
↓ 3 callersFunction_response_error_detail
(response: requests.Response)
litellm/proxy/client/cli/commands/auth.py:536
↓ 3 callersFunction_response_for
(prisma_client: PrismaClient, record: _AccessGroupRecord)
litellm/proxy/management_endpoints/access_group_endpoints.py:273
↓ 3 callersMethod_response_handed_back_after
(logging_obj: LitellmLogging, seconds: float)
tests/unit/litellm_core_utils/test_litellm_logging.py:1193
↓ 3 callersFunction_response_id
(marker: str)
tests/integration/providers/test_gemini_tool_result_part_reference_chaos.py:76
↓ 3 callersFunction_response_id_for_remaining_deployment
()
tests/unit/router_strategy/test_router_tag_routing.py:1833
↓ 3 callersFunction_response_ids
(events)
tests/unit/responses/litellm_completion_transformation/test_streaming_iterator_transformation.py:95
↓ 3 callersFunction_response_string
(response_data: Mapping[str, object], key: str, default: str = "")
litellm/llms/fal_ai/videos/transformation.py:251
↓ 3 callersFunction_response_text_parts
(response: object)
litellm/llms/gemini/google_genai/guardrail_translation/handler.py:90
↓ 3 callersFunction_response_tool_calls
(identity: str, cities: Sequence[str] = ("Paris",))
tests/integration/observability/_openinference_support.py:1166
↓ 3 callersFunction_response_with_reasoning_and_tool_call
A first-turn response as a reasoning model returns it: reasoning item, then a function call.
tests/unit/responses/mcp/test_litellm_proxy_mcp_handler.py:1291
↓ 3 callersFunction_responses
(model: str, prompt: str, stream: bool = False)
tests/integration/providers/test_bedrock_mantle_context_overflow_wire.py:191
↓ 3 callersFunction_responses_api_response
(status: str, usage: Mapping[str, int] | None)
tests/unit/interactions/test_litellm_responses_bridge.py:90
↓ 3 callersFunction_responses_body
(model: str, marker: str)
tests/integration/providers/test_vertex_anthropic_structured_output_wire.py:673
↓ 3 callersFunction_responses_event_type
(chunk: Mapping[str, object])
litellm/completion_extras/litellm_responses_transformation/transformation.py:708
↓ 3 callersFunction_responses_file_part
(item: Mapping[str, object])
litellm/responses/litellm_completion_transformation/transformation.py:334
↓ 3 callersFunction_responses_followup_model
(model: str, custom_llm_provider: str, logging_obj: Logging | None)
tests/unit/integrations/websearch_interception/test_websearch_responses.py:276
↓ 3 callersFunction_responses_frames
(gateway: Gateway, stream: tuple[bytes, ...])
tests/integration/streaming/test_responses_top_level_error_events.py:254
↓ 3 callersFunction_responses_frames
(chunks: Iterable[object])
tests/unit/proxy/proxy_server/test_streaming_helpers.py:204
↓ 3 callersFunction_responses_identities
(client_id: str)
tests/integration/spend/test_vertex_regional_uplift_spend.py:181
↓ 3 callersFunction_responses_image_part
(item: Mapping[str, object])
litellm/responses/litellm_completion_transformation/transformation.py:305
↓ 3 callersFunction_responses_payload
(response_id: str, output: list)
tests/unit/test_tool_loop.py:278
↓ 3 callersFunction_responses_payload
()
tests/unit/llms/github_copilot/test_per_user_auth.py:727
↓ 3 callersFunction_responses_peer
(identity: str, model: str, text: str)
tests/integration/translation/chat_completions/basic/test_chat_completions_openai_search_replay.py:22
↓ 3 callersFunction_responses_reply
(request: Request, *, reject_breakpoints: bool = False)
tests/integration/providers/_responses_bridge_prompt_cache_breakpoint.py:98
↓ 3 callersFunction_responses_request
(model: str, text: str, *, stream: bool, cached: bool)
tests/integration/providers/test_anthropic_refusal_stop_details_wire.py:421
↓ 3 callersFunction_responses_result
(gateway: Gateway, model: str, *, stream: bool)
tests/integration/providers/test_anthropic_context_window_stop_wire.py:144
↓ 3 callersFunction_responses_retrieve_tool_definition
()
tests/unit/proxy/guardrails/guardrail_hooks/test_headroom.py:2190
↓ 3 callersFunction_responses_sse
(response_body: Mapping[str, object])
tests/unit/completion_extras/litellm_responses_transformation/test_completion_extras_litellm_responses_transformation_transformation.py:297
↓ 3 callersMethod_responses_status_for_choice
(choice: Choices)
litellm/responses/litellm_completion_transformation/transformation.py:3300
↓ 3 callersFunction_responses_stream
(end: bool)
tests/unit/proxy/guardrails/guardrail_hooks/unified_guardrails/test_openai_streaming_block.py:86
↓ 3 callersFunction_responses_stream_logging_obj
()
tests/unit/litellm_core_utils/test_litellm_logging.py:11167
↓ 3 callersFunction_responses_tool
(name: str, schema: Mapping[str, JsonValue])
tests/integration/providers/test_bedrock_converse_lookaround_regex_wire.py:157
↓ 3 callersFunction_responses_ws_failure_frame
(failure: Exception)
litellm/proxy/response_api_endpoints/endpoints.py:2104
↓ 3 callersFunction_responses_ws_logging_obj
(model: str = "gpt-4o")
tests/unit/litellm_core_utils/test_litellm_logging.py:10022
↓ 3 callersFunction_rest_list
(gateway: Gateway, headers: dict[str, str], params: object)
tests/integration/mcp/test_mcp_toolsets.py:250
↓ 3 callersFunction_restricted_key
(key_models: list[str])
tests/unit/proxy/openai_files_endpoint/test_files_endpoint.py:5924
↓ 3 callersFunction_resubscribe_response
()
tests/unit/proxy/agent_endpoints/test_a2a_endpoints.py:2868
↓ 3 callersFunction_result_contents
(messages: list[dict[str, object]])
tests/unit/llms/anthropic/messages/context_management/test_clear_tool_uses.py:326
↓ 3 callersFunction_result_error
(raw_response: httpx.Response)
litellm/llms/fal_ai/videos/transformation.py:230
↓ 3 callersFunction_results
(futures: tuple[Future[_Outcome], ...])
tests/integration/authorization/test_responses_compact_id_ownership_chaos.py:102
↓ 3 callersFunction_resync_agents
(agent_id_or_name: str)
litellm/proxy/common_utils/registry_read_through.py:268
↓ 3 callersMethod_retained_assertion
The one signed ``<saml:Assertion>`` the validated response carried, serialized on its own so its enveloped signature still verifies at the IdP
litellm/proxy/management_endpoints/sso/saml_sso.py:343
↓ 3 callersFunction_retained_bytes
(encoded: str)
tests/unit/proxy/management_endpoints/test_saml_sso.py:274
↓ 3 callersMethod_retrieve_original
Stored original for a marker hash, or None if not issued for this request (unknown, expired, or from another caller's scope).
litellm/proxy/guardrails/guardrail_hooks/compresr/compresr.py:695
↓ 3 callersFunction_retrieve_tool_definition
()
tests/unit/proxy/guardrails/guardrail_hooks/test_headroom.py:2144
↓ 3 callersFunction_retry_gate_server
(auth_type: MCPAuthType)
tests/unit/proxy/mcp_server/test_mcp_server_manager.py:12126
↓ 3 callersMethod_retry_policy_raises
The groups whose ``model_group_retry_policy`` lookup raises on a hop's first failure, for router-core to end that hop with the error the looku
litellm/router_rust/core.py:2881
↓ 3 callersFunction_retry_survivors
Delete once more, through ``target``, every team whose row survived the burst; each must answer 200.
tests/integration/management/test_team_delete_chaos.py:301
↓ 3 callersFunction_revoke_the_replaced_login
(login: Mapping[str, object], http: Http, report: Callable[[str], None])
litellm/proxy/client/cli/commands/auth.py:891
↓ 3 callersFunction_rewrite_membership_once_unlocked
( prisma_client: PrismaClient, access_group: str, data: UpdateModelGroupRequest, retry_budget_
litellm/proxy/management_endpoints/model_access_group_management_endpoints.py:572
↓ 3 callersMethod_rewritten_messages
()
tests/unit/llms/openai/chat/test_openai_gpt_transformation.py:999
↓ 3 callersFunction_rewritten_tool_use_input
(arguments: str)
litellm/llms/anthropic/chat/guardrail_translation/handler.py:436
↓ 3 callersFunction_rewritten_web_search_calls
( calls: object, arguments_by_tool_id: Mapping[str, str], rewrite: Callable[[object, Mapping[str,
litellm/llms/anthropic/common_utils.py:2474
↓ 3 callersFunction_rig
(gateway: Gateway, tmp_path: Path, file_settings: Mapping[str, JsonValue])
tests/integration/configuration/test_callback_delete.py:45
↓ 3 callersFunction_rig
(gateway: Gateway, tmp_path: Path, fallback: str | None, *, sibling: bool = False)
tests/integration/mcp/test_mcp_agent_365_guardrail.py:110
↓ 3 callersFunction_rig
( tmp_path_factory: pytest.TempPathFactory, general_settings: Mapping[str, JsonValue], *, tena
tests/integration/spend/test_baggage_tag_mappings.py:253
↓ 3 callersFunction_role_items
(role: str, marker: str)
tests/integration/providers/test_responses_bridge_message_cache_control_wire.py:92
↓ 3 callersFunction_roles_of
(candidate: Gateway, users: tuple[str, ...])
tests/integration/management/test_scim_group_delete.py:100
← previousnext →24,801–24,900 of 202,479, ranked by callers