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
fix: add INCOMPLETE status to Interactions API enum and test
Julio Quinteros Prof94d0fe0b6bd
diff --git a/litellm/types/interactions/generated.py b/litellm/types/interactions/generated.pyindex 72693e8f188..30e4ff4722e 100644--- a/litellm/types/interactions/generated.py+++ b/litellm/types/interactions/generated.py@@ -392,6 +392,7 @@ class Status3(Enum):COMPLETED = 'COMPLETED'FAILED = 'FAILED'CANCELLED = 'CANCELLED'+ INCOMPLETE = 'INCOMPLETE'class ModelOption(RootModel[str]):diff --git a/tests/test_litellm/interactions/test_openapi_compliance.py b/tests/test_litellm/interactions/test_openapi_compliance.pyindex 5b490777f08..b2e2d2bb20b 100644--- a/tests/test_litellm/interactions/test_openapi_compliance.py+++ b/tests/test_litellm/interactions/test_openapi_compliance.py@@ -148,7 +148,7 @@ class TestResponseCompliance:schema = spec_dict["components"]["schemas"]["CreateModelInteractionParams"]status_prop = schema["properties"]["status"]- expected_statuses = ["UNSPECIFIED", "IN_PROGRESS", "REQUIRES_ACTION", "COMPLETED", "FAILED", "CANCELLED"]+ expected_statuses = ["UNSPECIFIED", "IN_PROGRESS", "REQUIRES_ACTION", "COMPLETED", "FAILED", "CANCELLED", "INCOMPLETE"]assert status_prop["enum"] == expected_statusesprint(f"✓ Status enum values: {expected_statuses}")