fix StreamChatAsync and make an unit and integration test for it #18
Annotations
6 warnings
test:
SpongeEngine.LMStudioSharp/LMStudioSharpClient.cs#L332
Async-iterator 'LMStudioSharpClient.CompleteTextStreamAsync(TextCompletionRequest, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
test:
SpongeEngine.LMStudioSharp/LMStudioSharpClient.cs#L332
Async-iterator 'LMStudioSharpClient.CompleteTextStreamAsync(TextCompletionRequest, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
test:
SpongeEngine.LMStudioSharp/LMStudioSharpClient.cs#L332
Async-iterator 'LMStudioSharpClient.CompleteTextStreamAsync(TextCompletionRequest, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
test:
SpongeEngine.LMStudioSharp/LMStudioSharpClient.cs#L332
Async-iterator 'LMStudioSharpClient.CompleteTextStreamAsync(TextCompletionRequest, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
test:
SpongeEngine.LMStudioSharp/LMStudioSharpClient.cs#L332
Async-iterator 'LMStudioSharpClient.CompleteTextStreamAsync(TextCompletionRequest, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
test:
SpongeEngine.LMStudioSharp/LMStudioSharpClient.cs#L332
Async-iterator 'LMStudioSharpClient.CompleteTextStreamAsync(TextCompletionRequest, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|