@@ -20,7 +20,7 @@ function Start-Build
2020 [string ] $Runtime = [NullString ]::Value,
2121
2222 [Parameter ()]
23- [ValidateSet (' openai-gpt' , ' az-agent ' , ' msaz' , ' interpreter' , ' ollama' )]
23+ [ValidateSet (' openai-gpt' , ' msaz' , ' interpreter' , ' ollama' )]
2424 [string []] $AgentToInclude ,
2525
2626 [Parameter ()]
@@ -66,7 +66,6 @@ function Start-Build
6666 $module_dir = Join-Path $shell_dir " AIShell.Integration"
6767
6868 $openai_agent_dir = Join-Path $agent_dir " AIShell.OpenAI.Agent"
69- $az_agent_dir = Join-Path $agent_dir " AIShell.Azure.Agent"
7069 $msaz_dir = Join-Path $agent_dir " Microsoft.Azure.Agent"
7170 $interpreter_agent_dir = Join-Path $agent_dir " AIShell.Interpreter.Agent"
7271 $ollama_agent_dir = Join-Path $agent_dir " AIShell.Ollama.Agent"
@@ -77,7 +76,6 @@ function Start-Build
7776 $module_out_dir = Join-Path $out_dir $config " module" " AIShell"
7877
7978 $openai_out_dir = Join-Path $app_out_dir " agents" " AIShell.OpenAI.Agent"
80- $az_out_dir = Join-Path $app_out_dir " agents" " AIShell.Azure.Agent"
8179 $msaz_out_dir = Join-Path $app_out_dir " agents" " Microsoft.Azure.Agent"
8280 $interpreter_out_dir = Join-Path $app_out_dir " agents" " AIShell.Interpreter.Agent"
8381 $ollama_out_dir = Join-Path $app_out_dir " agents" " AIShell.Ollama.Agent"
@@ -99,12 +97,6 @@ function Start-Build
9997 dotnet publish $openai_csproj - c $Configuration - o $openai_out_dir
10098 }
10199
102- if ($LASTEXITCODE -eq 0 -and $AgentToInclude -contains ' az-agent' ) {
103- Write-Host " `n [Build the az-ps/cli agents ...]`n " - ForegroundColor Green
104- $az_csproj = GetProjectFile $az_agent_dir
105- dotnet publish $az_csproj - c $Configuration - o $az_out_dir
106- }
107-
108100 if ($LASTEXITCODE -eq 0 -and $AgentToInclude -contains ' msaz' ) {
109101 Write-Host " `n [Build the Azure agent ...]`n " - ForegroundColor Green
110102 $msaz_csproj = GetProjectFile $msaz_dir
0 commit comments