Skip to content

Commit f0bf9f7

Browse files
authored
fix(skill): set suggested model from original agent (#2371)
- 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 <ppenge@gmail.com>
1 parent 8c9db33 commit f0bf9f7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

skills/agentstack-wrapper/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ Task Progress:
111111
- [ ] Step 3: Add and Install Dependencies
112112
- [ ] Step 4: Create the Server Wrapper & Entrypoint
113113
- [ ] Step 5: Wire LLM / Services via Extensions (requires reading docs)
114+
- [ ] Step 5a: Set suggested model to match the model used in the original agent
114115
- [ ] Step 6: Implement Error Handling (requires reading docs)
115116
- [ ] Step 7: Map Forms (if applicable) (requires reading docs)
116117
- [ ] Step 7b: Adapt File Inputs (if applicable) (requires reading docs)
@@ -179,6 +180,8 @@ This classification determines:
179180

180181
**Read [references/llm-services.md](reference/llm-services.md) and follow it completely for Step 5.**
181182

183+
Set the `suggested` model in `LLMServiceExtensionSpec.single_demand()` to the same model used in the original agent.
184+
182185
---
183186

184187
## Step 6 – Error Handling

skills/agentstack-wrapper/references/llm-services.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ See the [chat agent](https://github.com/i-am-bee/agentstack/blob/main/agents/cha
2424
- Do not skip the docs/examples and improvise imports or extension usage.
2525
- Do not read model/API key/base URL from env vars when LLM extension is available.
2626
- Do not rewrite `api_base` heuristically unless the official docs explicitly require it.
27+
- Do not use a generic model as `suggested` — use the same model identifier as the original agent.

0 commit comments

Comments
 (0)