🐛 fix tokenLimit of undefined bug

This commit is contained in:
Nate Sesti 2024-01-12 10:59:57 -08:00
parent bfde3b58e5
commit f6fb22a3b2

View file

@ -226,7 +226,7 @@ const EditSlashCommand: SlashCommand = {
fullFileContents,
llm,
input,
params.tokenLimit
params?.tokenLimit
);
const [dedentedContents, commonWhitespace] =
dedentAndGetCommonWhitespace(contents);