The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Merge branches 'main' and 'litellm_fix_integration_conftest_import' of github.com:BerriAI/litellm into litellm_fix_integration_conftest_import
Yuneng Jiang7013204ded2d
diff --cc tests/integration/management/test_partial_update_sequences.pyindex 01412ccf11b,3d1ef1374e1..d79c145a685--- a/tests/integration/management/test_partial_update_sequences.py+++ b/tests/integration/management/test_partial_update_sequences.py@@@ -5,13 -5,23 +5,24 @@@ from typing import Finaimport pytestfrom hypothesis import strategies as stfrom hypothesis.stateful import RuleBasedStateMachine, invariant, rule, run_state_machine_as_test-from integration._support.client import Gateway, object_value-from integration._support.database import read_rows-from integration._support.generation import LIFECYCLE_SETTINGS, bounded_http_requestsfrom pydantic import JsonValue+from tests.integration._support.client import Gateway, object_value+from tests.integration._support.database import read_rows+from tests.integration._support.generation import LIFECYCLE_SETTINGS, bounded_http_requests++ def _key_rows(digest: str) -> list[dict[str, JsonValue]]:+ return read_rows(+ 'SELECT token, key_name, key_alias, models, aliases, config, router_settings, user_id, team_id, '+ 'agent_id, project_id, permissions, max_parallel_requests, metadata, blocked, tpm_limit, rpm_limit, '+ 'tpd_limit, max_budget, budget_duration, allowed_cache_controls, allowed_routes, key_type, policies, '+ 'access_group_ids, model_spend, model_max_budget, budget_fallbacks, budget_id, organization_id, '+ 'object_permission_id, budget_limits FROM "LiteLLM_VerificationToken" WHERE token = %s',+ (digest,),+ )++@pytest.mark.covers("mgmt.key.update.generated_sequences_preserve_state")def test_generated_partial_updates_preserve_persisted_and_effective_state(gateway: Gateway) -> None:class KeyUpdates(RuleBasedStateMachine):