mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[ai completion] JBAI-3547 Fix probable not logging scenario
Merge-request: IJ-MR-135936 Merged-by: Gleb Marin <Gleb.Marin@jetbrains.com> GitOrigin-RevId: 8f6e1eb94e2234dfd55a284a19ed506cad03bbb1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1f38d81dd7
commit
ae57c80650
@@ -29,7 +29,8 @@ class AnalysisLogger<M : MLModel<P>, P : Any>(
|
||||
|
||||
val patchOnBeforeStarted = mlSessionLogger.acquirePatchLogger(false)
|
||||
apiPlatform.coroutineScope.launch {
|
||||
sessionAnalyser?.onBeforeSessionStarted()?.let { patchOnBeforeStarted.logSession(it) }
|
||||
val analysis = sessionAnalyser?.onBeforeSessionStarted() ?: emptyList()
|
||||
patchOnBeforeStarted.logSession(analysis)
|
||||
}
|
||||
|
||||
return object : MLApproachListener<M, P> {
|
||||
|
||||
Reference in New Issue
Block a user