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]

oci: undo stop crop

João Speglich7ec6a3684a6d
diff --git a/litellm/llms/oci/chat/transformation.py b/litellm/llms/oci/chat/transformation.py
index 72a044e014a..a3ee3d58f07 100644
--- a/litellm/llms/oci/chat/transformation.py
+++ b/litellm/llms/oci/chat/transformation.py
@@ -615,11 +615,6 @@ class OCIChatConfig(BaseConfig):
if "stream" in data:
del data["stream"]
- stops = data.get("chatRequest", {}).get("stop")
- if stops and len(stops) > 8:
- # mantém apenas os 8 primeiros
- data["chatRequest"]["stop"] = stops[:8]
-
if client is None or isinstance(client, HTTPHandler):
client = get_async_httpx_client(llm_provider=LlmProviders.BYTEZ, params={})