e6239515bd
When a user sends input, embed it, query L3 across all sessions, dedup against in-session turns, and record the retrieval as an event so replay is deterministic (invariant #9). Hits land in RouterState; context injection follows in a later slice. - Add L3MemoryRetrievedEvent + L3RetrievedHit (registered in eventModule) - RouterState.lastRetrievedMemory + reducer case; RouterTurn carries turnId - RouterConfig.retrievalK (default 5) - Harden L3 write path: runCatching + visible logging, cancellation re-thrown; event append stays ahead of the L3 write - Warn prominently when the non-durable in_memory L3 backend is selected
34 lines
1.4 KiB
Groovy
34 lines
1.4 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
id 'org.jetbrains.kotlin.plugin.serialization'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":core:tools")
|
|
implementation project(":core:events")
|
|
implementation project(":core:router")
|
|
implementation project(":core:inference")
|
|
implementation project(":core:approvals")
|
|
implementation project(":core:sessions")
|
|
implementation project(":core:config")
|
|
implementation project(":infrastructure:inference")
|
|
implementation project(":infrastructure:inference:commons")
|
|
implementation project(":infrastructure:inference:llama_cpp")
|
|
implementation project(":infrastructure:persistence")
|
|
implementation project(":infrastructure:router:turbovec")
|
|
implementation project(":infrastructure:tools")
|
|
implementation project(":infrastructure:tools:filesystem")
|
|
implementation project(":infrastructure:workflow")
|
|
implementation project(":core:artifacts")
|
|
implementation project(":core:artifacts-store")
|
|
implementation project(":infrastructure:artifacts-cas")
|
|
implementation "io.ktor:ktor-client-core:$ktor_version"
|
|
implementation "io.ktor:ktor-client-cio:$ktor_version"
|
|
implementation "io.ktor:ktor-client-content-negotiation:$ktor_version"
|
|
implementation "io.ktor:ktor-serialization-kotlinx-json:$ktor_version"
|
|
implementation "org.slf4j:slf4j-api:2.0.16"
|
|
}
|
|
|
|
tasks.named("koverVerify").configure { enabled = false }
|