Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 11, 2026

The autoTriage/services/__init__.py module had an incomplete __all__ list, missing CopilotService and PromptLoader despite both being used throughout the codebase.

Changes

  • Added CopilotService import and export
  • Added PromptLoader import and export
  • Alphabetized __all__ list for consistency

Result

__all__ = [
    "CopilotService",
    "GitHubService",
    "LlmService",
    "PromptLoader",
    "TeamsService",
    "ConfigParser"
]

All service classes are now available via from services import <ServiceName> instead of requiring direct module imports.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add all export list to autoTriage/services/init.py</issue_title>
<issue_description>## Description

The \�utoTriage/services/init.py\ file is empty. For better module organization and explicit exports, it should define an _all_\ list that exports the public service classes.

Location

  • File: \�utoTriage/services/init.py\

Expected Fix

Add an _all_\ list that exports the main service classes:

  • \CopilotService\
  • \GitHubService\
  • \LLMService\
  • \PromptLoader\

Example

\\python
all = [
'CopilotService',
'GitHubService',
'LLMService',
'PromptLoader',
]
\\

Additional Context

This is a simple Python best practice fix - no domain knowledge required.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: mrunalhirve128 <112517572+mrunalhirve128@users.noreply.github.com>
Copilot AI changed the title [WIP] Add __all__ export list to init.py Add CopilotService and PromptLoader to services module exports Feb 11, 2026
Copilot AI requested a review from mrunalhirve128 February 11, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MOCK ISSUE - For testing Auto triage] Add __all__ export list to autoTriage/services/__init__.py

3 participants