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]

Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_do_36634

mateo-berrif93098068e44
diff --cc litellm/batches/batch_utils.py
index ebef60b41c9,baf522c0bb1..9681d64f656
--- a/litellm/batches/batch_utils.py
+++ b/litellm/batches/batch_utils.py
@@@ -5,8 -5,7 +5,8 @@@ from typing import Any, Final, Litera
import litellm
from litellm._logging import verbose_logger
+from litellm.litellm_core_utils.get_litellm_params import AWS_CREDENTIAL_KWARGS_KEYS
- from litellm.litellm_core_utils.llm_cost_calc.utils import _parse_prompt_tokens_details
+ from litellm.litellm_core_utils.llm_cost_calc.utils import parse_prompt_tokens_details
from litellm.types.llms.openai import Batch
from litellm.types.utils import CallTypes, ModelInfo, Usage
from litellm.utils import token_counter