mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-09-11 00:48:43 -06:00
Broke Apart Monolithic Agent into Linked Modules
This commit is contained in:
@@ -453,9 +453,16 @@ switch ($choice) {
|
||||
& $pythonExe -m venv $venvFolder
|
||||
}
|
||||
if (Test-Path $agentSourcePath) {
|
||||
# Remove Existing "Agent/Borealis" folder.
|
||||
Remove-Item $agentDestinationFolder -Recurse -Force -ErrorAction SilentlyContinue
|
||||
|
||||
# Create New "Agent/Borealis" folder.
|
||||
New-Item -Path $agentDestinationFolder -ItemType Directory -Force | Out-Null
|
||||
Copy-Item $agentSourcePath $agentDestinationFile -Force
|
||||
|
||||
# Agent Files and Modules
|
||||
Copy-Item "Data\Agent\borealis-agent.py" $agentDestinationFolder -Recurse
|
||||
Copy-Item "Data\Agent\agent_info.py" $agentDestinationFolder -Recurse
|
||||
Copy-Item "Data\Agent\agent_roles.py" $agentDestinationFolder -Recurse
|
||||
Copy-Item "Data\Agent\Python_API_Endpoints" $agentDestinationFolder -Recurse
|
||||
}
|
||||
. "$venvFolder\Scripts\Activate"
|
||||
|
Reference in New Issue
Block a user