Skip to content

[DOCS] Desktop: cancelled tool calls and conversation optimization in the transcript #1119

Closed

Description

@edenreich

Summary

The desktop transcript now shows two things it used to drop (inference-gateway/desktop#450 for inference-gateway/desktop#442). A tool call that never ran reads as cancelled instead of done, and a note marks where the CLI optimized a long conversation. The CLI sends both as AG-UI activities since inference-gateway/cli#1722 (infer v0.246.0).

Acceptance Criteria

  • desktop.md ("Chat and tool approval") says a tool card has a cancelled state, grey with a (cancelled) tag, distinct from done and failed. A tool call shows as cancelled when you stop the run before it produced a result (for example at its approval prompt), or when the CLI cancels it.
  • Document the "Conversation optimized - X to Y messages" note. It appears when the CLI compacts a long conversation before a run, which needs compact.enabled, a model whose context window is known, and the conversation past compact.auto_at percent. Link the CLI's conversation compaction docs.
  • Source: feat(transcript): show cancelled tool calls and conversation optimization desktop#450.

Activity

  1. added
    documentation
    on Nov 7, 2026
  2. added theissue type on Nov 7, 2026
  3. moved this to Todo in 2026on Nov 7, 2026
  4. edenreich commented on Nov 7, 2026

    @edenreich
    ContributorAuthor

    @claude can you work on this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Nov 7, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 1m 51s —— View job • docs/issue-1119-20261107-1856 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1119-20261107-1856?quick_pull=1&title=Issue%20%231119%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231119%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done

    • Read issue and desktop.md context
    • Documented the cancelled tool-card state (grey, (cancelled) tag, distinct from done and failed, both triggers)
    • Documented the "Conversation optimized - X to Y messages" note with its three requirements, linking the CLI's Compaction section
    • Noted the infer v0.246.0 floor and the older-CLI fallback
    • Validated: bun run lint:md, bun run format:check, bun run build all pass
    • Committed and opened PR docs(desktop): cancelled tool calls and optimization notes #1121

    Two new subsections in desktop.md under "Chat and tool approval": Cancelled tool calls and Conversation optimized notes. Per the repo convention I did not reference the source issues or PRs in the doc content.

    PR: #1121

    Skipped: bun run preview and a local visual inspection - this is content-only, no nav/SEO/theme change. Risk: the exact note wording ("Conversation optimized - X to Y messages") is taken from the issue, not read from the desktop source, so a mismatch in punctuation is possible.
    | Branch

  6. moved this from Todo to In progress in 2026on Nov 7, 2026
  7. moved this from In progress to QA in 2026on Nov 7, 2026
  8. moved this from QA to Done in 2026on Nov 8, 2026
  9. inference-gateway-releaser commented on Nov 8, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.24 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions