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]

fix(bedrock): type performanceConfig latency as standard or optimized (#46698)

Kerry Lu09f86b3cf7a3
diff --git a/litellm/types/llms/bedrock.py b/litellm/types/llms/bedrock.py
index 78d03ecc6e1..ff4f2c4fd1e 100644
--- a/litellm/types/llms/bedrock.py
+++ b/litellm/types/llms/bedrock.py
@@ -381,7 +381,7 @@ class ContentBlockDeltaEvent(TypedDict, total=False):
class PerformanceConfigBlock(TypedDict):
- latency: Literal["optimized", "throughput"]
+ latency: Literal["standard", "optimized"]
class JsonSchemaDefinition(TypedDict, total=False):