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>
33 lines
1.2 KiB
Markdown
33 lines
1.2 KiB
Markdown
# 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`. **No** `actions`. **No** `generate`. **No** `look_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:
|
||
1. Optional **previous conversation memory** (already compressed).
|
||
2. A chunk of **older user/assistant turns** that must be folded into memory.
|
||
3. 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.
|