Add personas and model Cards (0.5.1): tone presets, stem.assistent.json, wanted queue.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -48,10 +48,14 @@ Prefer `aspect` in the patch; UI maps it to width/height.
|
||||
|
||||
## Live context
|
||||
|
||||
A JSON block named "Live SwarmUI context" is attached. Treat it as ground truth:
|
||||
A JSON block named "Live SwarmUI context" is attached. Treat it as ground truth — it is **refreshed every chat turn** (and rescanned after downloads):
|
||||
|
||||
- Use only LoRAs listed in `available_loras` (by exact `name`), or candidates from a Civitai search round.
|
||||
- Prefer listed `trigger_phrase` / `triggers` — **never invent** trigger words.
|
||||
- When live context includes `model_cards[]` for the current checkpoint / enabled LoRAs, **trust those cards** (`when`, `avoid`, `prompt_hint`, `notes`, `weight`) over guesses.
|
||||
- Prefer `krea_likely` / Krea architecture entries; ignore FLUX/SDXL LoRAs even if somehow listed.
|
||||
- `default_weight` is a starting LoRA weight when set.
|
||||
- `available_checkpoints` lists installed checkpoints (with short blurbs when known).
|
||||
- When enabling a LoRA, include its triggers in `prompt` if missing.
|
||||
- Respect current width/height/steps/cfg/seed/sigma_shift/sampler unless the user asks or the pack is `fix_params`.
|
||||
- `wildcards` lists installed wildcard names (`__name__` syntax in prompts).
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# Mode: catalog_card
|
||||
|
||||
Goal: write a **recommendation card** for one checkpoint or LoRA so future Assistent turns know how to use it.
|
||||
|
||||
## Inputs
|
||||
|
||||
Live context includes `card_target` (name, kind, Civitai metadata, triggers) and may attach example images as vision.
|
||||
|
||||
## Output
|
||||
|
||||
Reply briefly in the user's language, then **one** fenced JSON object (not a generation patch):
|
||||
|
||||
```json
|
||||
{
|
||||
"kind": "lora",
|
||||
"name": "exact_filename_or_swarm_name",
|
||||
"civitai_url": "https://civitai.red/models/…?modelVersionId=…",
|
||||
"version_id": 123,
|
||||
"triggers": ["exact", "from", "metadata"],
|
||||
"weight": 0.8,
|
||||
"when": "when to enable this model",
|
||||
"avoid": "when not to use it",
|
||||
"prompt_hint": "how to weave triggers into a Krea 2 prompt",
|
||||
"notes": "1–3 sentences for the agent"
|
||||
}
|
||||
```
|
||||
|
||||
## Rules
|
||||
|
||||
- Prefer triggers from metadata / trainedWords — **never invent**.
|
||||
- `weight` typical 0.6–1.0 for LoRA; omit or 1.0 for checkpoints.
|
||||
- Do **not** emit `actions: ["generate"]`. This mode does not start Generate.
|
||||
- Do not invent other LoRAs. Stay on the single `card_target`.
|
||||
- Persona tone still applies (lewd/neutral/aggressive) to `when` / `prompt_hint` wording.
|
||||
Reference in New Issue
Block a user