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
Add starting status for replicate
Sameer Kankute028cdaf77be3
diff --git a/litellm/llms/replicate/chat/handler.py b/litellm/llms/replicate/chat/handler.pyindex e4bb64fed71..4c75db5abc6 100644--- a/litellm/llms/replicate/chat/handler.py+++ b/litellm/llms/replicate/chat/handler.py@@ -213,7 +213,7 @@ def completion(response = httpx_client.get(url=prediction_url, headers=headers)if (response.status_code == 200- and response.json().get("status") == "processing"+ and response.json().get("status") in ["processing", "starting"]):continuereturn litellm.ReplicateConfig().transform_response(@@ -284,7 +284,7 @@ async def async_completion(response = await async_handler.get(url=prediction_url, headers=headers)if (response.status_code == 200- and response.json().get("status") == "processing"+ and response.json().get("status") in ["processing", "starting"]):continuereturn litellm.ReplicateConfig().transform_response(