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