Skip to content

fix StreamChatAsync and make an unit and integration test for it #18

fix StreamChatAsync and make an unit and integration test for it

fix StreamChatAsync and make an unit and integration test for it #18

Triggered via push February 8, 2025 22:34
Status Success
Total duration 1m 3s
Artifacts

run-tests.yml

on: push
Fit to window
Zoom out
Zoom in

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