1
0

feat: add new input processors (readline), add new figlet font

This commit is contained in:
2026-03-11 14:19:57 +01:00
parent 75bbdda37d
commit c9515a822d
5 changed files with 964 additions and 6 deletions

View File

@@ -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));