Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function Start-Build
[string] $Runtime = [NullString]::Value,

[Parameter()]
[ValidateSet('openai-gpt', 'az-agent', 'msaz', 'interpreter', 'ollama')]
[ValidateSet('openai-gpt', 'msaz', 'interpreter', 'ollama')]
[string[]] $AgentToInclude,

[Parameter()]
Expand Down Expand Up @@ -66,7 +66,6 @@ function Start-Build
$module_dir = Join-Path $shell_dir "AIShell.Integration"

$openai_agent_dir = Join-Path $agent_dir "AIShell.OpenAI.Agent"
$az_agent_dir = Join-Path $agent_dir "AIShell.Azure.Agent"
$msaz_dir = Join-Path $agent_dir "Microsoft.Azure.Agent"
$interpreter_agent_dir = Join-Path $agent_dir "AIShell.Interpreter.Agent"
$ollama_agent_dir = Join-Path $agent_dir "AIShell.Ollama.Agent"
Expand All @@ -77,7 +76,6 @@ function Start-Build
$module_out_dir = Join-Path $out_dir $config "module" "AIShell"

$openai_out_dir = Join-Path $app_out_dir "agents" "AIShell.OpenAI.Agent"
$az_out_dir = Join-Path $app_out_dir "agents" "AIShell.Azure.Agent"
$msaz_out_dir = Join-Path $app_out_dir "agents" "Microsoft.Azure.Agent"
$interpreter_out_dir = Join-Path $app_out_dir "agents" "AIShell.Interpreter.Agent"
$ollama_out_dir = Join-Path $app_out_dir "agents" "AIShell.Ollama.Agent"
Expand All @@ -99,12 +97,6 @@ function Start-Build
dotnet publish $openai_csproj -c $Configuration -o $openai_out_dir
}

if ($LASTEXITCODE -eq 0 -and $AgentToInclude -contains 'az-agent') {
Write-Host "`n[Build the az-ps/cli agents ...]`n" -ForegroundColor Green
$az_csproj = GetProjectFile $az_agent_dir
dotnet publish $az_csproj -c $Configuration -o $az_out_dir
}

if ($LASTEXITCODE -eq 0 -and $AgentToInclude -contains 'msaz') {
Write-Host "`n[Build the Azure agent ...]`n" -ForegroundColor Green
$msaz_csproj = GetProjectFile $msaz_dir
Expand Down
32 changes: 0 additions & 32 deletions shell/agents/AIShell.Azure.Agent/AIShell.Azure.Agent.csproj

This file was deleted.

267 changes: 0 additions & 267 deletions shell/agents/AIShell.Azure.Agent/AzCLI/AzCLIAgent.cs

This file was deleted.

Loading