mellea.stdlib.requirements.md
This file contains various requirements for Markdown-formatted files.
Functions
FUNC as_markdown_list
as_markdown_list(ctx: Context) -> list[str] | None
Attempts to format the last_output of the given context as a markdown list.
Args:
ctx: The current conversation context whose last output will be parsed.
Returns:
- List of rendered list-item strings if the output is a markdown list,
- or
Noneif parsing fails or the output is not a list.