Skip to content

Commit 25ac269

Browse files
committed
fix: remove extraneous line
1 parent d09e7c2 commit 25ac269

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/hackingBuddyGPT/utils/openai/openai_llm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def get_response(self, prompt, *, retry: int = 0, **kwargs) -> LLMResult:
3939
try:
4040
tic = time.perf_counter()
4141
response = requests.post(f'{self.api_url}{self.api_path}', headers=headers, json=data, timeout=self.api_timeout)
42-
4342
if response.status_code == 429:
4443
print(f"[RestAPI-Connector] running into rate-limits, waiting for {self.api_backoff} seconds")
4544
time.sleep(self.api_backoff)

0 commit comments

Comments
 (0)