Skip to content

Send a chat channel only the text after the agent's last tool call - #922

Merged
czpython merged 1 commit into
mainfrom
worktree-issue-916
Oct 14, 2026
Merged

czpython merged 1 commit into
mainfrom
worktree-issue-916

Conversation

@czpython

@czpython czpython commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Closes #916.

A chat reply on Slack, GitHub, or WhatsApp now carries only the text after the agent's last tool call. The notes the agent writes between tool calls, such as "Still running.", stay in the saved reply, and the Chat page still shows them.

When the agent writes nothing after its last tool call, or no text at all, the channel gets "The reply is unavailable. Send the message again to retry." Message.answer holds this rule and reads it from the saved body and the tool calls' text offsets.

@mintlify

mintlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
druks 🟢 Ready View Preview Oct 14, 2026, 5:48 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@czpython czpython changed the title Send a channel only the last text segment of a chat reply Send a chat channel only the text after the agent's last tool call Oct 14, 2026
@czpython
czpython merged commit 85198fe into main Oct 14, 2026
5 checks passed
@czpython
czpython deleted the worktree-issue-916 branch October 14, 2026 18:50

This branch was successfully deployed

1 active deployment
staging - docs — 3faaa62d Deployed Oct 14, 2026 by mintlify[bot]
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.

A chat reply glues the agent's notes between tool calls to its answer

1 participant