Skip to content

Commit

Permalink
TRELLO-2855 : fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
ssedoudbgouv committed Jan 11, 2025
1 parent a6af43c commit bd39632
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions app/loader/SignalConsoApplicationLoader.scala
Original file line number Diff line number Diff line change
Expand Up @@ -918,8 +918,6 @@ class SignalConsoComponents(
new Exception("This is a test Alert, used to check that Sentry alert are still active on each new deployments.")
)

companyUpdateTask.runTask()

// Routes
lazy val router: Router =
new _root_.router.Routes(
Expand Down
2 changes: 1 addition & 1 deletion app/orchestrators/AlbertOrchestrator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class AlbertOrchestrator(
Future.successful(None)
case _ =>
albertService
.findProblems(companyId, descriptions)
.findProblems(descriptions)
.recover { err =>
logger.error(s"Didn't get a result from Albert for company $companyId", err)
None
Expand Down
1 change: 0 additions & 1 deletion app/services/AlbertService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ class AlbertService(albertConfiguration: AlbertConfiguration)(implicit ec: Execu
}

def findProblems(
companyId: UUID,
selectedCompanyReportsDescriptions: Seq[String]
): Future[Option[AlbertProblemsResult]] = {
val prompt = AlbertPrompts.findProblems(selectedCompanyReportsDescriptions, maxPromptLength = 10000)
Expand Down

0 comments on commit bd39632

Please sign in to comment.