Skip to content

Commit

Permalink
refactor: Lint model-serving (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorrr authored and github-actions[bot] committed Apr 16, 2024
1 parent 4777fc4 commit 328e752
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions model-serving/model_api/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ class DeltaMessage(DeltaMessage):

class ChatCompletionResponseChoice(ChatCompletionResponseChoice):
message: ChatMessage
finish_reason: Literal[
"stop", "length", "function_call", "tool_calls"
] | None = None
finish_reason: Literal["stop", "length", "function_call", "tool_calls"] | None = (
None
)


class ChatCompletionResponseStreamChoice(ChatCompletionResponseStreamChoice):
Expand Down

0 comments on commit 328e752

Please sign in to comment.