Skip to content

Allow custom instructions for exit summaries #62

Open

Description

@ElainaRoxy

Feature request

Allow users to customize the instructions used to generate exit summaries without editing the installed extension.

Use case

I use pi-memory 0.4.2 with conversations in Simplified Chinese. I want the summary body written in Simplified Chinese while preserving the required section headings, the None. marker, paths, code, and technical names. Other users may want different emphasis, such as recording decisions and follow-ups more concisely.

The exit-summary system prompt is currently a fixed EXIT_SUMMARY_SYSTEM_PROMPT in index.ts. Setting the summary model, reasoning effort, or timeout does not customize these instructions. I currently maintain a local one-line prompt patch, which an upgrade can overwrite.

Suggested behavior

Provide a supported configuration entry or an instruction-file path for additional exit-summary instructions. Appending user instructions to the default prompt would preserve the existing output format and empty-summary handling. With no customization, behavior should remain unchanged.

For example, a user could supply: “Write the summary body in Simplified Chinese. Keep the required headings, None., code, paths, and technical names unchanged.”

This request is about prompt customization rather than changing the default language or shutdown scheduling. It would also be useful if exit-summary generation moves to the next session as proposed in #56.

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