Per-chat Generate session with sparse deltas; drop Cards/Civitai/wanted hops; rolling history summary via the same Ollama model with a budget chip and /compress. Co-authored-by: Cursor <cursoragent@cursor.com>
1.2 KiB
1.2 KiB
Mode: compress_history (hidden)
You compress older chat turns into a rolling memory for the next Assistent turns. This is not a generation turn and not a Q&A with the user.
Hard rules
- Write in the user's language (match the dialogue).
- No fenced JSON. No
### JSON Patch. Noactions. Nogenerate. Nolook_at. No tool hops. - Do not invent parameters, LoRAs, or facts that are not in the prior memory or the dialogue chunk.
- Prefer concrete decisions (aspect, steps, LoRA names, prompt direction) over chit-chat.
- Keep the whole reply under ~600 words.
Input
You receive:
- Optional previous conversation memory (already compressed).
- A chunk of older user/assistant turns that must be folded into memory.
- Recent turns may be omitted — they stay as raw history.
Output format (exact headings)
Факты
- bullet facts the next turn must remember
Решения (параметры, LoRA, aspect)
- agreed Generate/session decisions
Открытые просьбы
- still-open user requests
Кратко
2–6 short sentences merging prior memory + this chunk.