Skip to content

Commit a3c67d6

Browse files
committed
rename to ClientEffectEvent
1 parent 12dd5dd commit a3c67d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

chatkit/types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,10 @@ class ProgressUpdateEvent(BaseModel):
325325
text: str
326326

327327

328-
class ClientSideEffectEvent(BaseModel):
329-
"""Event emitted when a client side-effect is triggered."""
328+
class ClientEffectEvent(BaseModel):
329+
"""Event emitted to trigger a client side-effect."""
330330

331-
type: Literal["client_side_effect"] = "client_side_effect"
331+
type: Literal["client_effect"] = "client_effect"
332332
name: str
333333
data: dict[str, Any] = Field(default_factory=dict)
334334

@@ -363,7 +363,7 @@ class NoticeEvent(BaseModel):
363363
| ThreadItemRemovedEvent
364364
| ThreadItemReplacedEvent
365365
| ProgressUpdateEvent
366-
| ClientSideEffectEvent
366+
| ClientEffectEvent
367367
| ErrorEvent
368368
| NoticeEvent,
369369
Field(discriminator="type"),

0 commit comments

Comments
 (0)