Merge branch 'preview' into nate/mistral-prefilling

This commit is contained in:
Nate Sesti 2024-05-27 21:06:41 -07:00
commit 5462c4dfa1

View file

@ -302,6 +302,11 @@ async function intermediateToFinalConfig(
config.completionOptions,
config.systemMessage,
);
if (autocompleteLlm?.providerName === "free-trial") {
const ghAuthToken = await ide.getGitHubAuthToken();
(autocompleteLlm as FreeTrial).setupGhAuthToken(ghAuthToken);
}
} else {
autocompleteLlm = new CustomLLMClass(config.tabAutocompleteModel);
}