This commit is contained in:
lun_admin 2026-03-17 11:16:52 +09:00
parent 1eb89bcc3f
commit 3d4f4d7412
3 changed files with 3 additions and 3 deletions

View File

@ -296,7 +296,7 @@ object RagService {
// 문자열 치환 대신 안전한 JSON 객체 빌더 사용
val requestBodyJson = buildJsonObject {
put("model", "local-model")
put("temperature", 0.1) // 0.1 유지 (결정론적 응답)
put("temperature", 0.0) // 0.1 유지 (결정론적 응답)
put("top_p", 0.9)
put("max_tokens", 500)

View File

@ -435,7 +435,7 @@ object AutoTradingManager {
val myHoldings = balance?.holdings?.filter { it.quantity.toInt() > 0 }?.map { it.code }?.toSet() ?: emptySet()
val pendingStocks = DatabaseFactory.findAllMonitoringTrades().map { it.code }
if (remainingCandidates.isEmpty()) {
val stocks = StockUniverseLoader.loadUniverse()
val stocks = StockUniverseLoader.loadUniverse().shuffled().take(100)
println("✅ 총 ${stocks.size}개의 종목을 로드했습니다.")
stocks.forEach { (code, name) ->
// println("📌 로드됨: [$code] $name")

View File

@ -28,7 +28,7 @@ object LlamaServerManager {
val isWin = os.contains("win")
val (nGpuLayers, threads) = when {
os.contains("mac") && (arch.contains("arm64") || arch.contains("aarch64")) -> 99 to 8
isWin -> 40 to 12 // NUC Core Ultra 7: GPU 레이어 40 내외, 스레드 12 권장
isWin -> 16 to 6 // NUC Core Ultra 7: GPU 레이어 40 내외, 스레드 12 권장
else -> 0 to 4 // 인텔 맥 2017 등
}