pipeworks_mud_mapper.services.ollama_ui ======================================= .. py:module:: pipeworks_mud_mapper.services.ollama_ui .. autoapi-nested-parse:: UI helpers for Ollama status messaging. This module centralizes small UI fragments so callbacks can avoid duplicating HTML span construction. Keeping these helpers in one place ensures consistent styling across all Ollama interactions. Functions --------- .. autoapisummary:: pipeworks_mud_mapper.services.ollama_ui.status_ok pipeworks_mud_mapper.services.ollama_ui.status_ok_filled pipeworks_mud_mapper.services.ollama_ui.status_info pipeworks_mud_mapper.services.ollama_ui.status_warning pipeworks_mud_mapper.services.ollama_ui.status_error pipeworks_mud_mapper.services.ollama_ui.status_error_filled pipeworks_mud_mapper.services.ollama_ui.status_pending Module Contents --------------- .. py:function:: status_ok(message) Return a green success status with a check icon. :param message: The message to display to the user. :type message: :py:class:`str` :returns: Styled status node indicating success. :rtype: :py:class:`html.Span` .. py:function:: status_ok_filled(message) Return a filled green success status with a check icon. This is used when we want a slightly stronger success visual. .. py:function:: status_info(message, *, muted = False) Return a blue info status with an info icon. :param message: The message to display to the user. :type message: :py:class:`str` :param muted: When True, uses muted text styling for subtle hints. :type muted: :py:class:`bool` .. py:function:: status_warning(message) Return a yellow warning status with an exclamation icon. .. py:function:: status_error(message) Return a red error status with an X icon. .. py:function:: status_error_filled(message) Return a red error status with a filled X icon. .. py:function:: status_pending(message) Return a pending status with a spinning hourglass icon.