# Serve Dragon Finance 7B locally for OpenCode (Windows). # # .\serve-model.ps1 -Model C:\models\Dragon-Finance-7B-Q4_K_M.gguf param( [Parameter(Mandatory=$true)][string]$Model, [int]$Port = 8080, [int]$Ctx = 32768 ) if (-not (Test-Path $Model)) { Write-Error "no such file: $Model"; exit 1 } Write-Host "serving $Model on 127.0.0.1:$Port (ctx $Ctx)" llama-server ` -m $Model ` --host 127.0.0.1 --port $Port ` -c $Ctx ` -fa on ` -ctk q8_0 -ctv q8_0 ` -ngl 999 ` --jinja ` --alias dragon-finance-7b ` --metrics