Skip to content

Commit

Permalink
wip: fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsbatista committed Aug 13, 2024
1 parent f333978 commit 2e71af1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def run(
if "output_token" in response.meta["usage"]:
response.meta["usage"]["completion_tokens"] = response.meta["usage"].pop("output_token")
else:
raise ValueError("The meta key is not in the expected format.")
msg = "The meta key is not in the expected format."
raise ValueError(msg)

return {"replies": replies}

Expand Down

0 comments on commit 2e71af1

Please sign in to comment.