Skip to content

Remove unused members of ReportGenerationService #9084

Closed

Description

@aglinxinyuan

Task Summary

ReportGenerationService (frontend/src/app/workspace/service/report-generation/report-generation.service.ts) carries three leftovers that nothing uses:

  • the private field isAIAssistantEnabled
  • the injected http: HttpClient
  • the module-level constant AI_ASSISTANT_API_BASE_URL

Introduced by #2816 (2024-10-15, "Enhancing Report Generation by Adding Story-teller Ai based on Ai flag"), which added all three to this service. The HTTP calls that PR made live in AiAnalystService, not here.

Usage removed by: never used.

This is a pure deletion with no behaviour change.

Task Type

  • Refactor / Cleanup

Activity

  1. self-assigned this
    on Oct 22, 2026
  2. added a commit that references this issue on Oct 24, 2026
    9302a4c
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