This commit is contained in:
lun_admin 2026-04-08 08:23:39 +09:00
parent fed80636e7
commit 9037710ada
3 changed files with 7 additions and 5 deletions

View File

@ -84,8 +84,8 @@ fun getLlamaBinPath(): String {
"$basePath/mac-x64/llama-server" "$basePath/mac-x64/llama-server"
} }
// Windows NUC // Windows NUC
os.contains("win-n") -> { os.contains("win") -> {
"$basePath/win-x64/llama-server.exe" "$basePath/win-x64-n/llama-server.exe"
} }
else -> "$basePath/llama-server" else -> "$basePath/llama-server"
} }

View File

@ -567,8 +567,8 @@ val globalCallback = { completeTradingDecision: TradingDecision?, isSuccess: Boo
var waitTime = 0.2 var waitTime = 0.2
val H16 = LocalTime.of(16, 0) val H16 = LocalTime.of(16, 0)
val H18 = LocalTime.of(18, 0) val H18 = LocalTime.of(18, 0)
val H08M35 = LocalTime.of(8, 35) val H08M35 = LocalTime.of(8, 0)
val H08M30 = LocalTime.of(8, 30) val H08M30 = LocalTime.of(7, 50)
private fun runDiscoveryLoop(callback: TradingDecisionCallback) { private fun runDiscoveryLoop(callback: TradingDecisionCallback) {
discoveryJob = scope.launch { discoveryJob = scope.launch {
println("🚀 [AutoTrading] 발굴 루프 시작: ${LocalDateTime.now()}") println("🚀 [AutoTrading] 발굴 루프 시작: ${LocalDateTime.now()}")
@ -752,7 +752,7 @@ val globalCallback = { completeTradingDecision: TradingDecision?, isSuccess: Boo
lastForceCheckMinute = currentMinute // 실행 완료 기록 lastForceCheckMinute = currentMinute // 실행 완료 기록
} }
} }
else if((now.hour == 16 || now.hour == 17) && (currentMinute % 10 == 3)) { else if((now.hour == 8 || now.hour == 16 || now.hour == 17) && (currentMinute % 10 == 3)) {
if (lastForceCheckMinute != currentMinute) { if (lastForceCheckMinute != currentMinute) {
TradingLogStore.addAnalyzer( TradingLogStore.addAnalyzer(
" - ", " - ",

View File

@ -131,6 +131,8 @@ object LlamaServerManager {
env["GGML_VULKAN_MAX_NODES"] = "1" env["GGML_VULKAN_MAX_NODES"] = "1"
// DLL 로드 경로 강제 지정 (bin 폴더 내 dll 참조) // DLL 로드 경로 강제 지정 (bin 폴더 내 dll 참조)
val libraryPath = File(binPath).parentFile.absolutePath val libraryPath = File(binPath).parentFile.absolutePath
val currentPath = System.getenv("PATH") ?: "" val currentPath = System.getenv("PATH") ?: ""
env["PATH"] = "$libraryPath;$currentPath" env["PATH"] = "$libraryPath;$currentPath"