This commit is contained in:
2026-03-27 17:54:21 +09:00
parent 681472df58
commit 62e408230e
5 changed files with 84 additions and 47 deletions
+6 -3
View File
@@ -9,6 +9,9 @@ import ConfigTable.grade_4_profit
import ConfigTable.grade_5_buy
import ConfigTable.grade_5_profit
import ConfigTable.max_count
import Defines.DETAILLOG
import Defines.EMBEDDING_PORT
import Defines.LLM_PORT
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.runtime.*
@@ -93,7 +96,7 @@ fun initLogger(isDebug: Boolean) {
}
fun main() = application {
initLogger(AutoTradingManager.DETAILLOG)
initLogger(DETAILLOG)
val trayState = rememberTrayState()
var isWindowOpen by remember { mutableStateOf(false) } // 창의 표시 상태 관리
@@ -208,10 +211,10 @@ fun main() = application {
}
if (config.modelPath.isNotEmpty()) {
LlamaServerManager.startServer(binPath, config.modelPath,port = AutoTradingManager.LLM_PORT)
LlamaServerManager.startServer(binPath, config.modelPath,port = LLM_PORT)
}
if (config.embedModelPath.isNotEmpty()) {
LlamaServerManager.startServer(binPath, config.embedModelPath, port = AutoTradingManager.EMBEDDING_PORT)
LlamaServerManager.startServer(binPath, config.embedModelPath, port = EMBEDDING_PORT)
}
// 대시보드로 화면 전환