Skip to content

Commit b87270e

Browse files
authored
Use more concise spinner for 'Azure' agent (#247)
The status update message from Azure Copilot could be long, so use the more concise spinner to make sure all status messages can be shown properly.
1 parent 7231ba2 commit b87270e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

shell/AIShell.Integration/AIShell.Integration.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
<ItemGroup>
2424
<Content Include="AIShell.psd1;AIShell.psm1">
25-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
26-
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
25+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
26+
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
2727
</Content>
2828
</ItemGroup>
2929

shell/agents/Microsoft.Azure.Agent/AzureAgent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public async Task<bool> ChatAsync(string input, IShell shell)
101101
string query = $"{input}\n\n---\n\n{_instructions}";
102102
CopilotResponse copilotResponse = await host.RunWithSpinnerAsync(
103103
status: "Thinking ...",
104+
spinnerKind: SpinnerKind.Processing,
104105
func: async context => await _chatSession.GetChatResponseAsync(query, context, token)
105106
).ConfigureAwait(false);
106107

0 commit comments

Comments
 (0)