Skip to content

Remove unused agent service code #9727

Description

@aglinxinyuan

Task Summary

Remove code that nothing uses from the frontend's agent service and the agent panel. Behavior does not change:

  • AgentService: eight public methods have no caller outside the service's own spec: getAgent, getAgentWorkflowId, getAgentCount, isAgentConnected, getHeadId, getVisibleSteps, getReActStepsByOperatorAccess and getStepsByOperatorIds. Nothing reads the port-shape toggle (showPortShapes$, togglePortShapes and getShowPortShapes). AgentInfo's isBaselineMode and createdAt are set when an agent is mapped but never read. The ApiMessageResponse interface is unused, and the ModelMessage and WorkflowContent imports are never referenced.
  • AgentPanelComponent: its template declares two variables it never reads, the tab loop's i and the tab title's active.

Introduced by:

Usage removed by:

  • Never used.

This is a pure deletion with no behavior change.

Task Type

  • Refactor / Cleanup

Activity

  1. self-assigned this
    on Nov 27, 2026
  2. github-actions commented on Nov 27, 2026

    @github-actions
    Contributor

    👋 Thanks for opening this issue, @aglinxinyuan!

    It looks like the issue description doesn't quite follow our template yet:

    • This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.

    Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.

    You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.

  3. added a commit that references this issue on Nov 27, 2026
    e8c37e6
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