Skip to content

Commit

Permalink
add unknown finish reason
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits committed Jan 13, 2025
1 parent c56d519 commit fb0737a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class RequestUsage:
completion_tokens: int


FinishReasons = Literal["stop", "length", "function_calls", "content_filter"]
FinishReasons = Literal["stop", "length", "function_calls", "content_filter", "unknown"]


@dataclass
Expand Down

0 comments on commit fb0737a

Please sign in to comment.