Skip to content

ENHANCEMENT: Move summarization from top-level system message to between Preamble messages and start of actual history #232

Description

@mattprintz

BLUF: Including summarization in the top system message causes full cache invalidation unnecessarily following a summarization

Solution:
Move summarization in between the preamble section and the chat section. This allows the potentially large system messages and system preambles, which are unaffected by summarization, to remain cached.
This could be a new "Summary Preamble" along with the current System/User preamble messages or a different type of message as long as the message type doesn't cause it to be picked up during summarization.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions