Sampling capability (#7)

This commit is contained in:
Peder Holdgaard Pedersen 2025-01-05 20:05:32 +01:00 • committed by GitHub
commit 8c6dfd53c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -142,6 +142,7 @@ public sealed class StdioTransport : TransportBase
try
{
var json = JsonSerializer.Serialize(message, _jsonOptions);
Debug.WriteLine($"Sending message: {json}");
// Write the message followed by a newline
await _process!.StandardInput.WriteLineAsync(json.AsMemory(), cancellationToken);