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: fix imports
Krrish Dholakia3ec8a0d25d2f
diff --git a/litellm/__init__.py b/litellm/__init__.pyindex 03ca0482af3..e743c09fa74 100644--- a/litellm/__init__.py+++ b/litellm/__init__.py@@ -862,7 +862,7 @@ from .llms.vertex_ai_and_google_ai_studio.vertex_ai_anthropic import (from .llms.vertex_ai_and_google_ai_studio.vertex_ai_partner_models import (VertexAILlama3Config,)-from .llms.sagemaker import SagemakerConfig+from .llms.sagemaker.sagemaker import SagemakerConfigfrom .llms.ollama import OllamaConfigfrom .llms.ollama_chat import OllamaChatConfigfrom .llms.maritalk import MaritTalkConfigdiff --git a/litellm/tests/test_streaming.py b/litellm/tests/test_streaming.pyindex 7d099afc675..2ba6d717e7f 100644--- a/litellm/tests/test_streaming.py+++ b/litellm/tests/test_streaming.py@@ -1664,7 +1664,7 @@ def test_sagemaker_weird_response():try:import json- from litellm.llms.sagemaker import TokenIterator+ from litellm.llms.sagemaker.sagemaker import TokenIteratorchunk = """<s>[INST] Hey, how's it going? [/INST],I'm doing well, thanks for asking! How about you? Is there anything you'd like to chat about or ask? I'm here to help with any questions you might have."""