feat: add new input processors (readline), add new figlet font
This commit is contained in:
@@ -22,7 +22,6 @@ internal sealed class ReplLoop
|
||||
|
||||
public async Task RunAsync()
|
||||
{
|
||||
AnsiConsole.MarkupLine("[dim]Type your message, or use [bold]/help[/] to see commands.[/]");
|
||||
AnsiConsole.MarkupLine("[dim]Press [bold]Ctrl+C[/] to cancel the current response.[/]");
|
||||
AnsiConsole.WriteLine();
|
||||
|
||||
@@ -36,7 +35,8 @@ internal sealed class ReplLoop
|
||||
|
||||
while (true)
|
||||
{
|
||||
string input = ReadLine.Read("❯ ");
|
||||
AnsiConsole.Markup("[grey]❯ [/]");
|
||||
string input = InputProcessor.ReadLine("Type your message, or use [bold]/help[/] to see commands.");
|
||||
|
||||
if (string.IsNullOrWhiteSpace(input)) continue;
|
||||
|
||||
@@ -188,7 +188,6 @@ internal sealed class ReplLoop
|
||||
}
|
||||
|
||||
AnsiConsole.Write(new Rule().RuleStyle(Style.Parse("grey dim")));
|
||||
AnsiConsole.WriteLine();
|
||||
|
||||
_session.History.Add(new ChatMessage(ChatRole.Assistant, fullResponse));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user