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
test(rust-bridge): relocate dispatch tests before routing changes (#46926)
yujongleea1c9fa951a58
diff --git a/.github/workflows/test-rust.yml b/.github/workflows/test-rust.ymlindex f8a7c38ef79..636a5031e5f 100644--- a/.github/workflows/test-rust.yml+++ b/.github/workflows/test-rust.yml@@ -16,6 +16,10 @@ on:- "litellm/proxy/guardrails/**"- "litellm/utils.py"- "litellm/ocr/**"+ - "litellm/chat_completions/dispatch.py"+ - "litellm/embeddings/dispatch.py"+ - "litellm/messages/dispatch.py"+ - "litellm/responses/dispatch.py"- "litellm/llms/base_llm/ocr/**"- "litellm/llms/custom_httpx/llm_http_handler.py"- "Makefile"@@ -46,6 +50,10 @@ on:- "litellm/proxy/guardrails/**"- "litellm/utils.py"- "litellm/ocr/**"+ - "litellm/chat_completions/dispatch.py"+ - "litellm/embeddings/dispatch.py"+ - "litellm/messages/dispatch.py"+ - "litellm/responses/dispatch.py"- "litellm/llms/base_llm/ocr/**"- "litellm/llms/custom_httpx/llm_http_handler.py"- "Makefile"diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.ymlindex 0558875bdad..1b486d78f04 100644--- a/.github/workflows/test-unit.yml+++ b/.github/workflows/test-unit.yml@@ -696,7 +696,6 @@ jobs:tests/unit/responses/litellm_completion_transformationtests/unit/responses/test_additional_tools.pytests/unit/responses/test_custom_tool_call.py- tests/unit/responses/test_dispatch.pytests/unit/responses/test_metadata_codex_callback.pytests/unit/responses/test_no_duplicate_spend_logs.pytests/unit/responses/test_null_test_fix.pydiff --git a/tests/unit/chat_completions/test_dispatch.py b/tests/test_litellm_rust/chat_completions/test_dispatch.pysimilarity index 100%rename from tests/unit/chat_completions/test_dispatch.pyrename to tests/test_litellm_rust/chat_completions/test_dispatch.pydiff --git a/tests/unit/chat_completions/__init__.py b/tests/test_litellm_rust/embeddings/__init__.pysimilarity index 100%rename from tests/unit/chat_completions/__init__.pyrename to tests/test_litellm_rust/embeddings/__init__.pydiff --git a/tests/unit/embeddings/test_dispatch.py b/tests/test_litellm_rust/embeddings/test_dispatch.pysimilarity index 100%rename from tests/unit/embeddings/test_dispatch.pyrename to tests/test_litellm_rust/embeddings/test_dispatch.pydiff --git a/tests/unit/messages/test_dispatch.py b/tests/test_litellm_rust/messages/test_dispatch.pysimilarity index 100%rename from tests/unit/messages/test_dispatch.pyrename to tests/test_litellm_rust/messages/test_dispatch.pydiff --git a/tests/unit/ocr/test_dispatch.py b/tests/test_litellm_rust/ocr/test_public_dispatch.pysimilarity index 100%rename from tests/unit/ocr/test_dispatch.pyrename to tests/test_litellm_rust/ocr/test_public_dispatch.pydiff --git a/tests/unit/responses/test_dispatch.py b/tests/test_litellm_rust/responses/test_dispatch.pysimilarity index 100%rename from tests/unit/responses/test_dispatch.pyrename to tests/test_litellm_rust/responses/test_dispatch.pydiff --git a/tests/unit/rust_bridge/test_dispatch.py b/tests/test_litellm_rust/test_dispatch.pysimilarity index 100%rename from tests/unit/rust_bridge/test_dispatch.pyrename to tests/test_litellm_rust/test_dispatch.pydiff --git a/tests/unit/embeddings/__init__.py b/tests/unit/embeddings/__init__.pydeleted file mode 100644index e69de29bb2d..00000000000diff --git a/tests/unit/messages/__init__.py b/tests/unit/messages/__init__.pydeleted file mode 100644index e69de29bb2d..00000000000