v2.2.0 – Iteration Management System and Workflow
·
30 commits
to main
since this release
What's new
Iteration Management System and Workflow
- Flag-based max reasoning steps – No in-thread message injection; a database flag controls when the thread is locked.
- Configurable limit – Max reasoning steps (1–20) in Settings → AI Provider, default 10.
- Info card when limit is reached – Card appears above the input with three options:
- Check NetSuite KB and continue – Clears the flag and sends a message to search NetSuite web resources, then continues.
- No, I'm fine – Clears the flag and unlocks the thread.
- Brute force it – Clears the flag and sends a message asking the assistant to continue.
- Thread locking – Input stays disabled until the user chooses an option; the card persists on reload.
- API –
GET /api/chat/[id]returnsmaxIterationsReached;POST /api/chat/[id]/max-iterationsclears the flag. - Database – Single migration adds
UserSettings.maxIterations(default10) andChat.maxIterationsReached(defaultfalse).
Full changelog: v2.1.0...v2.2.0