Merge pull request #555 from max0n232/fix/windows-home-fallback

fix: add USERPROFILE fallback for Windows HOME resolution
This commit is contained in:
Tobias Lütke 2026-04-10 20:45:55 -04:00 committed by GitHub
commit b2ffd10cb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ import type {
// Configuration
// =============================================================================
const HOME = process.env.HOME || "/tmp";
const HOME = process.env.HOME || process.env.USERPROFILE || "/tmp";
export const DEFAULT_EMBED_MODEL = "embeddinggemma";
export const DEFAULT_RERANK_MODEL = "ExpedientFalcon/qwen3-reranker:0.6b-q8_0";
export const DEFAULT_QUERY_MODEL = "Qwen/Qwen3-1.7B";