import org.slf4j.event.Level
import java.io.IOException
import java.util.concurrent.atomic.AtomicLong
+import kotlin.random.Random
fun main() {
System.setProperty("logback.statusListenerClass", "ch.qos.logback.core.status.NopStatusListener")
}
install(CallId) {
- val counter = AtomicLong(0)
+ val counter = AtomicLong(Random.nextLong())
generate {
"call-${counter.incrementAndGet().toULong()}-${System.currentTimeMillis()}"
}
logger.info("Vector store update is complete")
}
- inner class Conversation(val nationId: Id<NationData>) {
+ inner class Conversation(private val nationId: Id<NationData>) {
private var assistantId: RobotAssistantId? = null
private var threadId: RobotThreadId? = null