Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

fix(skills): resume the media generation Task once the user picks a path

LeoXingf20f10de7e25
diff --git a/skills/builtin/catalog.yaml b/skills/builtin/catalog.yaml
index dbacfb15..94e33668 100644
--- a/skills/builtin/catalog.yaml
+++ b/skills/builtin/catalog.yaml
@@ -124,14 +124,14 @@ skills:
version: 1.0.0
package_path: builtin/chat-card/1.0.0
- skill_id: simplexai_media_generation
- bootstrap_manifest_id: skill_manifest_simplexai_media_generation_1_0_2
+ bootstrap_manifest_id: skill_manifest_simplexai_media_generation_1_0_3
default_agent_types:
- anotherme
- general
manifests:
- - manifest_id: skill_manifest_simplexai_media_generation_1_0_2
- version: 1.0.2
- package_path: builtin/media-generation/1.0.2
+ - manifest_id: skill_manifest_simplexai_media_generation_1_0_3
+ version: 1.0.3
+ package_path: builtin/media-generation/1.0.3
- skill_id: simplexai_slide_deck
bootstrap_manifest_id: skill_manifest_simplexai_slide_deck_1_0_1
default_agent_types:
diff --git a/skills/builtin/media-generation/1.0.2/SKILL.md b/skills/builtin/media-generation/1.0.3/SKILL.md
similarity index 94%
rename from skills/builtin/media-generation/1.0.2/SKILL.md
rename to skills/builtin/media-generation/1.0.3/SKILL.md
index 79140d3d..59fad4ba 100644
--- a/skills/builtin/media-generation/1.0.2/SKILL.md
+++ b/skills/builtin/media-generation/1.0.3/SKILL.md
@@ -35,7 +35,7 @@ Otherwise, before the first generation in this conversation, ask with one `teamh
- Then end your turn. Do not guess the answer and do not start a trial generation. Once the user answers, use that path for every later generation in this conversation unless they ask for another. Do not claim the choice has been saved.
- Settle the path before you delegate generation to a Task, and write the chosen provider, model and key parameters into the Task.
-In a Task you cannot ask. Follow the path the Task names, or one the user stated or holds as a lasting preference as above. If none is settled, do not choose one and do not generate: end the Task with a final reply that says the user must choose a path and lists the paths and prices you found, so the conversation that delegated it can ask the user and start a new Task.
+In a Task you cannot ask the user yourself. Follow the path the Task names, or one the user stated or holds as a lasting preference as above. If none is settled, do not choose one and do not generate: end your turn with a final reply that asks the user to choose and lists the paths and prices you found. The conversation that delegated the Task asks the user and sends their choice back to this Task, and you go on from there with what you already found; do not ask for a new Task.
Before a video or a batch of several images, tell the user the model and, for fal, its unit price, unless they just chose it from a card that showed the price.