Description
Ragna has a few logos builtin
ragna/ragna/deploy/_ui/central_view.py
Lines 132 to 142 in 00ffa2b
This is neither scalable nor compatible with the fact that users can specify their own assistants. We should have an Assistant.avatar() -> str
(name TBD) method or property that defaults to the same behavior that we have right now. This method or property should be honored by the UI.
Tasks:
-
Define
Assistant.avatar() -> str
as method or property on the base class. -
Implement 1. on all builtin assistants
-
Figure out a way to make the avatar available through the engine. IMO, it would be best if we could somehow fit it into
Line 95 in 00ffa2b
but maybe a standalone function is simpler for now.
-
Use the returned avatar from the engine in the UI
-
If we chose to use a standalone function in 3., add a new endpoint to the API.