Skip to main content

Assistant Management Service

Service for managing AI assistant configurations and operations.

Classes

AssistantManagementService

Service for managing AI assistant configurations and operations.

Methods

check_assistant_status
check_assistant_status(self, project_path: pathlib.Path, assistant_name: str) -> str

Check if an assistant is already configured in the project.

Parameters:

  • project_path (Path, required) - Path to the project directory
  • assistant_name (str, required) - Name of the assistant to check

Returns: str

create_assistant_files
create_assistant_files(self, project_path: pathlib.Path, assistant_name: str, force: bool = False) -> bool

Create AI assistant files using the project manager.

Parameters:

  • project_path (Path, required) - Path to the project directory
  • assistant_name (str, required) - Name of the assistant to create files for
  • force (bool, optional) - Whether to overwrite existing files - Default: False

Returns: bool

get_files_to_create
get_files_to_create(self, assistant_name: str, project_path: pathlib.Path) -> list[str]

Get list of files that will be created for an assistant.

Parameters:

  • assistant_name (str, required) - Name of the assistant
  • project_path (Path, required) - Path to the project directory

Returns: list

get_status_text
get_status_text(self, status: str) -> str

Convert status to colored text.

Parameters:

  • status (str, required) - Status string ('configured', 'partial', or 'missing')

Returns: str

show_assistant_injection_values
show_assistant_injection_values(self, assistant_name: str) -> None

Show the injection point values for a specific assistant.

Parameters:

  • assistant_name (str, required) - Name of the assistant to show values for
show_assistant_status
show_assistant_status(self, project_path: pathlib.Path) -> None

Show the status of all available assistants.

Parameters:

  • project_path (Path, required) - Path to the project directory
show_injection_points_info
show_injection_points_info(self) -> None

Show information about injection points and their descriptions.