Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINOR FIX: Build Warning AIModelsClientTests #289

Conversation

BrianLParker
Copy link
Collaborator

Closes #288

return await this.apiClient.PostContentWithStreamResponseAsync(
relativeUrl,
content,
cancellationToken,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cancellation tokens should come at the very end because they are always optional.


public async ValueTask<Stream> PostCompletionRequestWithStreamResponseAsync(
ExternalCompletionRequest completionRequest,
CancellationToken cancellationToken)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a cancellation token parameter?

@hassanhabib
Copy link
Owner

Closing due to inactivity

@hassanhabib hassanhabib closed this Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MINOR FIX: AIModelsClient Test Warning
2 participants