From 26d4b1cffb7f11fbababa5aa5ceed64f9860c7a9 Mon Sep 17 00:00:00 2001 From: penge Date: Wed, 11 Mar 2026 15:43:21 +0700 Subject: [PATCH] fix(skill): set suggested model from original agent - Add Anti-Pattern bullet to llm-services.md: use the same model identifier as the original agent, not a generic one - Add Step 5a checklist item to SKILL.md: set suggested model to match the model used in the original agent Signed-off-by: penge --- skills/agentstack-wrapper/SKILL.md | 3 +++ skills/agentstack-wrapper/references/llm-services.md | 1 + 2 files changed, 4 insertions(+) diff --git a/skills/agentstack-wrapper/SKILL.md b/skills/agentstack-wrapper/SKILL.md index f7d53fc0f..6e9dfafb1 100644 --- a/skills/agentstack-wrapper/SKILL.md +++ b/skills/agentstack-wrapper/SKILL.md @@ -111,6 +111,7 @@ Task Progress: - [ ] Step 3: Add and Install Dependencies - [ ] Step 4: Create the Server Wrapper & Entrypoint - [ ] Step 5: Wire LLM / Services via Extensions (requires reading docs) +- [ ] Step 5a: Set suggested model to match the model used in the original agent - [ ] Step 6: Implement Error Handling (requires reading docs) - [ ] Step 7: Map Forms (if applicable) (requires reading docs) - [ ] Step 7b: Adapt File Inputs (if applicable) (requires reading docs) @@ -179,6 +180,8 @@ This classification determines: **Read [references/llm-services.md](reference/llm-services.md) and follow it completely for Step 5.** +Set the `suggested` model in `LLMServiceExtensionSpec.single_demand()` to the same model used in the original agent. + --- ## Step 6 – Error Handling diff --git a/skills/agentstack-wrapper/references/llm-services.md b/skills/agentstack-wrapper/references/llm-services.md index 14cece5ff..dce601755 100644 --- a/skills/agentstack-wrapper/references/llm-services.md +++ b/skills/agentstack-wrapper/references/llm-services.md @@ -24,3 +24,4 @@ See the [chat agent](https://github.com/i-am-bee/agentstack/blob/main/agents/cha - Do not skip the docs/examples and improvise imports or extension usage. - Do not read model/API key/base URL from env vars when LLM extension is available. - Do not rewrite `api_base` heuristically unless the official docs explicitly require it. +- Do not use a generic model as `suggested` — use the same model identifier as the original agent.