Skip to content

Commit

Permalink
Merge pull request #182 from Portkey-AI/fix/retry
Browse files Browse the repository at this point in the history
Max Retries
  • Loading branch information
VisargD authored Jul 25, 2024
2 parents c949591 + 7590367 commit 50df00d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions portkey_ai/api_resources/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def __init__(
base_url=self.base_url,
default_headers=self.allHeaders,
http_client=http_client,
max_retries=0,
)

self.completions = apis.Completion(self)
Expand Down Expand Up @@ -279,6 +280,7 @@ def __init__(
base_url=self.base_url,
default_headers=self.allHeaders,
http_client=http_client,
max_retries=0,
)

self.completions = apis.AsyncCompletion(self)
Expand Down

0 comments on commit 50df00d

Please sign in to comment.