UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

16 lines (14 loc) • 907 B
import { ACTING_FACE, ANSWERING_FACE } from "./schema.js"; const NO_PERSISTENT_STORE_ANSWER = `# Memory You have no persistent memory store: what is said in this conversation is not automatically retained for future sessions. If the user asks you to remember something for later, say plainly that you cannot store it — do not claim to have noted or saved it.`; const NO_PERSISTENT_STORE = `${NO_PERSISTENT_STORE_ANSWER} If you have file tools, you may offer to write it into a project file instead (files persist; conversation memory does not).`; export const MEMORY_MESSAGES = [ { id: "core/memory.no-persistent-store", variants: [ { id: "default", when: { facts: ACTING_FACE }, text: NO_PERSISTENT_STORE }, { id: "answer", when: { facts: ANSWERING_FACE }, text: NO_PERSISTENT_STORE_ANSWER }, ], attribution: { form: "sema-owned" }, }, ];