Skip to content
Back to skills

1097 Troubleshooting Abc37a96

ASecurity

n8n caches the node instance. When you disconnect/reconnect models, the old `CascadeChatModel` instance may still have references to previous models.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
testinggonodetesting

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1097-troubleshooting_abc37a96 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1097 Troubleshooting Abc37a96?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1097 Troubleshooting Abc37a96
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1097-troubleshooting-abc37a96/badge)](https://www.skillsdirectory.com/skills/tools-only-1097-troubleshooting-abc37a96)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# n8n Integration Troubleshooting

## Issue: Seeing old model names in logs after reconnecting

### Root Cause
n8n caches the node instance. When you disconnect/reconnect models, the old `CascadeChatModel` instance may still have references to previous models.

### Solution
1. **Stop the workflow** in n8n
2. **Restart the workflow** (or restart n8n if that doesn't work)
3. **Look for initialization log**:
   ```
   ๐Ÿš€ CascadeFlow initialized
      PORT MAPPING:
      โ”œโ”€ TOP port (labeled "Verifier") โ†’ VERIFIER model: lazy-loaded (will fetch only if needed)
      โ””โ”€ BOTTOM port (labeled "Drafter") โ†’ DRAFTER model: [type] ([name])
   ```

   This shows which models are ACTUALLY connected.

### Verifying Correct Operation

**Expected logs when drafter is accepted:**
```
๐ŸŽฏ CascadeFlow: Trying drafter model (from BOTTOM port): ollama (gemma3:1b)
   ๐Ÿ“Š Simple quality check: confidence=0.75

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  โœ… FLOW: DRAFTER ACCEPTED (FAST PATH) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
   Model used: ollama (gemma3:1b)
   Confidence: 0.75 (threshold: 0.64)
```

**Expected logs when verifier is triggered:**
```
๐ŸŽฏ CascadeFlow: Trying drafter model (from BOTTOM port): ollama (gemma3:1b)
   ๐Ÿ“Š Simple quality check: confidence=0.50

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  โš ๏ธ  FLOW: ESCALATED TO VERIFIER (SLOW PATH)  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
   ๐Ÿ”„ Loading verifier model from TOP port (labeled "Verifier")...
   โœ“ Verifier model loaded: ollama (mistral:7b-instruct)
   โœ… Verifier completed successfully
   Model used: ollama (mistral:7b-instruct)
```

## Issue: "Only drafts getting accepted"

### Is this a problem?
**NO - This is correct behavior!**

With quality threshold 0.64:
- If drafter produces good responses โ†’ Quality check passes โ†’ Use cheap model (SAVE MONEY โœ…)
- If drafter produces poor responses โ†’ Quality check fails โ†’ Escalate to verifier

### When to adjust threshold

**See 100% drafter acceptance?**
- Your drafter is doing well for these queries
- Consider lowering threshold to 0.50-0.55 if you want stricter quality

**See 100% verifier escalation?**
- Drafter quality too low for these queries
- Increase threshold to 0.70-0.80 to accept more drafts
- Or use a better drafter model

### Testing Verifier Triggering

To force verifier usage, try:
1. Lower quality threshold to 0.90 (very strict)
2. Ask complex questions that drafter struggles with
3. Use a weaker drafter model

## Checking Model Connections

**Initialization log location:**
- n8n workflow logs (when workflow starts)
- Server console logs (if running n8n manually)

**Per-request logs:**
- Show in n8n execution logs
- Show actual model used: `Model used: [type] ([name])`

## Common Mistakes

โŒ **Connecting models to wrong ports**
- TOP port = Verifier (expensive, high quality)
- BOTTOM port = Drafter (cheap, tried first)

โŒ **Not restarting workflow after changing connections**
- Must restart for new models to be loaded

โŒ **Expecting verifier to be called every time**
- Verifier is ONLY called when drafter quality < threshold
- This is the cost-saving feature!

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.