diff --git a/PowerShell_AI_Agent/scripts/main.ps1 b/PowerShell_AI_Agent/scripts/main.ps1 index 12a251e..4a80e18 100644 --- a/PowerShell_AI_Agent/scripts/main.ps1 +++ b/PowerShell_AI_Agent/scripts/main.ps1 @@ -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