Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion chatkit/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,7 @@ class UserMessageTagContent(BaseModel):
id: str
text: str
data: dict[str, Any]
group: str | None = None
interactive: bool = False


Expand Down Expand Up @@ -813,9 +814,14 @@ class EntitySource(SourceBase):
type: Literal["entity"] = "entity"
id: str
icon: IconName | None = None
preview: Literal["lazy"] | None = None
data: dict[str, Any] = Field(default_factory=dict)

preview: Literal["lazy"] | None = Field(
default=None,
deprecated=True,
description="This field is ignored. Please use the entities.onRequestPreview ChatKit.js option instead.",
)


Source = Annotated[
URLSource | FileSource | EntitySource,
Expand Down