diff --git a/src/initTiktokenizer.ts b/src/initTiktokenizer.ts index 6f3d8844..a10725c1 100644 --- a/src/initTiktokenizer.ts +++ b/src/initTiktokenizer.ts @@ -1,7 +1,9 @@ import { countTokens } from '#llm/tokens'; // node_modules is read-only for the sophia user in prod, so download in the docker build -countTokens('hi').catch((err) => { - console.error('Failed to download tiktoken model'); - console.error(err); -}).finally(() => console.log('Done')); +countTokens('hi') + .catch((err) => { + console.error('Failed to download tiktoken model'); + console.error(err); + }) + .finally(() => console.log('Done'));