Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPiche committed Jan 7, 2025
1 parent 3996d9d commit 8825033
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tapeagents/llms.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,8 +680,7 @@ def batch_generate(self, prompts: list[Prompt]) -> list[LLMCall]:
stream=self.stream,
verify=False,
)
time_send_request = time.time() - start_send_request
self._stats["time_send_request"].append(time_send_request)
self._stats["time_send_request"].append(time.time() - start_send_request)
if not r.ok:
logger.error(f"Failed to get completion: {r.text}")
r.raise_for_status()
Expand Down

0 comments on commit 8825033

Please sign in to comment.