chore: update startup scripts and .env.example for LLM profile feature
This commit is contained in:
14
start.ps1
14
start.ps1
@@ -58,7 +58,17 @@ if ($LASTEXITCODE -ne 0) {
|
||||
}
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# 4. Seed demo data if missing
|
||||
# 4. Ensure configs/ directory exists for LLM profile storage
|
||||
# ----------------------------------------------------------------
|
||||
if (-not (Test-Path "configs")) {
|
||||
New-Item -ItemType Directory "configs" | Out-Null
|
||||
Write-Host "[OK] Created configs/ directory for LLM profile storage." -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "[OK] configs/ directory ready." -ForegroundColor Green
|
||||
}
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# 5. Seed demo data if missing
|
||||
# ----------------------------------------------------------------
|
||||
if (-not (Test-Path "outputs\kba-knowledge-base-offline-baseline")) {
|
||||
Write-Host "[INFO] No run data found. Generating demo data..." -ForegroundColor Yellow
|
||||
@@ -73,7 +83,7 @@ if (-not (Test-Path "outputs\kba-knowledge-base-offline-baseline")) {
|
||||
}
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# 5. Pick an available port
|
||||
# 6. Pick an available port
|
||||
# ----------------------------------------------------------------
|
||||
$PORT = 8800
|
||||
$inUse = netstat -ano 2>$null | Select-String ":$PORT\s" | Select-String "LISTENING"
|
||||
|
||||
Reference in New Issue
Block a user