Skip to content

Commit

Permalink
Update an error message
Browse files Browse the repository at this point in the history
  • Loading branch information
daxian-dbw committed Nov 6, 2024
1 parent e3b215a commit 8e43039
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shell/agents/Microsoft.Azure.Agent/AzureAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8e43039

Please sign in to comment.