Skip to content

Commit

Permalink
Feedback can't be any integer
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnes committed Jul 24, 2023
1 parent ca8ce28 commit 9feb621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chainlit/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class CompletionRequest(BaseModel):

class UpdateFeedbackRequest(BaseModel):
messageId: str
feedback: int
feedback: Literal[-1, 0, 1]


class DeleteConversationRequest(BaseModel):
Expand Down

0 comments on commit 9feb621

Please sign in to comment.