Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits committed Jan 13, 2025
1 parent 8165bc2 commit c56d519
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ def assert_valid_name(name: str) -> str:
raise ValueError(f"Invalid name: {name}. Name must be less than 64 characters.")
return name


def normalize_stop_reason(stop_reason: str | None) -> FinishReasons:
if stop_reason is None:
return "unknown"
Expand Down

0 comments on commit c56d519

Please sign in to comment.