Gaunt Sloth Assistant
    Preparing search index...

    Function extractLastMessageContent

    • Extracts the content of the last message from an LLM response

      Parameters

      • output: LLMOutput

        The output from the LLM containing messages

      Returns string

      The content of the last message