fix: improve chatbot mode detection and recovery
Enhances detection of tutorial-style responses to catch small models that give
numbered instructions instead of using tools.
**New Detection Patterns:**
- Numbered lists (1., 2., 3. Open..., Create..., Navigate...)
- Sequenced steps (First..., Next..., Then...)
- Tutorial starters ('Open your terminal...', 'Navigate to...')
- How-to preambles ('Here's how you can...')
**Stronger Steering:**
- More explicit error message when chatbot mode is detected
- Clear examples of what NOT to do vs what TO do
- User-visible warning when auto-correction is triggered
This helps smaller models like llama3.2:3b stay in agent mode instead
of reverting to chatbot/tutorial behavior.
numbered instructions instead of using tools.
**New Detection Patterns:**
- Numbered lists (1., 2., 3. Open..., Create..., Navigate...)
- Sequenced steps (First..., Next..., Then...)
- Tutorial starters ('Open your terminal...', 'Navigate to...')
- How-to preambles ('Here's how you can...')
**Stronger Steering:**
- More explicit error message when chatbot mode is detected
- Clear examples of what NOT to do vs what TO do
- User-visible warning when auto-correction is triggered
This helps smaller models like llama3.2:3b stay in agent mode instead
of reverting to chatbot/tutorial behavior.
- SHA
a97c3af7ade0f5d5341357f7127a66f165d5f912- Parents
-
ee05471 - Tree
9cad6c4