Skip to content

Commit

Permalink
fix bug: Feedback type also need to allow -1 as value
Browse files Browse the repository at this point in the history
wenboown committed Oct 20, 2024
1 parent 69e3e3d commit b00427b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/chainlit/types.py
Original file line number Diff line number Diff line change
@@ -245,7 +245,7 @@ class FeedbackDict(TypedDict):
@dataclass
class Feedback:
forId: str
value: Literal[0, 1]
value: Literal[-1, 0, 1]
threadId: Optional[str] = None
id: Optional[str] = None
comment: Optional[str] = None

0 comments on commit b00427b

Please sign in to comment.