implement streamed commands

This commit is contained in:
zznty
2022-10-04 19:37:19 +07:00
parent 1e29719125
commit 39c3aa048d
3 changed files with 42 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
namespace TorchRemote.Models.Requests;
public record ChatCommandRequest(string Command);
public record ChatCommandRequest(string Command, bool Streamed = false, TimeSpan? StreamingDuration = null);