Skip to content

Prompt formatting

__all__ = ['wrap'] module-attribute

end(element)

start(element)

wrap(element, content)

Wrap content in start and end elements.

Useful for formatting text within a message (e.g. within the customized user message).