Skip to content

Commit 4869d2d

Browse files
committed
feat(*): support ark batch chat
1 parent a2e6863 commit 4869d2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

volcenginesdkarkruntime/resources/batch_chat/completions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ def _get_request_last_time(self, timeout):
216216
raise TypeError("timeout type {} is not supported".format(type(self._client.timeout)))
217217
return datetime.now() + timedelta(seconds=timeoutSeconds)
218218

219+
219220
class AsyncCompletions(AsyncAPIResource):
220221
@cached_property
221222
def with_raw_response(self) -> AsyncCompletionsWithRawResponse:
@@ -359,6 +360,7 @@ def _get_request_last_time(self, timeout):
359360
raise TypeError("timeout type {} is not supported".format(type(self._client.timeout)))
360361
return datetime.now() + timedelta(seconds=timeoutSeconds)
361362

363+
362364
class CompletionsWithRawResponse:
363365
def __init__(self, completions: Completions) -> None:
364366
self._completions = completions

0 commit comments

Comments
 (0)