....
This commit is contained in:
@@ -49,6 +49,9 @@ import kotlin.math.*
|
||||
// service/AutoTradingManager.kt
|
||||
typealias TradingDecisionCallback = (TradingDecision?, Boolean)->Unit
|
||||
object AutoTradingManager {
|
||||
val DETAILLOG = true
|
||||
val LLM_PORT = 13080
|
||||
val EMBEDDING_PORT = 13081
|
||||
private val scope = CoroutineScope(Dispatchers.Default + SupervisorJob())
|
||||
private var discoveryJob: Job? = null
|
||||
|
||||
@@ -418,10 +421,10 @@ object AutoTradingManager {
|
||||
val config = KisSession.config
|
||||
// LLM 서버 시작 (설정된 모델 경로 사용)
|
||||
if (config.modelPath.isNotEmpty()) {
|
||||
LlamaServerManager.startServer(binPath, config.modelPath,port = 8080)
|
||||
LlamaServerManager.startServer(binPath, config.modelPath,port = LLM_PORT)
|
||||
}
|
||||
if (config.embedModelPath.isNotEmpty()) {
|
||||
LlamaServerManager.startServer(binPath, config.embedModelPath, port = 8081)
|
||||
LlamaServerManager.startServer(binPath, config.embedModelPath, port = EMBEDDING_PORT)
|
||||
}
|
||||
KisWebSocketManager.connect()
|
||||
isSystemReadyToday = true
|
||||
|
||||
Reference in New Issue
Block a user