Skip to content

Remove dead AgentChatComponent members #8696

Closed

Description

@aglinxinyuan

Task Summary

AgentChatComponent has six members that nothing calls:

  • getToolResult
  • getToolOperatorAccess
  • hasOperatorAccess
  • closeDetailsModal
  • the private scrollToMessage
  • the messageInput @ViewChild

Introduced by #4020 (2025-11-25, "feat: introduce the LLM-based workflow copilot"). It added getToolResult, closeDetailsModal and messageInput; the chat template called the first two and never read messageInput. #4495 (2026-04-27) added the other three.

Usage removed by #4495 (2026-04-27, "feat(agent-service): add agent-service that manages LLM agents"). It moved the step-detail view into ReActStepDetailModalComponent, which has its own live copies of getToolResult / getToolOperatorAccess / hasOperatorAccess, and deleted the chat template's calls. The chat component kept, and even gained, copies nobody calls. scrollToMessage was never reachable: its only caller, scrollToStep, was fed by a stream with no producer, and #8613 deleted that caller.

This is a pure deletion with no behaviour change.

Task Type

  • Refactor / Cleanup

Activity

  1. added a commit that references this issue on Sep 27, 2026
    facdc21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions