Skip to content

v2.2.0 – Iteration Management System and Workflow

Choose a tag to compare

@unstackedapps-admin unstackedapps-admin released this 28 Jan 16:13
· 30 commits to main since this release
40c6a20

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.
  • APIGET /api/chat/[id] returns maxIterationsReached; POST /api/chat/[id]/max-iterations clears the flag.
  • Database – Single migration adds UserSettings.maxIterations (default 10) and Chat.maxIterationsReached (default false).

Full changelog: v2.1.0...v2.2.0