Skip to content

Commit 6161a28

Browse files
committed
EntitySource.inline_label
1 parent 0901c3c commit 6161a28

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

chatkit/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,8 @@ class EntitySource(SourceBase):
860860
"""Optional label shown with the icon in the default entity hover header
861861
when no preview callback is provided.
862862
"""
863+
inline_label: str | None = None
864+
"""Optional label for the inline annotation view. When not provided, the icon is used instead."""
863865
interactive: bool = False
864866
"""Per-entity toggle to wire client callbacks and render this entity as interactive."""
865867
data: dict[str, Any] = Field(default_factory=dict)

0 commit comments

Comments
 (0)