Skip to content

fix: tell the person when a reply stops at the step limit - #65

Merged
davidmckayv merged 1 commit into
CopilotKit:mainfrom
asasemahmed:fix/step-limit-reply
Sep 25, 2026
Merged

davidmckayv merged 1 commit into
CopilotKit:mainfrom
asasemahmed:fix/step-limit-reply

Conversation

@asasemahmed

Copy link
Copy Markdown
Contributor

What changed

When a chat reply needs more than 6 tool steps, the reply just stopped with no message. Now it ends with a short note: "I reached my step limit for this reply before finishing. Say “continue” and I’ll pick up where I left off." This applies to chat only.

Verification

  • New tests: a run cut off by the limit gets the note; runs the model finished itself don't.
  • Tried in the web app with an 8-page request: the note appeared after 6 pages.
  • pnpm typecheck passes.

@davidmckayv
davidmckayv merged commit 205cc38 into CopilotKit:main Sep 25, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants