Skip to content

Commit

Permalink
Bugfix for missing argument in Petals error handler (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdalvi authored Oct 2, 2023
1 parent c4d6f6a commit 5843d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmebench/models/Petals.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ def prompt(self, processed_input):
if not response["ok"]:
raise PetalsFailure("processing", response["traceback"])
else:
raise PetalsFailure(connect_message["traceback"])
raise PetalsFailure("connection", connect_message["traceback"])

return response

0 comments on commit 5843d54

Please sign in to comment.