Skip to content

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]

test(integration): allow unmanaged response ids and serve fal h3 video bytes without auth

kerry1dacb03ad92f
diff --git a/tests/integration/providers/test_fal_ai_video_wire.py b/tests/integration/providers/test_fal_ai_video_wire.py
index 827818c6780..276ea2868a7 100644
--- a/tests/integration/providers/test_fal_ai_video_wire.py
+++ b/tests/integration/providers/test_fal_ai_video_wire.py
@@ -76,6 +76,9 @@ def test_fal_h3_video_create_uses_canonical_body_and_status_path(gateway: Gatewa
request_id: Final = "fal-h3-req-" + uuid.uuid4().hex
def respond(request: Request) -> Reply:
+ if request.target == f"/files/{request_id}.mp4":
+ assert request.method == "GET"
+ return Reply(body=_MP4, content_type="video/mp4")
assert request.headers["authorization"] == "Key synthetic-fal-key"
if request.method == "POST":
assert request.target == f"/{_H3_MODEL}"
diff --git a/tests/integration/proxy_config.yaml b/tests/integration/proxy_config.yaml
index a3b07f76d2f..34e48228dd7 100644
--- a/tests/integration/proxy_config.yaml
+++ b/tests/integration/proxy_config.yaml
@@ -5,6 +5,7 @@ general_settings:
store_model_in_db: true
disable_spend_logs: false
proxy_batch_write_at: 1
+ allow_unmanaged_response_ids: true
litellm_settings:
enable_redis_auth_cache: true
cache: true