mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
oci: undo stop crop
This commit is contained in:
parent
aeae6cffe4
commit
7ec6a3684a
1 changed files with 0 additions and 5 deletions
|
|
@ -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={})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue