diff --git a/src/Commands/GenerateCommitMessage.cs b/src/Commands/GenerateCommitMessage.cs index f3596588..c207786f 100644 --- a/src/Commands/GenerateCommitMessage.cs +++ b/src/Commands/GenerateCommitMessage.cs @@ -49,7 +49,7 @@ namespace SourceGit.Commands if (rs.IsSuccess) { _service.Chat( - _service.AnalyzeDiffPrompt, + _service.AnalyzeDiffPrompt, $"Here is the `git diff` output: {rs.StdOut}", _cancelToken, update => @@ -72,8 +72,8 @@ namespace SourceGit.Commands var responseBody = responseBuilder.ToString(); var subjectBuilder = new StringBuilder(); _service.Chat( - _service.GenerateSubjectPrompt, - $"Here are the summaries changes:\n{summaryBuilder}", + _service.GenerateSubjectPrompt, + $"Here are the summaries changes:\n{summaryBuilder}", _cancelToken, update => { diff --git a/src/Views/AIAssistant.axaml.cs b/src/Views/AIAssistant.axaml.cs index c86707a0..73fea708 100644 --- a/src/Views/AIAssistant.axaml.cs +++ b/src/Views/AIAssistant.axaml.cs @@ -2,18 +2,16 @@ using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; - using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; using Avalonia.Interactivity; using Avalonia.Media; using Avalonia.Threading; - +using AvaloniaEdit; using AvaloniaEdit.Document; using AvaloniaEdit.Editing; using AvaloniaEdit.TextMate; -using AvaloniaEdit; namespace SourceGit.Views {