Skip to content

Commit

Permalink
Do let ChatFeed update model (#6199)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Jan 14, 2024
1 parent 96aa70f commit 98baffe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion panel/chat/feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def __init__(self, *objects, **params):

super().__init__(*objects, **params)

# instantiate the card's column) is not None)
# instantiate the card's column
linked_params = dict(
design=self.param.design,
sizing_mode=self.param.sizing_mode,
Expand Down Expand Up @@ -291,6 +291,12 @@ def _get_model(
self._models[ref] = (model, parent)
return model

def _update_model(
self, events: Dict[str, param.parameterized.Event], msg: Dict[str, Any],
root: Model, model: Model, doc: Document, comm: Comm | None
) -> None:
return

def _cleanup(self, root: Model | None = None) -> None:
self._card._cleanup(root)
super()._cleanup(root)
Expand Down

0 comments on commit 98baffe

Please sign in to comment.