From 8e430398d106b7dbd42880a7ccd94779e1433c34 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 5 Nov 2024 21:56:26 -0800 Subject: [PATCH] Update an error message --- shell/agents/Microsoft.Azure.Agent/AzureAgent.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/agents/Microsoft.Azure.Agent/AzureAgent.cs b/shell/agents/Microsoft.Azure.Agent/AzureAgent.cs index 7266b393..1b18f66a 100644 --- a/shell/agents/Microsoft.Azure.Agent/AzureAgent.cs +++ b/shell/agents/Microsoft.Azure.Agent/AzureAgent.cs @@ -194,8 +194,7 @@ public async Task RefreshChatAsync(IShell shell, bool force) if (inner is CredentialUnavailableException) { host.WriteErrorLine($"Failed to start a chat session: Access token not available."); - host.WriteErrorLine($"The '{Name}' agent depends on the Azure CLI credential to acquire access token. Please run 'az login' from a command-line shell to setup account."); - host.WriteErrorLine("Once you've successfully logged in, please run '/refresh' to start a new conversation"); + host.WriteErrorLine($"The '{Name}' agent depends on the Azure CLI credential to acquire access token. Please run 'az login' from a command-line shell to setup account. Once you've successfully logged in, run '/refresh' to start a new conversation."); return; }