Skip to content

Commit 2d96206

Browse files
committed
Fix indentation in the error message when handling HttpRequestException
1 parent 2b67582 commit 2d96206

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shell/agents/AIShell.Ollama.Agent/OllamaAgent.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ public async Task<bool> ChatAsync(string input, IShell shell)
250250
catch (HttpRequestException e)
251251
{
252252
host.WriteErrorLine($"{e.Message}");
253-
host.WriteErrorLine($"Ollama active model: \"{activeModel.Name}\"");
254-
host.WriteErrorLine($"Ollama endpoint: \"{_settings.Endpoint}\"");
255-
host.WriteErrorLine($"Ollama settings: \"{SettingFile}\"");
253+
host.WriteErrorLine($"Ollama active model: \"{activeModel.Name}\"");
254+
host.WriteErrorLine($"Ollama endpoint: \"{_settings.Endpoint}\"");
255+
host.WriteErrorLine($"Ollama settings: \"{SettingFile}\"");
256256
}
257257
finally
258258
{

0 commit comments

Comments
 (0)