This commit is contained in:
2026-01-21 18:30:03 +09:00
parent 3234581163
commit 56945a56d1
33 changed files with 235 additions and 51 deletions
+7 -2
View File
@@ -18,6 +18,7 @@ import ui.SettingsScreen
enum class AppScreen { Settings, Dashboard }
fun main() = application {
// 앱 실행 시 필요한 바이너리 경로 (실행 파일 위치)
val binPath = "./src/main/resources/bin/llama-server"
@@ -40,7 +41,8 @@ fun main() = application {
vtsAccountNo = it[ConfigTable.vtsAccountNo],
isSimulation = it[ConfigTable.isSimulation],
htsId = it[ConfigTable.htsId],
modelPath = it[ConfigTable.modelPath]
modelPath = it[ConfigTable.modelPath],
embedModelPath = it[ConfigTable.embedModelPath]
)
}
}
@@ -62,7 +64,10 @@ fun main() = application {
// LLM 서버 시작 (설정된 모델 경로 사용)
if (config.modelPath.isNotEmpty()) {
LlamaServerManager.startServer(binPath, config.modelPath)
LlamaServerManager.startServer(binPath, config.modelPath,port = 8080)
}
if (config.embedModelPath.isNotEmpty()) {
LlamaServerManager.startServer(binPath, config.embedModelPath, port = 8081)
}
// 대시보드로 화면 전환