From f203baf9d83eb402ae525a75cf1ee9fd3fc7c4e8 Mon Sep 17 00:00:00 2001 From: dopeuni444 Date: Thu, 31 Jul 2025 13:19:22 +0400 Subject: [PATCH] Update system status to reflect global autopilot variable --- PowerShell_AI_Agent/scripts/main.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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