Update system status to reflect global autopilot variable

This commit is contained in:
dopeuni444 2025-07-31 13:19:22 +04:00
parent 0bf5f9cc20
commit f203baf9d8

View File

@ -462,7 +462,7 @@ function Main {
Write-Host "System Status:" -ForegroundColor Green
Write-Host " PowerShell Version: $($PSVersionTable.PSVersion)" -ForegroundColor White
Write-Host " Voice Recognition: $($config.Voice.Enabled)" -ForegroundColor White
Write-Host " Autopilot Mode: $($config.Autopilot.Enabled)" -ForegroundColor White
Write-Host " Autopilot Mode: $($script:AutopilotEnabled)" -ForegroundColor White
Write-Host " Memory Entries: $(($entries = Get-MemoryEntries -MemoryPath $memoryPath).Count)" -ForegroundColor White
}
else {
@ -483,6 +483,5 @@ function Main {
Write-Host "PowerShell AI Agent shutting down..." -ForegroundColor Green
}
# Execute main function with parameters
Main -Command $Command -Voice $Voice -Autopilot $Autopilot -Help $Help -ConfigPath $ConfigPath