oci: undo stop crop

This commit is contained in:
João Speglich 2025-09-30 10:46:14 -03:00
parent aeae6cffe4
commit 7ec6a3684a

View file

@ -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={})