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
ci(rust): raise the native wheel size gate to 40 MB
Yujong Leec7c0afb1f0b0
diff --git a/.github/scripts/verify_linux_native_wheel.py b/.github/scripts/verify_linux_native_wheel.pyindex 0adbc015ad0..ea6d2401084 100644--- a/.github/scripts/verify_linux_native_wheel.py+++ b/.github/scripts/verify_linux_native_wheel.py@@ -205,7 +205,7 @@ def main(native_module: Final = load_native_module(native_path)native_module_loads: Final = native_module is not Nonepanic_test_hook_absent: Final = native_module is not None and not hasattr(native_module, "_panic_for_test")- native_size_limit: Final = 30_000_000+ native_size_limit: Final = 40_000_000native_size_within_limit: Final = native_member.file_size <= native_size_limitvalidations: Final = ((f"Python tag is {EXPECTED_PYTHON_TAG}", python_tag == EXPECTED_PYTHON_TAG),@@ -222,7 +222,7 @@ def main(("Python extension entry point is present", extension_entry_point_present),("Native module loads", native_module_loads),("Production module omits the panic test hook", panic_test_hook_absent),- ("Native extension does not exceed 30 MB", native_size_within_limit),+ (f"Native extension does not exceed {native_size_limit / 1_000_000:.0f} MB", native_size_within_limit),("Wheel contents are valid", not unexpected_members),)@@ -267,7 +267,8 @@ def main(),(not native_size_within_limit,- f"native extension exceeds 30 MB: {native_member.file_size / 1_000_000:.2f} MB",+ f"native extension exceeds {native_size_limit / 1_000_000:.0f} MB: "+ f"{native_member.file_size / 1_000_000:.2f} MB",),(bool(unexpected_members), f"wheel contains unexpected build artifacts: {', '.join(unexpected_members)}"),)