Skip to content

Remove the unused scroll-to-step request stream from AgentService #8610

Description

@aglinxinyuan

Task Summary

AgentService's scroll-to-step request stream can never fire. The only producer, requestScrollToStep(), has no caller in production, so the subject never emits, the agent-chat subscriber never runs, and the private scrollToStep() it would call is unreachable.

History

Introduced by #4495 (2026-04-27) — "feat(agent-service): add agent-service that manages LLM agents", which shipped the full chain: subject, observable, producer, subscriber and scroll handler
Usage removed by never wired up — no file outside agent.service.ts has called requestScrollToStep at any point in the history. No UI control invokes it

Dead since it was written. The whole chain goes: the subject and observable, the producer, the agent-chat subscription, and the private scrollToStep it dispatches to.

Pure deletion, no behaviour change: −74 lines.

Task Type

  • Refactor / Cleanup

Activity

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