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

introduce a SemanticSimilarity provider model #179640

Merged
merged 4 commits into from Apr 10, 2023
Merged

Conversation

TylerLeonhardt
Copy link
Member

No description provided.

@TylerLeonhardt TylerLeonhardt self-assigned this Apr 10, 2023
@TylerLeonhardt TylerLeonhardt marked this pull request as ready for review April 10, 2023 22:35
@VSCodeTriageBot VSCodeTriageBot added this to the April 2023 milestone Apr 10, 2023
@@ -94,18 +94,21 @@ export function raceCancellationError<T>(promise: Promise<T>, token: Cancellatio
}

/**
* Returns as soon as one of the promises is resolved and cancels remaining promises
* Returns as soon as one of the promises resolves or rejects and cancels remaining promises
*/
export async function raceCancellablePromises<T>(cancellablePromises: CancelablePromise<T>[]): Promise<T> {
Copy link
Member

Choose a reason for hiding this comment

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

I think this is an improvement, thanks, but it is a behavior change so if you haven't already, make sure you take a look at the other places it's used and try to check whether that might be an issue

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah it's only used in one other place and I think based on the code it seems ok. @sandy081 FYI

@TylerLeonhardt TylerLeonhardt merged commit a0361ed into main Apr 10, 2023
7 checks passed
@TylerLeonhardt TylerLeonhardt deleted the tyler/cool-catshark branch April 10, 2023 23:07
@github-actions github-actions bot locked and limited conversation to collaborators May 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants