We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d09e7c2 commit 25ac269Copy full SHA for 25ac269
src/hackingBuddyGPT/utils/openai/openai_llm.py
@@ -39,7 +39,6 @@ def get_response(self, prompt, *, retry: int = 0, **kwargs) -> LLMResult:
39
try:
40
tic = time.perf_counter()
41
response = requests.post(f'{self.api_url}{self.api_path}', headers=headers, json=data, timeout=self.api_timeout)
42
-
43
if response.status_code == 429:
44
print(f"[RestAPI-Connector] running into rate-limits, waiting for {self.api_backoff} seconds")
45
time.sleep(self.api_backoff)
0 commit comments