-
-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChatInterface callback_user and callback_avatar enhancements #5717
Comments
Regarding
About Another way to use avatar without returning ChatMessage / dict is |
As I'm using this more, let's add callback_avatar too. |
Hey, I went through the repo once to try and fix the issue, but it seems I'll need something more. Can you pinpoint what is to be done so I can contribute to this?
|
Thanks for your interest! I believe you need to add https://github.com/holoviz/panel/blob/main/panel/chat/feed.py#L101-L102 Basically, reverting these changes from |
I have create a PR, can you please review it and mention any more changes/corrections required? |
I'm confused. |
It'll be available in panel 1.5.0. |
I'm on the current
main
branch of Panel studying the dev documentation of the ChatInterface at https://holoviz-dev.github.io/panel/reference/chat/ChatInterface.html.I see the following potential enhancements
callback_user
parameter is not mentioned in the Parameter section. It should be added.callback_avatar
parameter. It should added.callback
return aChatMessage(value=..., user=..., avatar=...)
which lead to Fix returning/yielding chat message from callback #5712.The text was updated successfully, but these errors were encountered: