Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This diff shows a change in the
Application.kt
file, specifically m…
…odifying the classes included in the Spring Boot component scan. The `AiTranslatorController` class is being removed from the explicit scan, while the `AssistantManager` class (presumably nested within `AiTranslatorController`) is being added. This change suggests a refactoring where the `AssistantManager` is now intended to be a standalone Spring-managed component, rather than being implicitly managed through its parent class `AiTranslatorController`. This could be due to a desire for greater control over the lifecycle and dependencies of the `AssistantManager`, or perhaps to facilitate testing or modularity. Since `AiTranslatorController` is no longer explicitly scanned, Spring will likely still create it if `AssistantManager` is injected into it using dependency injection. This change makes the `AssistantManager`'s Spring management more explicit.
- Loading branch information