pipeworks_mud_mapper.services.ollama_ui
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
|
Return a green success status with a check icon. |
|
Return a filled green success status with a check icon. |
|
Return a blue info status with an info icon. |
|
Return a yellow warning status with an exclamation icon. |
|
Return a red error status with an X icon. |
|
Return a red error status with a filled X icon. |
|
Return a pending status with a spinning hourglass icon. |
Module Contents
- pipeworks_mud_mapper.services.ollama_ui.status_ok(message)[source]
Return a green success status with a check icon.
- Parameters:
message (
str) – The message to display to the user.- Returns:
Styled status node indicating success.
- Return type:
html.Span
- pipeworks_mud_mapper.services.ollama_ui.status_ok_filled(message)[source]
Return a filled green success status with a check icon.
This is used when we want a slightly stronger success visual.
- pipeworks_mud_mapper.services.ollama_ui.status_info(message, *, muted=False)[source]
Return a blue info status with an info icon.
- pipeworks_mud_mapper.services.ollama_ui.status_warning(message)[source]
Return a yellow warning status with an exclamation icon.
- pipeworks_mud_mapper.services.ollama_ui.status_error(message)[source]
Return a red error status with an X icon.