Fixed some warnings
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using Luna.Agents.Abstractions;
|
||||
using Luna.Configuration;
|
||||
using Luna.Providers.Abstractions;
|
||||
@@ -38,7 +39,9 @@ public class LibrarianAgent(
|
||||
.Where(m => m.Role != ChatRole.System);
|
||||
}
|
||||
|
||||
public async IAsyncEnumerable<ChatResponseUpdate> ProcessStreamingAsync(IReadOnlyList<ChatMessage> messages, CancellationToken ct = default)
|
||||
public async IAsyncEnumerable<ChatResponseUpdate> ProcessStreamingAsync(
|
||||
IReadOnlyList<ChatMessage> messages,
|
||||
[EnumeratorCancellation] CancellationToken ct = default)
|
||||
{
|
||||
var chatOptions = new ChatOptions
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user