...
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
// 대시보드로 화면 전환
|
||||
|
||||
Reference in New Issue
Block a user